Fuse ESB: javax.naming.NoInitialContextException: Unable to determine caller's BundleContext

Solution Verified - Updated -

Issue

  • exception thrown
    javax.naming.NoInitialContextException: Unable to determine caller's BundleContext
    at org.apache.aries.jndi.OSGiInitialContextFactoryBuilder.getInitialContext(OSGiInitialContextFactoryBuilder.java:49)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)[:1.6.0_29]
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:316)[:1.6.0_29]
    at javax.naming.InitialContext.lookup(InitialContext.java:392)[:1.6.0_29]
    at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
    at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:255)

Environment

  • Fuse Enterprise ESB 7.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content