mirror of https://github.com/apache/activemq.git
AMQ-9408: fix jolokia-access.xml loading in Windows wrapper
(cherry picked from commit d48f8ba201
)
This commit is contained in:
parent
fbac195ffa
commit
9340dc9ff1
|
@ -24,6 +24,7 @@ set.default.ACTIVEMQ_HOME=../..
|
|||
set.default.ACTIVEMQ_BASE=../..
|
||||
set.default.ACTIVEMQ_CONF=%ACTIVEMQ_BASE%/conf
|
||||
set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
|
||||
set.default.JOLOKIA_CONF=file:..\\..\\conf\\jolokia-access.xml
|
||||
|
||||
# if you use JDK 9+, uncomment the following
|
||||
#set.JDK_JAVA_OPTIONS=--add-reads=java.xml=java.logging --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
|
||||
|
@ -61,7 +62,7 @@ wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties
|
|||
wrapper.java.additional.10=-Dactivemq.conf="%ACTIVEMQ_CONF%"
|
||||
wrapper.java.additional.11=-Dactivemq.data="%ACTIVEMQ_DATA%"
|
||||
wrapper.java.additional.12=-Djava.security.auth.login.config="%ACTIVEMQ_CONF%/login.config"
|
||||
wrapper.java.additional.13=-Djolokia.conf=file:%ACTIVEMQ_CONF%/jolokia-access.xml
|
||||
wrapper.java.additional.13=-Djolokia.conf="%JOLOKIA_CONF%"
|
||||
|
||||
# Uncomment to enable remote jmx
|
||||
#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616
|
||||
|
|
Loading…
Reference in New Issue