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/16 09:12:08 UTC

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

Guilhem RAMBAL created AMQ-3843:
-----------------------------------

             Summary: 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

        

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

Posted by "Guilhem RAMBAL (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-3843.
-----------------------------

       Resolution: Duplicate
    Fix Version/s: 5.7.0

this is the same as AMQ-3858 which is now 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
>             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

        

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

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ 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