• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • 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: 41125
848
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?
 
Of course, I found a very beautiful couch. Definitely. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic