• 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

JMS lookup failed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm using websphere 6.0 with IBM MQ series. I'm trying to send a message to an MDB deployed on the server. But I'm not able to get a Queue or QueueConnectionFactory object when I do the JNDi lookup. I'm not sure how to specify the url for the lookup.
If somebody knows a solution, please help.
Thanks.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Karthika,

Please click on the My Profile link above and change your display name to match the JavaRanch Naming Policy of using both your real first and real last names. Right now it only shows your first name.

Mark
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Karthika,

Can you tell us, what kind of error you are getting ?
Please post the actual error message.

Regards,
 
Karthika Kannan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi..
I'm not able to get a queue or queueConnectionFactory object on doing the lookup on the server(I'm using a j2ee client). I get a NullPointerException.
I used the following lookup urls:

CONN_FACT_NAME="cell/nodes/chnmct62249Node01/servers/server1/jms/TestQCF";
QUEUE_NAME="cell/nodes/chnmct62249Node01/servers/server1/jms/DefaultQueue";

String CONN_FACT_NAME = "jms/TestQCF";
String QUEUE_NAME = "jms/DefaultQueue";

String CONN_FACT_NAME = "java:comp/env/jms/TestQCF";
String QUEUE_NAME = "java:comp/env/jms/DefaultQueue";
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic