Re: [JBoss-user] JBoss Under Linux Crashes..
When auto-deploy tries to load a jar (ejb) it will seg fault. This does not happen if I drop the jar in the deploy directory after JBoss has loaded. What is the difference when doing that? The jar in question does contain: ejb-jar.xml, jboss.xml and jaws.xml If I load JBoss and then drop the jar in the deploy directory everthing works fine. If I have the jar in the deploy directory before starting JBoss I get the following error: ./run.sh: line 27: 14855 Segmentation fault java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ Hi, Take a look to the Sun's JDK 1.3.1 Installation HowTo on Linux, Known Problems section ( http://java.sun.com/j2se/1.3/install-linux-sdk.html#problems ) , to the second item in the list. Maybe this is your problem. Let me know if this changed something ... Hope this helps, Remus. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Under Linux Crashes..
JBoss users group and Remus, I am using Mandrake 8.0 and the jdk1.3.1 rpm for RedHat. I never read that file and didn't know it existed. I thought it was related to JBoss in some way, but I was wrong. After setting ulimit -s 2048 (as the docs suggest) my problem went away. I thought Mandrake 8 was a RedHat 7.1 image with some added pretty extras. I guess it is a 7.0 image instead. (no clue really, just a guess) Anyway, I am sorry to bother this group with this question as it was not related to JBoss. The problem is solved and I thank you all kindly. Andy Zeneski [EMAIL PROTECTED] Hi, Take a look to the Sun's JDK 1.3.1 Installation HowTo on Linux, Known Problems section ( http://java.sun.com/j2se/1.3/install-linux-sdk.html#problems ) , to the second item in the list. Maybe this is your problem. Let me know if this changed something ... Hope this helps, Remus. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Under Linux Crashes..
Interesting... I use RedHat 7.1 (2.4.2-2 kernel) with Sun JDK 1.3.1-b24/HotSpot Server VM, with JBoss-2.2.2_Tomcat3.2.2 AND JBoss2.4.0_Tomcat3.2.3 with no problems. BTW, I also upgraded my libsafe.so version from 1.3 to 2.0. I have never seen the problem you're experiencing, even before I upgraded my libsafe. Just a data point from a fellow Linuxer... David -- Andy Zeneski wrote: When auto-deploy tries to load a jar (ejb) it will seg fault. This does not happen if I drop the jar in the deploy directory after JBoss has loaded. What is the difference when doing that? JBoss Version: 2.2.2 Tomcat Version: 3.2.2 OS : Linux JVM: Sun 1.3.1-b24 The jar in question does contain: ejb-jar.xml, jboss.xml and jaws.xml If I load JBoss and then drop the jar in the deploy directory everthing works fine. If I have the jar in the deploy directory before starting JBoss I get the following error: [Auto deploy] Starting [Auto deploy] Watching /home/xxx/appsvr/jboss/deploy [Auto deploy] Auto deploy of file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Module test-ejb.jar is not running [J2EE Deployer Default] Destroying application test-ejb.jar [J2EE Deployer Default] Deploy J2EE application: file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Create application test-ejb.jar [J2EE Deployer Default] install module test-ejb.jar [Container factory] Deploying:file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar [Verifier] Verifying file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar/ejb1001.jar ./run.sh: line 27: 14855 Segmentation fault java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ [xxx@x bin]$ [xxx@x bin]$ java -version java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) [xxx@x bin]$ [xxx@x bin]$ uname -a Linux SOMEHOST 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i586 unknown I included Java and Linux kernel versions. Please help I am so out of ideas. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Under Linux Crashes..
Hummm /home/xxx/appsvr ??? what kinda data you serving ? ;-) I have not had any problems with Jboss under linux - I just refreshed my machine at home with a new 7.1 install - so I`ll try the combination you describe tonight and post findings tomorrow. Graeme -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Ward Sent: Monday, August 06, 2001 2:20 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss Under Linux Crashes.. Interesting... I use RedHat 7.1 (2.4.2-2 kernel) with Sun JDK 1.3.1-b24/HotSpot Server VM, with JBoss-2.2.2_Tomcat3.2.2 AND JBoss2.4.0_Tomcat3.2.3 with no problems. BTW, I also upgraded my libsafe.so version from 1.3 to 2.0. I have never seen the problem you're experiencing, even before I upgraded my libsafe. Just a data point from a fellow Linuxer... David -- Andy Zeneski wrote: When auto-deploy tries to load a jar (ejb) it will seg fault. This does not happen if I drop the jar in the deploy directory after JBoss has loaded. What is the difference when doing that? JBoss Version: 2.2.2 Tomcat Version: 3.2.2 OS : Linux JVM: Sun 1.3.1-b24 The jar in question does contain: ejb-jar.xml, jboss.xml and jaws.xml If I load JBoss and then drop the jar in the deploy directory everthing works fine. If I have the jar in the deploy directory before starting JBoss I get the following error: [Auto deploy] Starting [Auto deploy] Watching /home/xxx/appsvr/jboss/deploy [Auto deploy] Auto deploy of file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Module test-ejb.jar is not running [J2EE Deployer Default] Destroying application test-ejb.jar [J2EE Deployer Default] Deploy J2EE application: file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Create application test-ejb.jar [J2EE Deployer Default] install module test-ejb.jar [Container factory] Deploying:file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar [Verifier] Verifying file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar/ejb1001.jar ./run.sh: line 27: 14855 Segmentation fault java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ [xxx@x bin]$ [xxx@x bin]$ java -version java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) [xxx@x bin]$ [xxx@x bin]$ uname -a Linux SOMEHOST 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i586 unknown I included Java and Linux kernel versions. Please help I am so out of ideas. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Under Linux Crashes..
I had a series of seg faults under Slackware, albeit not with Jboss (but in vaguely comprable circumstances) - at sun's suggestion I tried compiling my stuff with something else (I had been using classes compiled straight out of JBuilder), so I changed to Jikes, and haven't had a seg fault since. Just a thought... Owen When auto-deploy tries to load a jar (ejb) it will seg fault. This does not happen if I drop the jar in the deploy directory after JBoss has loaded. What is the difference when doing that? JBoss Version: 2.2.2 Tomcat Version: 3.2.2 OS : Linux JVM: Sun 1.3.1-b24 The jar in question does contain: ejb-jar.xml, jboss.xml and jaws.xml If I load JBoss and then drop the jar in the deploy directory everthing works fine. If I have the jar in the deploy directory before starting JBoss I get the following error: [Auto deploy] Starting [Auto deploy] Watching /home/xxx/appsvr/jboss/deploy [Auto deploy] Auto deploy of file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Module test-ejb.jar is not running [J2EE Deployer Default] Destroying application test-ejb.jar [J2EE Deployer Default] Deploy J2EE application: file:/home/xxx/appsvr/jboss/deploy/test-ejb.jar [J2EE Deployer Default] Create application test-ejb.jar [J2EE Deployer Default] install module test-ejb.jar [Container factory] Deploying:file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar [Verifier] Verifying file:/home/xxx/appsvr/jboss/tmp/deploy/Default/test-ejb.jar/ejb1001.jar ./run.sh: line 27: 14855 Segmentation fault java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ [xxx@x bin]$ [xxx@x bin]$ java -version java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) [xxx@x bin]$ [xxx@x bin]$ uname -a Linux SOMEHOST 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i586 unknown I included Java and Linux kernel versions. Please help I am so out of ideas. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user