[ 
https://issues.apache.org/jira/browse/AMQ-7377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved AMQ-7377.
---------------------------------------
    Fix Version/s:     (was: 5.16.1)
                       (was: 5.15.13)
       Resolution: Cannot Reproduce

It works fine for me adding jaxb module.

> runtimeConfigurationPlugin causes ActiveMQ Broker to fail to start
> ------------------------------------------------------------------
>
>                 Key: AMQ-7377
>                 URL: https://issues.apache.org/jira/browse/AMQ-7377
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.15.11
>         Environment: ActiveMQ 5.15.11 running with OpenJDK 13.0.2 on Windows 
> Server 2016.
> JAVA & JAVA_HOME environment variables have been set to the OpenJDK paths.
> I have installed ActiveMQ as a windows service (by running 
> bin/win64/InstallService.bat)
>            Reporter: Kyro
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> I have downloaded and extracted ActiveMQ 5.15.11 running with OpenJDK 13.0.2 
> on Windows Server 2016.
> JAVA & JAVA_HOME environment variables have been set to the OpenJDK paths.
> I have installed ActiveMQ as a windows service (by running 
> bin/win64/InstallService.bat)
> If I do not change the conf/activemq.xml I can start the ActiveMQ service and 
> access the web console (localhost:8161/admin), the data/wrapper.log & 
> data/activemq.log look fine with no errors.
> However if I put into the conf/activemq.xml file:
> {code:xml}
> <plugins>
> <runtimeConfigurationPlugin checkPeriod="1000" />
> </plugins>
> {code}
> and also add start="false" to the existing broker element, as per 
> https://activemq.apache.org/runtime-configuration
> Then when I start the ActiveMQ service it fails, and the wrapper.log reports:
> {noformat}
> STATUS | wrapper | 2020/01/20 16:24:22 | --> Wrapper Started as Service
> STATUS | wrapper | 2020/01/20 16:24:22 | Launching a JVM...
> INFO | jvm 1 | 2020/01/20 16:24:23 | Wrapper (Version 3.2.3) 
> http://wrapper.tanukisoftware.org
> INFO | jvm 1 | 2020/01/20 16:24:23 | Copyright 1999-2006 Tanuki Software, 
> Inc. All Rights Reserved.
> INFO | jvm 1 | 2020/01/20 16:24:23 |
> INFO | jvm 1 | 2020/01/20 16:24:30 | Java Runtime: Oracle Corporation 13.0.2 
> C:\Program Files\Java\jdk-13.0.2
> INFO | jvm 1 | 2020/01/20 16:24:30 | Heap sizes: current=63360k free=54611k 
> max=1013632k
> INFO | jvm 1 | 2020/01/20 16:24:30 | JVM args: 
> -Dactivemq.home=E:\Services\ActiveMQ\bin\win64\..\.. 
> -Dactivemq.base=E:\Services\ActiveMQ\bin\win64\..\.. 
> -Djavax.net.ssl.keyStorePassword=password 
> -Djavax.net.ssl.trustStorePassword=password 
> -Djavax.net.ssl.keyStore=E:\Services\ActiveMQ\bin\win64\..\../conf/broker.ks 
> -Djavax.net.ssl.trustStore=E:\Services\ActiveMQ\bin\win64\..\../conf/broker.ts
>  -Dcom.sun.management.jmxremote 
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true 
> -Djava.util.logging.config.file=logging.properties 
> -Dactivemq.conf=E:\Services\ActiveMQ\bin\win64\..\../conf 
> -Dactivemq.data=E:\Services\ActiveMQ\bin\win64\..\../data 
> -Djava.security.auth.login.config=E:\Services\ActiveMQ\bin\win64\..\../conf/login.config
>  -Xmx1024m -Djava.library.path=E:\Services\ActiveMQ\bin\win64\..\../bin/win64 
> -Dwrapper.key=Dohw1uJWQ2D3bT89 -Dwrapper.port=32000 
> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2388 
> -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper 
> -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
> INFO | jvm 1 | 2020/01/20 16:24:30 | Extensions classpath:
> INFO | jvm 1 | 2020/01/20 16:24:30 | 
> [E:\Services\ActiveMQ\bin\win64\..\..\lib,E:\Services\ActiveMQ\bin\win64\..\..\lib\camel,E:\Services\ActiveMQ\bin\win64\..\..\lib\optional,E:\Services\ActiveMQ\bin\win64\..\..\lib\web,E:\Services\ActiveMQ\bin\win64\..\..\lib\extra]
> INFO | jvm 1 | 2020/01/20 16:24:30 | ACTIVEMQ_HOME: 
> E:\Services\ActiveMQ\bin\win64\..\..
> INFO | jvm 1 | 2020/01/20 16:24:30 | ACTIVEMQ_BASE: 
> E:\Services\ActiveMQ\bin\win64\..\..
> INFO | jvm 1 | 2020/01/20 16:24:30 | ACTIVEMQ_CONF: 
> E:\Services\ActiveMQ\bin\win64\..\..\conf
> INFO | jvm 1 | 2020/01/20 16:24:30 | ACTIVEMQ_DATA: 
> E:\Services\ActiveMQ\bin\win64\..\..\data
> INFO | jvm 1 | 2020/01/20 16:24:30 | Loading message broker from: 
> xbean:activemq.xml
> INFO | jvm 1 | 2020/01/20 16:24:30 | INFO | Refreshing 
> org.apache.activemq.xbean.XBeanBrokerFactory$1@61abb389: startup date [Mon 
> Jan 20 16:24:30 EST 2020]; root of context hierarchy
> INFO | jvm 1 | 2020/01/20 16:25:03 | INFO | ActiveMQ WebConsole available at 
> http://0.0.0.0:8161/
> INFO | jvm 1 | 2020/01/20 16:25:03 | INFO | ActiveMQ Jolokia REST API 
> available at http://0.0.0.0:8161/api/jolokia/
> INFO | jvm 1 | 2020/01/20 16:25:09 | INFO | Using Persistence Adapter: 
> KahaDBPersistenceAdapter[E:\Services\ActiveMQ\bin\win64\..\..\data\kahadb]
> INFO | jvm 1 | 2020/01/20 16:25:09 | INFO | 
> PListStore:[E:\Services\ActiveMQ\bin\win64\..\..\data\localhost\tmp_storage] 
> started
> INFO | jvm 1 | 2020/01/20 16:25:10 | INFO | JobSchedulerStore: 
> E:\Services\ActiveMQ\bin\win64\..\..\data\localhost\scheduler started.
> INFO | jvm 1 | 2020/01/20 16:25:10 | INFO | installing runtimeConfiguration 
> plugin
> INFO | jvm 1 | 2020/01/20 16:25:10 | Failed to execute main task. Reason: 
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> STATUS | wrapper | 2020/01/20 16:25:13 | <-- Wrapper Stopped
> {noformat}
> No other people appear to be experiencing this issue. But I'm unsure what 
> I've done wrong in the configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to