activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-6507) Can not stop a JMS broker using activemq-admin.bat when the JAVA_HOME points to JRE 1.8
Date Tue, 22 Nov 2016 18:48:58 GMT

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

Claus Ibsen updated AMQ-6507:
-----------------------------
    Priority: Minor  (was: Blocker)

> Can not stop a JMS broker using activemq-admin.bat when the JAVA_HOME points to JRE 1.8
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-6507
>                 URL: https://issues.apache.org/jira/browse/AMQ-6507
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.14.0
>         Environment: Windows 7 x64, JRE/JDK 1.8.111
>            Reporter: Kacper Zielinski
>            Priority: Minor
>
> I can not stop a JMS broker using an activemq-admin.bat script when the JAVA_HOME points
to JRE 1.8.111 The problem does not appear when JDK is used. 
> In the script an ACTIVEMQ_SUNJMX_START parameter was uncommented and a default port was
changed to 61099 like this:
> "set ACTIVEMQ_SUNJMX_START=-Dcom.sun.management.jmxremote.port=61099 -Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false"
> Somehow the port looks to be ignored...
>  Any Idea? Do we need a JDK to stop the broker?
> {code:title=JRE 1.8.111|borderStyle=solid}
> _PATH_\bin>call "..\middleware\apache-activemq-5.14.0\bin\activemq-admin.bat" "stop"
> Java Runtime: Oracle Corporation 1.8.0_111 C:\Program Files\Java\jre1.8.0_111
>   Heap sizes: current=251392k  free=248770k  max=3706880k
>     JVM args: -Dactivemq.classpath=_PATH_\middleware\apache-activemq-5.14.0\bin\..\conf;_PROGRAM_DATA_\middleware\apache-activemq-5.14.0;
-Dactivemq.home=_PATH_\middleware\apache-activemq-5.14.0\bin\.. -Dactivemq.base=_PATH_\middleware\apache-activemq-5.14.0\bin\..
-Dactivemq.data=_PROGRAM_DATA_\middleware\apache-activemq-5.14.0 -Djava.io.tmpdir=_PROGRAM_DATA_\middleware\apache-activemq-5.14.0\tmp
-Dactivemq.conf=_PATH_\middleware\apache-activemq-5.14.0\bin\..\conf
> Extensions classpath:
>   [_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\camel,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\optional,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\web,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\extra]
> ACTIVEMQ_HOME: _PATH_\middleware\apache-activemq-5.14.0\bin\..
> ACTIVEMQ_BASE: _PATH_\middleware\apache-activemq-5.14.0\bin\..
> ACTIVEMQ_CONF: _PATH_\middleware\apache-activemq-5.14.0\bin\..\conf
> ACTIVEMQ_DATA: _PROGRAM_DATA_\middleware\apache-activemq-5.14.0
> Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> INFO: Broker not available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> {code}
> {code:title=JDK 1.8.111|borderStyle=solid}
> _PATH_\bin>call "..\middleware\apache-activemq-5.14.0\bin\activemq-admin.bat" "stop"
> Java Runtime: Oracle Corporation 1.8.0_111 C:\Program Files\Java\jdk1.8.0_111\jre
>   Heap sizes: current=251392k  free=248770k  max=3706880k
>     JVM args: -Dactivemq.classpath=_PATH_\middleware\apache-activemq-5.14.0\bin\..\conf;_PROGRAM_DATA_\middleware\apache-activemq-5.14.0;
-Dactivemq.home=_PATH_\middleware\apache-activemq-5.14.0\bin\.. -Dactivemq.base=_PATH_\middleware\apache-activemq-5.14.0\bin\..
-Dactivemq.data=_PROGRAM_DATA_\middleware\apache-activemq-5.14.0 -Djava.io.tmpdir=_PROGRAM_DATA_\middleware\apache-activemq-5.14.0\tmp
-Dactivemq.conf=_PATH_\middleware\apache-activemq-5.14.0\bin\..\conf
> Extensions classpath:
>   [_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\camel,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\optional,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\web,_PATH_\middleware\apache-activemq-5.14.0\bin\..\lib\extra]
> ACTIVEMQ_HOME: _PATH_\middleware\apache-activemq-5.14.0\bin\..
> ACTIVEMQ_BASE: _PATH_\middleware\apache-activemq-5.14.0\bin\..
> ACTIVEMQ_CONF: _PATH_\middleware\apache-activemq-5.14.0\bin\..\conf
> ACTIVEMQ_DATA: _PROGRAM_DATA_\middleware\apache-activemq-5.14.0
> useJmxServiceUrl Found JMS Url: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2Z
> XIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc5AAtVbmljYXN0UmVmMgAADjE5Mi4xNjguMTAwLjIwAAD9nHXsmR+4orQ3llsk9wAAAVhxZdSygAIAeA==
> Connecting to pid: 5020
> Stopping broker: MYBROKER
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message