Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2366

artemis-service start failed by java.lang.NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.10.0
    • None
    • None
    • windows 10 x64

      apache-artemis-2.8.1

      java version "1.8.0_192"
      Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)

    Description

      1. created a new broker
      2. artemis-service install
      3. artemis-service start
      4. the windows service cant start and stop immediately
      5. artemis-service.err.log shows:

      java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
      at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
      at org.jboss.logmanager.Logger.log(Logger.java:796)
      at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:44)
      at org.jboss.logging.Logger.logv(Logger.java:2226)
      at org.apache.activemq.artemis.integration.bootstrap.ActiveMQBootstrapLogger_$logger.serverStarting(ActiveMQBootstrapLogger_$logger.java:35)
      at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:68)
      at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:85)
      at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
      at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98)
      at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
      at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)

       

       

      attachment is all log files

      Attachments

        1. log.zip
          2 kB
          xuhai zou

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              mosh xuhai zou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h