javax.naming.NoInitialContextException: Cannot instantiate >>>>>>>>>>> class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: >>>>>>>>>>> org.jnp.interfaces.NamingContextFactory] at >>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext.<init>(InitialContext.java:197) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.getSipActionBean(TESTSipServlet.java:238) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doSuccessResponse(TESTSipServlet.java:180) at >>>>>>>>>>> javax.servlet.sip.SipServlet.doResponse(SipServlet.java:268) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doResponse(TESTSipServlet.java:147) at >>>>>>>>>>> javax.servlet.sip.SipServlet.service(SipServlet.java:327) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:281) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.ResponseDispatcher$1.dispatch(ResponseDispatcher.java:297) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:55) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:50) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Roberto, 1 year ago
>>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext
via sourceforge.net by Unknown author, 1 year ago
Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at
via servicemix-users by Vincenzo Laudizio, 1 year ago
Cannot instantiate class: org.eclipse.jetty.jndi.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.eclipse.jetty.jndi.InitialContextFactory] at javax.naming.spi.NamingManager.getInitialContext
javax.naming.NoInitialContextException: Cannot instantiate >>>>>>>>>>> class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: >>>>>>>>>>> org.jnp.interfaces.NamingContextFactory] at >>>>>>>>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at >>>>>>>>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at >>>>>>>>>>> javax.naming.InitialContext.init(InitialContext.java:223) at >>>>>>>>>>> javax.naming.InitialContext.<init>(InitialContext.java:197) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.getSipActionBean(TESTSipServlet.java:238) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doSuccessResponse(TESTSipServlet.java:180) at >>>>>>>>>>> javax.servlet.sip.SipServlet.doResponse(SipServlet.java:268) at >>>>>>>>>>> com.mycompany.TEST.servlet.TESTSipServlet.doResponse(TESTSipServlet.java:147) at >>>>>>>>>>> javax.servlet.sip.SipServlet.service(SipServlet.java:327) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:281) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.ResponseDispatcher$1.dispatch(ResponseDispatcher.java:297) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:55) at >>>>>>>>>>> org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:50) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at >>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.