JBoss Community

Randomly ocorrence of “javax.naming.NameNotFoundException: queue not bound”

created by Vitor Oliveira in JBoss Messaging - View the full discussion

I have one jboss 4.2.3 application consuming from a queue and putting in another queue.  All 3 components running jboss 4.2.3. Deployment of all components were ok. However sometimes my application got this error:

 

 

    javax.naming.NameNotFoundException: queue not bound

              at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]

              at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]

    ...

    at javax.naming.InitialContext.lookup(Unknown Source) ~[na:1.6.0_26]

 

 

**or**

 

 

    javax.naming.NameNotFoundException: [queue_name] not bound

              at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]

              at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]

    ...

    at javax.naming.InitialContext.lookup(Unknown Source) ~[na:1.6.0_26]

 

 

I already verified the `service=JNDIView` on the final queue and everything seems ok. The problem occurs **randomly**. After ~15 minutes the errors stops and my deployment can  process all messages without restart. Despite being random, this error is recurrent.

 

The jboss of the  destination queue is running on virtual machines. Can this be a performance\load or network problem?

 

I searched for similar problems and only found occurring at start up of the application. My application is running and errors occurs from time to time randomly 3 to 5 times a day for 15 minutes.

 

Thank you.

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community