[jboss-user] [Installation, Configuration & Deployment] - Error during shutdown

aeid do-not-reply at jboss.com
Fri Oct 6 16:38:13 EDT 2006


Hi,

I have installed JBoss 3.2.6 on RHEL.
I copied jboss_init_redhat.sh and I am using it start/stop jboss.

'jboss_init_redhat.sh start' works fine, but 'jboss_init_redhat.sh stop" gives the following error:

java.lang.ClassNotFoundException: org.jboss.security.SimplePrincipal not found

The error message:
=============
CMD_STOP = java -classpath /usr/local/jboss-3.2.6/bin/shutdown.jar:/usr/local/jboss-3.2.6/client/jnet.jar org.jboss.Shutdown --shutdown
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.jboss.Shutdown
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/home/jboss/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/home/jboss/java.version=1.4.2)
Caused by: java.lang.ClassNotFoundException: org.jboss.security.SimplePrincipal not found in [file:/usr/local/jboss-3.2.6/bin/shutdown.jar, file:/usr/local/jboss-3.2.6/client/jnet.jar, file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   ...9 more
=============

Please help.

Regards,

Ashraf Eid

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976687#3976687

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976687



More information about the jboss-user mailing list