I've installed JBoss in MAC machine and I’m able deploy and run the applications on the same. But when I run JBOSS_HOME/bin ./run.sh I’m getting following error in my console after a while(once or twice in a day). And the JBoss will be stopped. No JNI calls are used in the deployed applications.
VM arguments are: -Xms512 -Xmx1024m -XX:MaxPermSize=128m. None of CPU/Memory/Network is choking at the time of crash.
System details are as follows:
Dual 2 GHz, 8 GB, XServe with Mac OS 10.4.11, Java 1.5 release 1 There were no software updates for the current version of Java.
Jboss Version: jboss-4.2.2.GA
Application works fine on Windows and Linux server.
Can anyone help me to figure out the reason for the crash? Is there any specific reasons for these or is this because OF JBoss OR JAVA bug?
Crash log is as follows:
12:39:59,043 INFO [SSO_AUDIT] Tue May 12 12:39:59 IST 2009 - sso-session - info - email@example.com - destroySession=success - ssoSessionId=4B25587634B1EBD850542C6327BEBA56
12:39:59,044 INFO [SSO_AUDIT] Tue May 12 12:39:59 IST 2009 - sso-user - info - firstname.lastname@example.org - logoutSuccess=success - remoteHost=10.10.5.50,ssoSessionId=4B25587634B1EBD850542C6327BEBA56
12:40:26,669 INFO [SSO_AUDIT] Tue May 12 12:40:26 IST 2009 - sso-session - info - - createSession=success - ssoSessionId=5A5F1D60ED3FF76DA6741C07CF27BB3E
12:40:26,670 INFO [SSO_AUDIT] Tue May 12 12:40:26 IST 2009 - sso-user - info - email@example.com - authenticationSuccess=success - remoteHost=10.10.39.213,authScheme=basic-authentication,ssoSessionId=5A5F1D60ED3FF76DA6741C07CF27BB3E
not a super master admin
12:40:40,790 INFO [SSO_AUDIT] Tue May 12 12:40:40 IST 2009 - sso-session - info - firstname.lastname@example.org - destroySession=success - ssoSessionId=BEF792B679959B39DB03B71E4E89FBD2
bin/run.sh: line 246: 28878 Bus error "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
A "bus error" means that the JVM crashed. When something like this happens on Windows the culprit is often a hardware driver, usually the network driver. You should verify that you are using the latest drivers for your hardware. Other than that, all you can really do is report this to Apple and hope they fix it.
Thanks for your reply.
Yes u'r right. Problem is coz of driver itself(but not the hardware driver). I have replaced my current MySql Driver and verified the problem. The problem seems to because of bug in the latest MySql Driver i.e mysql-connector-java-5.0.8. Jboss works fine without any crashes with driver version 3.1(mysql-connector-java-3.1).