0 Replies Latest reply on Aug 7, 2006 12:27 PM by Shane Semanek

    Correct JBOSS_CLASSPATH for shutdown.sh

    Shane Semanek Newbie

      I have downloaded and installed jboss-portal-2.4.0-CR3-bundled.zip. I can start JBoss using $JBOSS_HOME/bin/run.sh but I am unable to stop JBoss using $JBOSS_HOME/bin/shutdown.sh. If I execute:

      $JBOSS_HOME/bin/shutdown.sh -S


      I get the following error message:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/system/server/ServerImplMBean
       at org.jboss.Shutdown.main(Shutdown.java:116)


      The problem seems to be with the $JBOSS_CLASSPATH variable that is being build by shutdown.sh. By default $JBOSS_CLASSPATH is set to:
      $JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jbossall-client.jar

      The directory structure created by extracting the jboss-portal-2.4.0-CR3-bundled.zip does not contain a client directory. The JBoss Portal QuickStart User Guide list the client directory as one of the directories that should exist after unzipping the jboss-portal-2.4.0-CR3-bundled.zip file. Should the client directory exist? If not, what is the correct JBOSS_CLASSPATH for shutdown.sh