• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

JMS Destination not being found

Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am attempting to post a simple message to a Destination queue and the lookup is timing out, which I suspect means it just can't find the name. Here is how it is configured:

In jboss-web.xml:

In web.xml:

I have a file called "auto-sale-service.xml" in the deploy directory:

When I start the jmx-console, I can see the named Queue out there. I am accessing it with these two string:
factory: "java:comp/env/jms/MyXAQueueConnectionFactory"
queue: "java:comp/env/jms/AutoSaleQueue"

What am I doing wrong? It finds the connection factory fine, but throws a NamingException when it attempts to get the JMS destination.

I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic