[ https://issues.apache.org/jira/browse/ARTEMIS-2366?focusedWorklogId=268596&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-268596 ]
ASF GitHub Bot logged work on ARTEMIS-2366: ------------------------------------------- Author: ASF GitHub Bot Created on: 27/Jun/19 15:29 Start Date: 27/Jun/19 15:29 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on pull request #2733: ARTEMIS-2366 artemis-service start fails URL: https://github.com/apache/activemq-artemis/pull/2733#discussion_r298238048 ########## File path: artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service.xml ########## @@ -33,7 +33,7 @@ <logmode>roll</logmode> <executable>%JAVA_HOME%\bin\java.exe</executable> - <startargument>-Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager}</startargument> + <startargument>-Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager};%ARTEMIS_HOME%\lib\${wildfly-common}</startargument> Review comment: Thanks ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 268596) Time Spent: 1.5h (was: 1h 20m) > artemis-service start failed by java.lang.NoClassDefFoundError > -------------------------------------------------------------- > > Key: ARTEMIS-2366 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2366 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 2.8.1 > Environment: 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) > Reporter: xuhai zou > Assignee: Justin Bertram > Priority: Major > Fix For: 2.10.0 > > Attachments: log.zip > > Time Spent: 1.5h > Remaining Estimate: 0h > > # created a new broker > # artemis-service install > # artemis-service start > # the windows service cant start and stop immediately > # artemis-service.err.log shows: > {color:#FF0000}java.lang.NoClassDefFoundError: > org/wildfly/common/net/HostName{color} > {color:#FF0000} at > org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87){color} > 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 -- This message was sent by Atlassian JIRA (v7.6.3#76005)