1 Reply Latest reply on Sep 28, 2001 5:49 AM by Jules Gosnell

    JBoss-Jetty JNP ClassNotFound Exception

    Tim Kemp Newbie

      When calling and EJB from a servlet - the following ClassNotFound exception is thrown when trying to get/lookup in initial context

      Tim

      javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory. Ro
      on is
      java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory
       at java.lang.Class.forName0(Native Method)
      
       at java.lang.Class.forName(Class.java:195)
      
       at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
      
       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
      
       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
      
       at javax.naming.InitialContext.init(InitialContext.java:222)
      
       at javax.naming.InitialContext.<init>(InitialContext.java:178)
      
       at com.netscient.thinclient.ServletHelper.getPortal(ServletHelper.java:194)
      
       at com.netscient.thinclient.ServletHelper.finalize(ServletHelper.java:76)
      
       at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      
       at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
      
       at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
      
       at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)