I'm trying something different...to try to solve the same problem.and am
using Oracle8.
I have a trigger on the table set to fire "before INSERT" and set the id to
the mySqeunce.nextval. But this doesn't seam to be working. On the entity
bean that I get back i call getId and Jboss throws this exce
tion and it should be committed
there instead...
Hope this will save you some of the painful time I had to go through if
you decide to go this route.
David
--
Luttrell, Peter escribió::
> Has anyone had experience storing large pdfs with jboss, say ~5mbs each?
>
> I would like to do
that :( Are there any other ways to get a list of active users from the
JAAS LoginContext?
Cheers,
Bernhard
-Ursprüngliche Nachricht-
Von: Luttrell, Peter [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 9. Januar 2003 17:45
An: '[EMAIL PROTECTED]'
Betreff: RE: [JBoss-user] List
I'm using CMP entity beans, which means writing all that custom sql to
handle BLOBs isn't possible.
I switched to using MySQL and 10 minutes later everything worked perfectly.
All i had to do was point my ejbs at MySQL and set the types for MySQLs
type.
-Original Message-
From: Daniel
I've done a very similar solution. I had problems getting the
HttpSessionListener to work so i used the HttpSessionAttributeListener
instead. This meant that my solution was Jetty specific but in the end, that
was ok.
Here's the code, stripped of exception handling and such:
public class HttpSess
Is there a way to control the
deploy order for ejbs?
Such as the dependency declaration with
MBeans?
I have a MDB that is tied to a
queue. It depends on 4 entity beans. If a message is written to the queue when
my MDB is not deployed, and then i deploy it. It loads the MDB first, which
im
JBossCMP.pdf (in the paydocs) Chapter 6 is your best source of reference.
Till then take a look at \docs\dtd\jbosscmp-jdbc_3_0.dtd.
I believe your answer lies somewhere in the
subelements.
This may answer what you've asked for, but i'm not sure it will solve your
actual problem.
enjoy.
.peter
Is there a way to control the
deploy order for ejbs?
Such as the dependency declaration with
MBeans?
thanks.
.peter
This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the inten
-user] Store large pdfs with JBoss
Write a JCA adaptor for a file based persistent
store.
Scott StarkChief Technology
OfficerJBoss Group, LLC
- Original Message -
From:
Luttrell, Peter
To: '[EMAIL
h JBoss
I've always done it with the filesystem. The
database just stores the path to the file. Typically you establish
some rules for the filesystem store (retention time, max space, maybe use
quotas) and have it owned by whatever user the app server runs
as.
Has anyone had experience
storing large pdfs with jboss, say ~5mbs each?
I would like to do it with
Oracle and BLOBs, but i've read that there's problems with the drivers and jboss
and it doesn't look like it will be possible.
Has anyone done with with any
other database?
Does anyone h
Does anyone know how to get get
BLOBs working in Oracle? I need to store some larger pdfs in the db and some of
the bytes in the file are causing a causing a problem when stored as a varchar
or CLOBs.
I'm using Oracle9i and
JBoss3.0.4. I have a CMP field of type Object.
I have setup my
MBeanServer via the RMIAdaptor.
You are looking for a non-external usage example
of the MBeanServer?
Scott StarkChief Technology
OfficerJBoss Group, LLC
- Original Message -
From:
Luttrell, Peter
To: '[
Cool,
Thanks.
We should probably
see about weaving that into the jboss3 book.
.peter
-Original Message-From: Greg Turner
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 13,
2002 5:23 PMTo: [EMAIL PROTECTED]Subject:
Re: [JBoss-user] Lookup MBeanPeter,For use in
yo
I have a custom
JMX MBean.
What is the
'correct' way to look it up for use in my apps (webapps if it
matters)?
I know i could
manually bind it the jndi tree, or create a singleton like accessor method, but
what is considered the 'correct' way to access the bean?
thanks.
.peter
Thi
You might find interesting a couple of threads i've started over the last
couple of weeks on this list. In one, i included code to benchmark the cache
performance.
.peter
> -Original Message-
> From: Eric Kaplan [mailto:eric.kaplan@;armanta.com]
> Sent: Monday, November 11, 2002
OIL (jndi=ConnectionFactoyr) can be a bit touchy. Make sure that the jars
are the exact same version with the server. Also various different jdk
versions could be a problem.
If you are more interested in reliablity vs performance then use RMI
instead. I think the jndi name is RMIConnectionFactory
Original Message-From: Luttrell, Peter
[mailto:[EMAIL PROTECTED]]Sent: Friday, November 08,
2002 6:18 PMTo:
'[EMAIL PROTECTED]'Subject: RE: [JBoss-user] User
Monitoring
Ah, a part of
the servlet api i haven't yet explored. I tried it and it didn't
quite wor
ent().toString()
);
} } else
{
System.out.println( "getSession() returned null."
); }
}}
-----Original Message-From: Jason Westra
[mailto:[EMAIL PROTECTED]]Sent: Friday, November 08, 2002 5:23
PMTo: [EMAIL PROTECTED]Subject: RE:
[JBo
This sounds
interesting. Presumably I can get the UserPrincipal somehow
right?
Where do i
get more info on HttpBindingListener? It doesn't appear to be a Jboss class, nor
a j2ee class.
Did you mean
HttpSessionListener?
thanks.
.peter
-Original Message-From: Jason Westra
The comparison does become apples to oranges once you swap the os and
hardware. My tests were all on w2k p41.7ghz 512mbs RDRam, jdk1.4.1_01.
Weblogic I think uses it's own copy of the jre which i think is something
like 1.3.1.
You are correct, i am using a completely unmodified jboss3.0.4 install
Over the last
couple of weeks i started a couple threads about CMP performance in JBoss. Bill
asked for comparison with what Weblogic can do, so i got my test case to work
with it and the results speak for themselves.
-> Weblogic 7
is 330% to 715% faster then JBoss3.0.4 in the one test t
is is open source. Dain spent countless hours creating the damn thing...
Maybe a little bit of your time in OptimizeIt helping the cause would kill
you... But I doubt it.
> From: "Luttrell, Peter" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 7 Nov 2002
l, it should be fast then. Now is when you fire up OptimizeIt and
findout what part of my code is wasting all that time.
-dain
Luttrell, Peter wrote:
> No i did not see that email.
>
> I am using commit option A. The first time that I run through all beans,
the
> main ones as well as
, 2002, at 06:37 AM, Luttrell, Peter wrote:
> Nope it's defiantly cached.
>
> The first time it takes almost 12,000ms to build the beans. Yes that
> is 10
> times slower...course it does have to initiate the db connections, and
> the
> db isn't very fast.
>
eventually be cached so it will be
fast. In future release the readahead will be more flexible.
-dain
Luttrell, Peter wrote:
> Changing the readahead strategy should not change the results i've
> posted, as i run though the beans once, hense they are loaded.
>
> So back to the
is set to
on-load
-Original Message-From: Luttrell, Peter
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 05,
2002 4:00 PMTo:
'[EMAIL PROTECTED]'Subject: [JBoss-user] CMRs are
Slow (was: Entity Bean Performance Tuning Help)
The "Entity
Bean P
The "Entity Bean
Performance Tuning Help" thread went off in various different directions. The
thread begged a sample and a little more detail as to what was slow. I've
identified the problem to be (CMRs) and provided a full sample
(attached).
Lets rehash what
i'm testing:
The code
nt: Monday, November 04, 2002 7:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help
Luttrell, Peter wrote:
> It is faster. I tried it in response to danch's message early in the
thread.
>
> Thus I have the same question (which no one commented o
s still very long >11,000 ms for
>the exact same code and data...course a bit of this is creating db pool
>connections.
>
>.peter
-Original Message-
From: Dain Sundstrom [mailto:dain@;daingroup.com]
Sent: Monday, November 04, 2002 5:10 PM
To: [EMAIL PROTECTED]
Subject:
My sysadmin has
one large grip with JBoss: There is no way to tell who is using a webapp at a
particular time, which he claims is possible with Weblogic.
I'm using Jetty,
if i turn on the metrics, i can ascertain how many sessions are active (not
timed out). Does anyone know how i can figu
nificantly faster
(lean and mean, so to say, but no work flow component etc.).
Regards
Georg
-Original Message-
From: [EMAIL PROTECTED]
[mailto:jboss-user-admin@;lists.sourceforge.net] On Behalf Of Luttrell,
Peter
Sent: Tuesday, October 29, 2002 17:39
To: '[EMAIL PROTECTED]'
Subj
I was using read-ahead, as it's on by default.
See original posting.
-Original Message-
From: Emerson Cargnin - SICREDI Serviços
[mailto:emersonc@;sicredi.com.br]
Sent: Tuesday, October 29, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help
Bills suggestion was that the dataobject creation was the problem. Which i
would agree with based on the trace i had put in.
Bill also suggested that it was my code, which i don't think is the case. I
could be wrong ~ can anyone suggest how i can optimize this constructor:
public MyValueObject(So
David,...).
>
> Bill Burke did some performance tests using ECPerf. Maybe he can
> report a bit on the results.
>
> Regards
> Georg
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:jboss-user-admin@;lists.sourceforge.net] On Behalf Of Luttrell,
&
(Dain,
> Bill, David,...).
>
> Bill Burke did some performance tests using ECPerf. Maybe he can
> report a bit on the results.
>
> Regards
> Georg
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:jboss-user-admin@;lists.sourceforge.net] On Behalf O
db pool
connections.
.peter
-Original Message-
From: Dan Christopherson [mailto:danch@;nvisia.com]
Sent: Monday, October 21, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help
Luttrell, Peter wrote:
> basically pass in a reference to the e
Has anyone had success running
JBoss on Solaris?
I just installed jboss3.0.3 and
jdk1.4.1_01 on Solaris. Before changing anything but the JAVA_HOME i started and
stopped JBoss.
When it stops i get a Cannot
Connection Socket Exception from the Hypersonic service. This happens
repeatedly.
Does anyone have a script to
run JBoss3.x on Solaris?
I know it comes with one for
redhat, but i'd rather not go through modifing it if someone already
has.
thanks.
.peter
This transmission contains information solely for intended recipient and may be privileged, confidential and/o
f you
want to look...
On Thu, Oct 24, 2002 at 10:00:09AM -0500, Luttrell, Peter wrote:
> Is there a way to reduce latency between 2 boxes connected with a 4 foot
> crossover cable? Seams to me that this should provide the highest
throughput
> possible
>
> So are you basically s
heers,
Sacha
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Luttrell,
> Peter
> Envoyé : jeudi, 24 octobre 2002 17:00
> À : '[EMAIL PROTECTED]'
> Objet : RE: [JBoss-user] JBo
Is there a way to reduce latency between 2 boxes connected with a 4 foot
crossover cable? Seams to me that this should provide the highest throughput
possible
So are you basically saying that ~1500 messages per second is the fastest
that jbossmq can do?
Did you see my message about hanging on
[mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Luttrell,
> Peter
> Envoyé : jeudi, 24 octobre 2002 17:00
> À : '[EMAIL PROTECTED]'
> Objet : RE: [JBoss-user] JBossMQ Perforamance
>
>
> Is there a way to reduce latency between 2 boxes connected with a
that would explain the network utilization as all messages i'm working with
are really small.
with a very similar size 'message' i tried 2 additional tests with raw
sockets. it's been a while since i've done work with sockets directly...so
it's quite possible the much could be done to improve this
OIL2 supported?
On Tue, Oct 22, 2002 at 11:26:54AM -0500, Luttrell, Peter wrote:
>
> I assume that all I need to change is from this:
>
> name="jboss.mq:service=InvocationLayer,type=OIL">
> optional-attribute-name="Invoker"
I assume that all I need to change is from this:
jboss.mq:service=Invoker
ConnectionFactory
XAConnectionFactory
8090
6
true
to this:
jboss.mq:service=Invoker
ConnectionFactory
XAConnectionFactory
8090
6
true
If this is correct t
I have something that is taking
longer then I would like and am trying to tune jboss to reduce the time it
takes.
My test scenario is as
such:
JBoss3.0.3 on
jdk1.4.1_01
1 2.0 CMP Enity bean with about
10 fields and 3 relationships.
I'm using commit-option A so
all beans should be cache
My app runs on a slow database.
To compensate i have a longer-then-normal bean-cache lifetime and use
commit option A - thus
once they are loaded, they are always in cache.
This works great except for
finder methods, because they hit the database to select ids based on query
parameters.
I would like to totally contain my
deployment to 1 ear file.
Does anyone know how to include the
oracle-service.xml file and drivers.jar in an ear file?
I tried putting the
oracle-service.xml file into the ear's meta-inf and the drivers.jar as a
module.java in the application.xml, but JB
No I was never able to figure it out. It only happens sporadically though.
No one ever responded my messages either.
.peter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 1:46 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBossMQ
I just switched from using
Tomcat to Jetty with all work (JBoss3.0.2 on w2k).
I have noticed that hot
deployments no longer work of webapps!
Here's the error that I get:
HTTP ERROR: 500 jzentry == 0, jzfile = 199988168, total = 56,
name = C:\Documents and Settings\\Local
Setting
Is there going to be a
JBoss3.0.1 + Tomcat build posted to sourceforge and
jboss.org?
In the past the tomcat
integration builds have been posted about a day after the jetty releases, but
not in this case. Does this represent a change in direction for tomcat
releases?
There is another th
sday, July 31, 2002 11:13 AM
To: Luttrell, Peter
Subject: Re[2]: [JBoss-user] JBossCMP Change Column Names in CMR
AFAIK, DD's are correct (with my remark). Do you really have in the
beans abstract accessors for cmr users and roles?
Wednesday, July 31, 2002, 6:47:55 PM, you wrote:
LP> I a
2 11:13 AM
To: Luttrell, Peter
Subject: Re[2]: [JBoss-user] JBossCMP Change Column Names in CMR
AFAIK, DD's are correct (with my remark). Do you really have in the
beans abstract accessors for cmr users and roles?
Wednesday, July 31, 2002, 6:47:55 PM, you wrote:
LP> I actually tried
I actually tried that and it didn't work either.
The only difference is that instead of complaining that it couldn't find
"roles", now it complains that it can't find "users".
Any other ideas?
thanks.
.peter
-Original Message-
From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
Sent: Wed
This line appeared right before JBoss started puking error messages:
2002-07-24 09:30:21,154 DEBUG
[org.jboss.mq.il.oil.OILClientILService]Closing receiver connections on
port: 2464
But why would receiver connections be suddenly closed?
What is port 2462? I can't seam to find it in any
I let jboss sit for about 20 hours and when i came back it was constantly
dumping the following to the console:
2002-07-24 11:00:05,060 WARN [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Connection Failed
at org.jboss.mq.Connection.asynchFailure(Connection
Title: Message
Excellent.
thanks.
.peter
-Original Message-From: Sacha Labourey
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 01,
2002 3:24 AMTo: [EMAIL PROTECTED]Subject:
RE: [JBoss-user] Classloader Question
Yes,
both EAR will share a common struts.jar "thanks" to the
lues into a not-null fields. All pk members must be not-null
(required by the SQL spec) and all primitive values must be not-null
(Java primitives can't be null).
-dain
Luttrell, Peter wrote:
> actually i have, I just omitted it in the example.
> it definiatly compiles.
>
> .
2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR
fields
You have not implemented equals in your pk class. That code shouldn't
even compile?
-dain
Luttrell, Peter wrote:
> I have an entity bean with a compound primary key, where on
ields
You have not implemented equals in your pk class. That code shouldn't
even compile?
-dain
Luttrell, Peter wrote:
> I have an entity bean with a compound primary key, where one of the
> fields is a cmr field. The entity bean works perfectly after the first
> deployment. I can
You have not implemented equals in your pk class. That code shouldn't
even compile?
-dain
Luttrell, Peter wrote:
> I have an entity bean with a compound primary key, where one of the
> fields is a cmr field. The entity bean works perfectly after the first
> deployment. I can s
I have an entity bean with
a compound primary key, where one of the fields is a cmr field. The entity
bean works perfectly after the first deployment. I can set primary key, as well
as do lookups and such. But after I redeploy (or restart) I get the following
error, whenever i attempt to fin
Title: Message
both levels. since the
JaasSecurityManager is used for authentication and authorization for
both.
i wrote my own
LoginModule that verifies name, password and also an account lock (specific
to my app) in order to authorize the user. So the following scenario doesn't
work:
How do you disable the
authentication cache in the
JaasSecurityManager?
This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and d
How do you disable the
authentication cache in the JaasSecurityManager?
Setting the DefaultCacheTimeout
attribute to 0 or -1 doesn't work (in fact doing such results in all requests
coming back as the 403 error page).
If the answer is to set the
AuthenticationCacheJndiName to something,
66 matches
Mail list logo