0 Replies Latest reply on Mar 31, 2005 4:42 AM by Sanjay Mishra


    Sanjay Mishra Newbie

      The productBean is created in a different project and I have added reference of that to the current project. Its throwing exceptions as..

      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)

      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

      at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)

      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      at com.expekt.babs.Test.main(Test.java:34)