I am using JBoss 4.0 as a application server. One of the class of my application reads the key, value pairs from property file and stores it in JNDI. I have written a testmethod also, which accepts the key and returns the value using JNDI lookup. Everything is working fine.
Now when actual client tries to lookup for any key, appication is throwing an exception javax.naming.NameNotFoundException: <<app.web.service.url>> not bound.
I am not sure when testcase is able to lookup the key in JNDI why client is failing to lookup the same key.
Please let me know your comments.
Thanks in advance!
Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop