[jboss-jira] [JBoss JIRA] Commented: (JBAS-7571) out of the box shutdown fails java.lang.NoClassDefFoundError javax.management.MalformedObjectNameException
joel schweiger (JIRA)
jira-events at lists.jboss.org
Wed Dec 23 15:54:31 EST 2009
[ https://jira.jboss.org/jira/browse/JBAS-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12501558#action_12501558 ]
joel schweiger commented on JBAS-7571:
--------------------------------------
It seems the jboss_init_redhat.sh script just calls "java" when attempting to shutdown the server.
I changed it to call $JAVA_HOME/bin/java and everything worked.
I am closing this issue.
> out of the box shutdown fails java.lang.NoClassDefFoundError javax.management.MalformedObjectNameException
> ----------------------------------------------------------------------------------------------------------
>
> Key: JBAS-7571
> URL: https://jira.jboss.org/jira/browse/JBAS-7571
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-5.0.1.GA
> Environment: Using jboss 5.0.1.GA on Redhat Linux 5.3
> Reporter: joel schweiger
>
> Standard out of the box, using all configuration
> When I attempt to shutdown:
> JBOSS_CMD_STOP = java -classpath /opt/jboss/jboss-5.0.1.GA/bin/shutdown.jar:/opt/jboss/jboss-5.0.1.GA/client/jbossall-client.jar org.jboss.Shutdown --shutdown -s 10.199.74.23
> Exception in thread "main" java.lang.NoClassDefFoundError: javax.management.MalformedObjectNameException
> at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:52)
> at org.jboss.system.server.ServerImplMBean.<clinit>(ServerImplMBean.java:35)
> at java.lang.Class.initializeClass(libgcj.so.7rh)
> at org.jboss.Shutdown.main(Shutdown.java:118)
> Is the out of the box classpath of the shutdown command incorrect or are classes missing?
> It may be fixed in 5.1.0 but I need to use 5.0.1. Any suggestions?
--
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