You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/06/11 16:51:00 UTC

[jira] [Created] (KARAF-6328) Karaf MBeanServer doesn't full start with JDK 11

Jean-Baptiste Onofré created KARAF-6328:
-------------------------------------------

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