This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "A simple JNDI question...." Watch "A simple JNDI question...." New topic

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..

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
I agree. Here's the link:
subject: A simple JNDI question....
It's not a secret anymore!