File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss Gives Bus Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Gives Bus Error" Watch "JBoss Gives Bus Error" New topic

JBoss Gives Bus Error

Prakhyath Hegde

Joined: May 22, 2009
Posts: 2
Hi ,

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 ./ 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 - - destroySession=success - ssoSessionId=4B25587634B1EBD850542C6327BEBA56
12:39:59,044 INFO [SSO_AUDIT] Tue May 12 12:39:59 IST 2009 - sso-user - info - - logoutSuccess=success - remoteHost=,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 - - authenticationSuccess=success - remoteHost=,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 - - destroySession=success - ssoSessionId=BEF792B679959B39DB03B71E4E89FBD2
bin/ line 246: 28878 Bus error "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
ns1:/Volumes/Application/jboss-4.2.2.GA_josso-1.7 root#

Peter Johnson

Joined: May 14, 2008
Posts: 5852

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.

JBoss In Action
Prakhyath Hegde

Joined: May 22, 2009
Posts: 2
Hi Johnson,

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).

I agree. Here's the link:
subject: JBoss Gives Bus Error
jQuery in Action, 3rd edition