Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS lookup failed

 
Karthika Kannan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • 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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
H Gokulam
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • 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
  • 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";
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic