[
https://issues.apache.org/jira/browse/AMQ-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-3843.
-----------------------------
Resolution: Not A Problem
Fix Version/s: (was: 5.7.0)
The older code also needed tools.jar but was limited to only Sun's version.
The new code still need tools.jar but works on most implementations. The issue
was that an NPE was able to sneak out when it wasn't working, that has since
been resolved.
> ActiveMQ 5.6.0 requires JDK now
> -------------------------------
>
> Key: AMQ-3843
> URL: https://issues.apache.org/jira/browse/AMQ-3843
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMX
> Affects Versions: 5.6.0
> Reporter: Guilhem RAMBAL
>
> With this code :
> https://issues.apache.org/jira/browse/AMQ-2464
> When you stop activemq regulary with jre instead of jdk :
> Connecting to pid: 3316
> ERROR: java.lang.NullPointerException
> java.lang.NullPointerException
> at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:139)
> at
> org.apache.activemq.console.command.AbstractJmxCommand.handleOption(AbstractJmxCommand.java:350)
> at
> org.apache.activemq.console.command.ShutdownCommand.handleOption(ShutdownCommand.java:156)
> at
> org.apache.activemq.console.command.AbstractCommand.parseOptions(AbstractCommand.java:73)
> at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:45)
> at
> org.apache.activemq.console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java:380)
> at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
> at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
> at org.apache.activemq.console.Main.main(Main.java:111)
> .............................
> INFO: Regular shutdown not successful, sending SIGKILL to process with pid
> '3316'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira