Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7571

out of the box shutdown fails java.lang.NoClassDefFoundError javax.management.MalformedObjectNameException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • JBossAS-5.0.1.GA
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            joels999_jira joel schweiger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: