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