• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

QueueConnectionFactory problem

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am developing Message Driven Bean but every time I try to run the j2ee client app to test the MDB then I get a Naming exception becasue I can not look up jndi successfuly . I can see the jndi name in the jndi tree in the universal test client but whenever I use it on the client as "java:comp/env/jms/ConnectionFactory" then I get error message that "comp/env/jms/" does not exist in context java . I dumped my jndi tree but I found something like localhost/servers/localhost/nodes/server1/jms/ConnectionFactory . is there any way I can link localhost/servers/localhost/nodes/server1/jms/ConnectionFactory to "java:comp/env/jms/ConnectionFactory"

please help

thanks
 
author & internet detective
Posts: 39462
768
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ram,
Did you define a reference in the client project's deployment descriptor to the JNDI name?
 
ram nagab
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes , I defined the ref in the deployment descriptor
 
author
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you running you app client?
 
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!