[jboss-user] [JBoss Portal] - Correct JBOSS_CLASSPATH for shutdown.sh

ssemanek do-not-reply at jboss.com
Mon Aug 7 12:27:30 EDT 2006


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

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

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



More information about the jboss-user mailing list