[jboss-user] [JBoss AOP] - javax.naming.NoInitialContextException: Cannot instantiate c

arpitgadle do-not-reply at jboss.com
Sat Jan 3 13:19:28 EST 2009


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




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199344#4199344

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199344



More information about the jboss-user mailing list