0 Replies Latest reply on Jan 3, 2009 1:19 PM by arpitgadle

    javax.naming.NoInitialContextException: Cannot instantiate c

      Hi All,
      I am getting the follwing exception after running my simple stateless bean client.

      javax.naming.NoInitialContextException:
      Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

      Here is my configuration

      Java 6.0
      Tomcat 5.5
      JBoss 4.0.3SP1

      And i have set the environment variable CLASS PATH to
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\concurrent.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\jboss-common.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\commons-httpclient.jar;

      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\client\jboss-j2ee.jar;

      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-remoting.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-transaction.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-jnpserver.jar;

      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\deploy\jboss-aop.deployer\jboss-aop.jar;
      H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\deploy\jboss-aop.deployer\jboss-aspect-library.jar;

      Kindly help me out

      Bye