Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] created the discussion
"Re: JNDI-Exception in NamingContextFactory"
To view the discussion, visit:
http://community.jboss.org/message/590680#590680
--------------------------------------------------------------
Hi,
when the "CLASSPATH" is specified for a directory, it will only inlcude
"*.class" files, but not "*.jar" files.
But it might work, if you add a wildcard to thee end:
export CLASSPATH=$CLASSPATH:/opt/jboss/client/*
See here:
http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpat...
http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpat...
I am not sure whether this feature was added in Java 1.5 or 1.6, so depending on your
version it might not work. In this case, you have to add every single jar to the
Classpath.
Hope this helps
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/590680#590680]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]