• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.

Thanks.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic