[jboss-jira] [JBoss JIRA] Closed: (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:56:30 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

joel schweiger closed JBAS-7571.
--------------------------------

    Resolution: Done


JAVA_HOME issue in the jboss_init_redhat.sh script.
The scirpt calls java when attempting to use the shutdown.jar instead of $JAVA_HOME/bin/java.
I changed it and everything works.


> 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