Vitor Oliveira
2013-04-11 13:59:35 UTC
Vitor Oliveira [https://community.jboss.org/people/vitorcoliveira] created the discussion
"Randomly ocorrence of âjavax.naming.NameNotFoundException: queue not boundâ"
To view the discussion, visit: https://community.jboss.org/message/807742#807742
--------------------------------------------------------------
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
[https://community.jboss.org/message/807742#807742]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
"Randomly ocorrence of âjavax.naming.NameNotFoundException: queue not boundâ"
To view the discussion, visit: https://community.jboss.org/message/807742#807742
--------------------------------------------------------------
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
[https://community.jboss.org/message/807742#807742]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]