This content has been marked as final.
Show 3 replies
-
1. Re: jboss 5.0.1 shutdown.sh and shutdown.jar errors out of the box
peterj Dec 23, 2009 2:48 PM (in response to joels999)Do you have JAVA_HOME set when you run shutdown.jar? I suspect that it is picking up the gcj JVM and not the sun JVM, hence the missing class (it is in the rt.jar of the JVM). -
2. Re: jboss 5.0.1 shutdown.sh and shutdown.jar errors out of the box
joels999 Dec 23, 2009 3:53 PM (in response to peterj)Yes that was it. I had to modify the default jboss_init_redhat.sh script to not just use "java" but $JAVA_HOME/bin/java
Maybe that should have been scripted that way, but oh well.
I should have caught that.
thanks for the help
-
3. Re: jboss 5.0.1 shutdown.sh and shutdown.jar errors out of the box
peterj Dec 23, 2009 7:20 PM (in response to joels999)Ahah! You never said you were using jboss_init_redhat.sh. Though I should have guessed from the second command you posted. But how am I to know what changes you made when you converted jboss_init_redhat.sh to jboss-p8?
I have found when using the service scripts that things work much better if you set all of the required env vars within the script, and not rely on, say, JAVA_HOME being set for 'root'.