1 Reply Latest reply on Oct 7, 2013 6:54 AM by Samineni S

    Getting error while executing shutdown.sh

    Samineni S Newbie

      Hi Friends,


      I am getting below error while stopping the JBOSS (jboss-4.0.5.GA) server. So, I am always using the kill command to stop the server.

      Could you please help me in this.


      [root@localhost ~]# cd /usr/local/JBoss/bin/

      [root@localhost bin]#

      [root@localhost bin]#

      [root@localhost bin]#

      [root@localhost bin]#

      [root@localhost bin]# ./shutdown.sh

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Shutdown

      Caused by: java.lang.ClassNotFoundException: org.jboss.Shutdown

              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      Could not find the main class: org.jboss.Shutdown.  Program will exit.