[jboss-user] [Beginner's Corner] - javax.naming.NoInitialContextException: Cannot instantiate class

Peter Johnson do-not-reply at jboss.com
Mon Aug 23 18:50:28 EDT 2010


Peter Johnson [http://community.jboss.org/people/peterj] replied to the discussion

"javax.naming.NoInitialContextException: Cannot instantiate class"

To view the discussion, visit: http://community.jboss.org/message/558661#558661

--------------------------------------------------------------
What all is in your AppClient.jar file? When using the -jar commandl ine option, the classpath is ignored and only the indicated JAR file is available on the classpath. However, when you run a client against the app server, you must include the JAR files in the jboss_home/client directory in the classpath.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/558661#558661]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100823/e4f54378/attachment.html 


More information about the jboss-user mailing list