[
https://issues.apache.org/jira/browse/AMQ-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543850#comment-17543850
]
Wojciech Targosz commented on AMQ-8470:
---------------------------------------
[~jbonofre], can you say something about such situation:
ActiveMQ ver. 5.16.3 on JDK11:
[2022-05-30 08:17:45,954 | WARN |
org.apache.activemq.broker.jmx.ManagementContext] Failed to start JMX connector
Cannot bind to URL [rmi://localhost:1100/jmxrmi]:
javax.naming.CommunicationException [Root exception is
java.rmi.NoSuchObjectException: no such object in table]. Will restart
management to re-create JMX connector, trying to remedy this issue.
(no other process using jmx connector port 1100)
We tried the same with the latest 5.16.5 and it won't start also.
BUT
ActiveMQ ver 5.15.9 on JDK11 starts with no issue. JDK8 also.
We need to upgrade to a newer version due to security reasons. Which version
should we use to support both JDK8 and JDK11?
> Failed to start JMX connector Cannot bind to URL
> ------------------------------------------------
>
> Key: AMQ-8470
> URL: https://issues.apache.org/jira/browse/AMQ-8470
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.15.12, 5.15.13, 5.15.15, 5.16.2, 5.16.3
> Reporter: Chris Scott
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> With Java 17 from version 5.15.12 the following error is raised when the
> ManagementContext is configured to create a jmx connector.
> [JMX connector] WARN o.a.a.broker.jmx.ManagementContext - Failed to start
> JMX connector Cannot bind to URL [rmi://localhost:1099/jmxrmi]:
> javax.naming.CommunicationException [Root exception is
> java.rmi.NoSuchObjectException: no such object in table]. Will restart
> management to re-create JMX connector, trying to remedy this issue.
> This error does not occur when running Java 8 or Java 11.
> This error does not occur when running Java 17 against 5.15.11 of ActiveMQ
>
> This could be related to AMQ-7400 which introduced in 5.15.12
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)