JBoss Community

javax.naming.NoInitialContextException: Cannot instantiate class

reply from Peter Johnson in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community