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

Jean-Baptiste Onofré resolved KARAF-6328.
-----------------------------------------
    Resolution: Cannot Reproduce

> 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
>
> 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
(v8.3.2#803003)

Reply via email to