• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

QueueConnectionFactory problem

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes , I defined the ref in the deployment descriptor
 
author
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you running you app client?
reply
    Bookmark Topic Watch Topic
  • New Topic