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)

karaf-user | Guillaume Nodet | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Deploying bare Blueprint xml files?

    karaf-user | 6 years ago | Guillaume Nodet
    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)

    Root Cause Analysis

    1. 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()
    2. simple-jndi
      AbstractContext.close
      1. org.osjava.sj.jndi.AbstractContext.close(AbstractContext.java:697)
      1 frame
    3. Java RT
      InitialContext.close
      1. javax.naming.InitialContext.close(InitialContext.java:531)
      1 frame
    4. simple-jndi
      DelegatingContext.close
      1. org.osjava.sj.jndi.DelegatingContext.close(DelegatingContext.java:164)
      1 frame
    5. Java RT
      InitialContext.close
      1. javax.naming.InitialContext.close(InitialContext.java:531)
      1 frame