• Post Reply Bookmark Topic Watch Topic
  • New Topic

A simple JNDI question....  RSS feed

Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!