aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS lookup failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS lookup failed" Watch "JMS lookup failed" New topic
Author

JMS lookup failed

Karthika Kannan
Greenhorn

Joined: Feb 18, 2006
Posts: 19
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
H Gokulam
Ranch Hand

Joined: Nov 04, 2003
Posts: 46
Hello Karthika,

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

Regards,


Harikumar G<br />SCJP 1.4
Karthika Kannan
Greenhorn

Joined: Feb 18, 2006
Posts: 19
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";
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS lookup failed
 
Similar Threads
problems with validation and getting data from EJB
JNDI local context
is using a static data source ok?
jndi lookup
JNDI look up Advantages?