java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • jar files needed to use WebSphere JMS clent
    via by Unknown author,
  • Context binding
    via by Unknown author,
    • java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming:org.jboss.naming:org.jnp.interfaces, jmx.remote.protocol.provider.class.loader=org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@7ead7ead, jmx.remote.credentials=[Ljava.lang.String;@76c176c1} [Root exception is java.lang.NullPointerException] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:350) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:260) at com.approuter.logging.JMXLogPublisher.getMBeanServerConnection(JMXLogPublisher.java:66) at com.approuter.logging.JMXLogPublisher.invokeRMImethod(JMXLogPublisher.java:91) at com.approuter.logging.JMXLogPublisher.publish(JMXLogPublisher.java:109) at java.util.logging.Logger.log(Logger.java:1127) at java.util.logging.Logger.log(Logger.java:1023) at com.approuter.module.database.util.DataSourceFactory.createNewDataSourceInstance(DataSourceFactory.java:32) Caused by: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming:org.jboss.naming:org.jnp.interfaces, jmx.remote.protocol.provider.class.loader=org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@7ead7ead, jmx.remote.credentials=[Ljava.lang.String;@76c176c1} [Root exception is java.lang.NullPointerException] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:243) at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:327) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:357) at javax.naming.InitialContext.internalInit(InitialContext.java:295) at javax.naming.InitialContext.<init>(InitialContext.java:212) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1896) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1868) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:269) ... 8 more Caused by: java.lang.NullPointerException at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:235) ... 16 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,