aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes A simple JNDI question.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "A simple JNDI question...." Watch "A simple JNDI question...." New topic
Author

A simple JNDI question....

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hello guys.. I'm experiencing this problem:

the program throws this exception:
JNDI lookup failed: javax.naming.NamingException: Cannot create resource instance
I'm using forte for Java EE and I'm just trying to send a message to a queue, which has been already created. The queue name is:
jms/MyQueue , javax.jms.Queue
and I have already set the resource environment reference to:
jms/QueueName to javax.jms.Queue
and the resource reference :
jms/DefaultConnectionFactory, type=javax.jms.QueueConnectionFactory
what is wrong... ??
any help or suggestion is highly appreciated..
thanks


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A simple JNDI question....