[
https://issues.apache.org/jira/browse/KARAF-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861355#comment-16861355
]
Freeman Fang commented on KARAF-6328:
-------------------------------------
Hi [~jbonofre],
How I can reproduce this?
I just tried with Karaf 4.2.6 kit on OpenJDK11 and it works for me.
Cheers
Freeman
> Karaf MBeanServer doesn't full start with JDK 11
> ------------------------------------------------
>
> Key: KARAF-6328
> URL: https://issues.apache.org/jira/browse/KARAF-6328
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.3.0, 4.2.7
>
>
> When starting Karaf with JDK 11, I notice:
> {code}
> Exception in thread "JMX Connector Thread
> [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://:1099/karaf-root]"
> java.lang.RuntimeException:
> Port already in use: 44444;
> You may have started two containers. If you need to start a second container
> or the default ports are already in use update the config file
> etc/org.apache.karaf.management.cfg and change the Registry Port and Server
> Port to unused ports
> at
> org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:276)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Exception in thread "JMX Connector Thread
> [service:jmx:rmi://127.0.0.1:44444/jndi/rmi://127.0.0.1:1099/karaf-root]"
> java.lang.RuntimeException:
> Port already in use: 44444;
> You may have started two containers. If you need to start a second container
> or the default ports are already in use update the config file
> etc/org.apache.karaf.management.cfg and change the Registry Port and Server
> Port to unused ports
> at
> org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:276)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
> even if I don't have any other Karaf instances running. The MBeanServer is
> not actually started and the user can't connect (with {{jconsole}} for
> instance).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)