Hi,

I was working to inject the JNDI datasource context outside the tomcat 
container. I referred this link - 
https://blogs.oracle.com/randystuph/entry/injecting_jndi_datasources_for_junit.

In order to initialize the datasource context, I had to put three java-naming 
jars (naming-java-5.0.28, naming-resources-5.5.15, naming-factory-5.5.12) and 
now Junits are running fine.

But now my tomcat server is not starting up; it throws exception - Name 
java:comp is not bound in this Contex

It would be nice, if someone can share some thoughts on this.

Regards,
Pramod.


________________________________
This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its 
affiliates, including e-mail and instant messaging (including content), may be 
scanned by our systems for the purposes of information security and assessment 
of internal compliance with Accenture policy.

______________________________________________________________________________________

www.accenture.com

Reply via email to