Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI problem with JBoss  RSS feed

 
Dhananjay Inamdar
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!