Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread Jon Barnett
On Fri, 2003-12-05 at 08:15, Peter Luttrell wrote: > We're using JBoss3.2.1 with Jetty on RedHat 9 with Suns 1.4.2_01 vm. We > have a pretty heavy load. > > After roughly a week many of the boxes start to experience weird > problems where JBoss is unable to get what looks to be socket > connect

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread David Ward
Rod, Input appreciated and respected, however I think to help Peter we need to keep off the performance bunny hole. He never said performance was his problem. As a side note, you're right: what you tested (startup time) was far from a valid performance benchmark. JVMs intended to boost serve

RE: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
It's contagious, ain't it:) -Original Message- From: David Ward [mailto:[EMAIL PROTECTED] Sent: Thu 12/4/2003 8:28 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [JBoss-user] JBoss On Linux Rod, Inp

RE: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
Downloaded JRockit and launched a large J2EE application in debug mode. JBoss started in 1:24. Using Sun's JDK 1.4 JVM the same application started in 1:32. I would call that a noise-level improvement given JRockit is a commercial product focused on performance. Not a valid benchmark but then if

RE: AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
BTW, did you try the -Xincgc option for continuous GC on Sun's JVM? That would probably give you the same results you were seeing in JRockit. Depending on how you configure each you may not be looking at an apples to apples comparison. -Original Message- From: Rod Macph

RE: AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
"That's a pretty nice review..." Yes, in fact I expected to see a link to the storefront that would net him some micropayments: a nickel per view:) My only concern is that they are now under BEA's umbrella so the temptation to enhance or hobble when running or not running in weblogic is there

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread David Ward
Peter, I've read others' responses to your problems, and they all seem to be addressing the wrong thing: performance. What you describe does not sound like a performance problem (neither of speed nor memory management). You never said the app was slow, so why do you care about "SPECjAppServe

Re: AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Peter Luttrell
That's a pretty nice review. Does anyone else use JRocket on Linux? What are there experiences? .peter Christofer Dutz wrote: After testing a while with several VMs We found out that BEAs Jrockit is by far the best VM for usage with JBoss (Of course this is what we found out for our Tests

AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Christofer Dutz
After testing a while with several VMs We found out that BEAs Jrockit is by far the best VM for usage with JBoss (Of course this is what we found out for our Tests and is only an oppinion, so please don't shout too loud). Even if it does cost a little for a production licence, the performance and s

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread Werner Ramaekers
Peter, do a ps ax as root and you will probably see the following processes running : - cron.daily - updatedb - run-parts and another one i can't remember the name of. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-autotasks-anacron.html should help you to disable the job

Re: [JBoss-user] Container Responsibility for CMR Foreign Keys

2003-12-04 Thread Alexey Loubyansky
Key generation commands in 3.2.1 are different from those in 3.2.2. In 3.2.2 you should have for generated fields. Could check whether key generation work for you w/o mapping foreign key fields to the primary key fields? Hanson, Matthew wrote: Hi Just another FYI on the null primary key for

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread Peter Luttrell
Thanks for the tip. .peter Felipe Oliveira wrote: hi peter, i run jboss in the same exactly environment, but i don't seem to be running into these problems. we found the ibm jvm to be the best for our scenario...maybe you should take a look at it. felipe Peter Luttrell wrote: We're using J

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread Felipe Oliveira
hi peter, i run jboss in the same exactly environment, but i don't seem to be running into these problems. we found the ibm jvm to be the best for our scenario...maybe you should take a look at it. felipe Peter Luttrell wrote: We're using JBoss3.2.1 with Jetty on RedHat 9 with Suns 1.4.2_01 v

[JBoss-user] JBoss On Linux

2003-12-04 Thread Peter Luttrell
We're using JBoss3.2.1 with Jetty on RedHat 9 with Suns 1.4.2_01 vm. We have a pretty heavy load. After roughly a week many of the boxes start to experience weird problems where JBoss is unable to get what looks to be socket connections. In some cases, we cannot contact our mailserver, in other

Re: [JBoss-user] Problems using IBM JDK 1.3.1 with JBoss 3.2.1

2003-12-04 Thread Juha Lindfors
Have seen it too, that VM doesn't seem too stable. -- Juha On Thu, 4 Dec 2003, Kristian Köhler wrote: > Hi > > we encountered problems when running JBoss 3.2.1 with IBM JDK 1.3.1 on > Windows 2000. > The VM crashes when deploy/undeploy ears. > > Is anyone using IBM JDK 1.3.1 on Windows in conj

RE: [JBoss-user] Container Responsibility for CMR Foreign Keys

2003-12-04 Thread Hanson, Matthew
Hi Just another FYI on the null primary key for auto-increment primary key problem in jboss-3.2.2. Basically, the auto-increment keys don't seem to generate, and I get a null primary key error on creation. The suggestion was to add to jbosscmp-jdbc.xml for the key fields. I did that, and the f

Re: [JBoss-user] cmp primary key fields

2003-12-04 Thread Alexey Loubyansky
The same way as non primary key fields. Jeremy Rempel wrote: Hi, In jbosscmp-jdbc.xml how do I map primary key fields to a certain database field? I can map the regular fields easily. Thanks, Jeremy --- This SF.net email is sponsored by: IBM

Re: [JBoss-user] Unexpected Signal : 11

2003-12-04 Thread gabriel
Brian, this problem occurs only when it is running under Linux. When we changed our glib from glibc-2.3.2-4.80.6 to glibc-2.3.2-4.80.8 at RedHat 8 using up2date -u the problem got worse. I looked at http://developer.java.sun.com/servlet/SessionServlet?url=/developer/bugParade/bugs/4927116.html B

[JBoss-user] cmp primary key fields

2003-12-04 Thread Jeremy Rempel
Hi, In jbosscmp-jdbc.xml how do I map primary key fields to a certain database field? I can map the regular fields easily. Thanks, Jeremy begin:vcard fn:Jeremy Rempel n:Rempel;Jeremy email;internet:[EMAIL PROTECTED] tel;work:604-309-0866 x-mozilla-html:FALSE version:2.1 end:vcard

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
On Thu, 2003-12-04 at 17:22, Arvinder Singh wrote: > I *think* Danny implied: > > { > > // what ever your store is > private static store = > .getInstance(); > > > public void store(String key, Object value) throws RemoteException { > store.put(key, value); >

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Arvinder Singh
I *think* Danny implied: { // what ever your store is private static store = .getInstance(); public void store(String key, Object value) throws RemoteException { store.put(key, value); } } -Original Message- From: Pedro Salazar [mail

[JBoss-user] Web security & 403

2003-12-04 Thread Giovanni Formenti
Hi! I'd like to create a war with some security constraints! I modify login-config.xml and I create the database's tables: java:/MySqlDS SELECT PASSWORD FROM PRINCIPALS WHERE PRINCIPAL_ID=? SELECT ROLE,ROLEGROUP FROM ROLES WHERE PRINCIPAL_ID=? I create jboss-web.xml: java:/jaas/dafne And

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
On Thu, 2003-12-04 at 16:29, Yates, Danny wrote: > A Stateful Session Bean is specifically intended to have one instance > allocated to each client. > > Your best option is to use a Stateless Session Bean, which provides the > interface, and have it delegate to a POJO which maintains the state and

[JBoss-user] Nullpointer exception when starting JMS connection

2003-12-04 Thread Stephane Nicoll
Hello list, We have a strange issue when starting a QueueReceiver from a SFSB. We go this stacktrace org.jboss.mq.SpyJMSException: Cannot create a ConnectionReceiver; - nested throwable: (java.lang.NullPointerException) at org.jboss.mq.Connection.receive(Connection.java:1178) at o

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Yates, Danny
A Stateful Session Bean is specifically intended to have one instance allocated to each client. Your best option is to use a Stateless Session Bean, which provides the interface, and have it delegate to a POJO which maintains the state and is created using some variation of the Singleton pattern.

Re: [JBoss-user] [RESOLVED] What works in 3.0.4 hangs in 3.2.2

2003-12-04 Thread Jim Crossley
Jim Crossley <[EMAIL PROTECTED]> writes: > Linux RH 9, JVM 1.4.1_01 > > I have a webapp that uses JasperReports to generate a report from two > local-tx datasources working fine with JBoss 3.0.4, but hangs in > apparently random places within my servlet's service method when > deployed on 3.2.2 (e

[JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
Greetings, I wonder if there is a way to share information in a stateful session bean (which is not intended to persist for life rather just for the life time of the application server) between several clients. When I say several clients I mean I have a web service, a servlet, a ejb, or any other

Re: [JBoss-user] How to test virtual hosting

2003-12-04 Thread Gary S. Cuozzo
If you don't want to manage a nameserver, just define some entries in your hosts file on each system. Gary. On Thu, 2003-12-04 at 10:55, Christofer Dutz wrote: > You could setup your own nameserver in which you server what you want > and setup localhost als primary Nameserver ... this worked fo

Re: [JBoss-user] Two datasources, almost working...

2003-12-04 Thread Brian Styles
Hi Jarkko, thanks for the help. Unfortunately this didn't work. Even when I separated out the mysql file what seemed to happen was both ears used one database. I tested each application on its own (removing the other ear) and they both worked fine. I think what was happening was they were using

Re: [JBoss-user] How to test virtual hosting

2003-12-04 Thread Christofer Dutz
You could setup your own nameserver in which you server what you want and setup localhost als primary Nameserver ... this worked for me Chris Brian Styles wrote: Hi all, just wondering if there is any way to test virtual hosting without having to register the domain name! Eg, say I try to vir

[JBoss-user] How to test virtual hosting

2003-12-04 Thread Brian Styles
Hi all, just wondering if there is any way to test virtual hosting without having to register the domain name! Eg, say I try to virtual host my app on http://brian.test.com and I map this to some context-root, how do I then test that http://brian.test.com will work? I think that it's probably

RE: [JBoss-user] Unknown PUBLIC id in ejb-jar.xml: -//JBoss//DTD JBOSS//EN

2003-12-04 Thread Bruce Ashton
> > Try with this: > > "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";> > > > Rafal That gets pretty much the same error, Unknown PUBLIC id in ejb-jar.xml: -//JBoss//DTD JBOSS 3.2//EN When I run dos2unix It always tells me, could not open /dev/kbd to get keyboard type US keyboard assumed

RE: [JBoss-user] Container Responsibility for CMR Foreign Keys

2003-12-04 Thread Hanson, Matthew
Hi! Yes, the pk columns have been created with the identity attribute. FYI - the key generation did work properly when the app was deployed to 3.2.1. It's just that w/3.2.1, I had to do some inefficient fk setting that I hope to avoid with the 3.2.2 config option. Regards! Matt Hanson -Ori

Re: [JBoss-user] Unknown PUBLIC id in ejb-jar.xml: -//JBoss//DTD JBOSS//EN

2003-12-04 Thread Rafal Kedziorski
At 13:29 04.12.2003, Bruce Ashton wrote: I have a deployment issue that shows up on Unix (Solaris) but not on Windows. I have an ear file that contains a number of enterprise beans each in its own jar file. When I attempt to deploy the ear file it will deploy some of the enterprise beans, but invar

[JBoss-user] Unknown PUBLIC id in ejb-jar.xml: -//JBoss//DTD JBOSS//EN

2003-12-04 Thread Bruce Ashton
I have a deployment issue that shows up on Unix (Solaris) but not on Windows. I have an ear file that contains a number of enterprise beans each in its own jar file. When I attempt to deploy the ear file it will deploy some of the enterprise beans, but invariably fail on at least one with the err

Re: [JBoss-user] how to run more then one instance in jboss3.2

2003-12-04 Thread Marek Lange
Anil Kumar wrote: Hi i'm try to port my application from weblogic 6.1 to Jboss 3.2.In my application i have three server instance running.Plz let me know how this is possible to run more then one instances in Jboss 3.2. my mail address [EMAIL PROTECTED] Of course, it is possible. You could use t

[JBoss-user] JMS scheduled redelivery

2003-12-04 Thread stscit04
Hi, I am using Jboss 3.2.2 and a MDB as JMS destination. The MDB should take a message from the queue, process it and sometimes (if processing fails) put it back into the queue. Is it possible to tell JMS that I want to receive the message from the queue again after a period of time? Otherwise I

[JBoss-user] Problems using IBM JDK 1.3.1 with JBoss 3.2.1

2003-12-04 Thread Kristian Köhler
Hi we encountered problems when running JBoss 3.2.1 with IBM JDK 1.3.1 on Windows 2000. The VM crashes when deploy/undeploy ears. Is anyone using IBM JDK 1.3.1 on Windows in conjunction with JBoss 3.2.1? Thanks Kristian --- This SF.