[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: queue not bound

bidhudas do-not-reply at jboss.com
Wed Dec 19 00:57:25 EST 2007


Hi,

 I am trying to configure JMS queue in JBOSS. I have added the following entry in jbossmq-destinations-service.xml 

    
    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
  


But the same was not  listed in JNDIVIEW.

Whenever I tried to lookup this queue(ctx.lookup(queue/RequestQ) getting the following error. It will be of great help if any body can help in resolving this issue

javax.naming.NameNotFoundException: queue not bound 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 
at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 
at org.jnp.server.NamingServer.lookup(NamingServer.java:267) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) 
at sun.rmi.transport.Transport$1.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 



Regards
Bidhduas

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114064#4114064

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114064



More information about the jboss-user mailing list