I am getting an exception while binding the object to JNDI.I missing some minute thing over here.
I am using Netbeans 6.5 and Tomcat 6.0.
Following is code.
I am getting Following Exception :
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Thanks in advance
Joined: Jun 11, 2002
It looks like your application is using some JNDI property that is not correctly configured (java:comp/env/), or your application is not running in the correct environment (perhaps an environment that does not support JNDI).
In what environment is your web service and your web service client running? Are they deployed on different machines?