java.io.IOException

Cannot bind to URL > [rmi://localhost:1099/karaf-root]: javax.naming.ContextNotEmptyException at > javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) at > javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) at > org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102) > Caused by: javax.naming.ContextNotEmptyException at > org.osjava.sj.jndi.AbstractContext.destroySubcontext(AbstractContext.java:539)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Guillaume Nodet,
  • Stack trace

    • java.io.IOException: Cannot bind to URL > [rmi://localhost:1099/karaf-root]: javax.naming.ContextNotEmptyException at > javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) at > javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) at > org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102) > Caused by: javax.naming.ContextNotEmptyException at > org.osjava.sj.jndi.AbstractContext.destroySubcontext(AbstractContext.java:539) at org.osjava.sj.jndi.AbstractContext.close(AbstractContext.java:697) at javax.naming.InitialContext.close(InitialContext.java:531) at org.osjava.sj.jndi.DelegatingContext.close(DelegatingContext.java:164) at javax.naming.InitialContext.close(InitialContext.java:531)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.