You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Guilhem RAMBAL (JIRA)" <ji...@apache.org> on 2012/05/25 15:20:23 UTC

[jira] [Reopened] (AMQ-3843) ActiveMQ 5.6.0 requires JDK now

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

Guilhem RAMBAL reopened AMQ-3843:
---------------------------------


This is a workaround, to work as 5.5.0 you need sun jdk instead of jre, because of tools.jar usage.

                
> 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
>             Fix For: 5.7.0
>
>
> 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