• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

javax.naming.NameNotFoundException: newQueue not bound

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When deploy the MDB in JBOSS 4.2, I get the following error saying newqueue not bound, I even tested in jmx-console, still the is available in Global JNDI Namespace. I don't know why still the problem encountering.

Is there any otherway to deploy the application in JBOSS
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
There could be many reason viz : may be you are not giving the right name, see in the server console whether that queue is actually bound or not, and if bound, what is the exact name.

<use-java-context>false</use-java-context>

try writing this statement in your queue-service.xml file where you defined the queue.
 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Infact we are using EJB3 MDB and to allocate the context values we are using Annotations,




I think we can use your suggestion as part of ActivationConfigurationProperty. let me try
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How and where is the queue configured? Can you please post the contents? It maybe a dependency problem too. The queue probably is deployed after the MDB. Try using @Depends or its xml version.
 
Our first order of business must be this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic