[jboss-jira] [JBoss JIRA] Commented: (JBAS-1226) shutdown misses org/jboss/system/server/ServerImpl
Johnny Walker (JIRA)
jira-events at lists.jboss.org
Tue Nov 10 11:52:05 EST 2009
[ https://jira.jboss.org/jira/browse/JBAS-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493991#action_12493991 ]
Johnny Walker commented on JBAS-1226:
-------------------------------------
I ran into this issue with a fresh download of 4.2.3GA recently. I found the fix at the forums:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=146991&view=previous
Basically edit your jboss_init.sh script to include the client/jbossall-client.jar in the $JBOSSCP for the shutdown command.
So mine looks like this:
#define the classpath for the shutdown class
#JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
JBOSSCP=${JBOSSCP:-"$BINARY_HOME/client/jbossall-client.jar:$JBOSS_HOME/bin/shutdown.jar"}
I don't know where this jnet.jar is coming from either - that file doesn't exist on my system so I removed it.
> shutdown misses org/jboss/system/server/ServerImpl
> --------------------------------------------------
>
> Key: JBAS-1226
> URL: https://jira.jboss.org/jira/browse/JBAS-1226
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: SourceForge User
> Assignee: Dimitris Andreadis
> Fix For: Closed issues from sourceforge
>
>
> SourceForge Submitter: andd .
> Something has changed in the packaging and the
> ServerImpl class cannot be found:
> X:\cvs\jboss-public\jboss-head\build\output\jboss-
> 5.0.0alpha\bin>shutdown -s jnp
> ://localhost:1099
> Exception in thread "main"
> java.lang.NoClassDefFoundError: org/jboss/system/serv
> er/ServerImpl
> at org.jboss.Shutdown.main(Unknown Source)
> Press any key to continue . . .
> It affects shutdown from the command line or through
> the test scripts.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list