[jboss-user] [JNDI and Naming] - Late binding of topic causing NameNotFoundException

Debayan Gupta do-not-reply at jboss.com
Thu Nov 15 05:05:54 EST 2012


Debayan Gupta [https://community.jboss.org/people/debayan] created the discussion

"Late binding of topic causing NameNotFoundException"

To view the discussion, visit: https://community.jboss.org/message/776628#776628

--------------------------------------------------------------
Hello,
        While performing lookup for a topic, I'm getting "javax.naming.NameNotFoundException: topic not bound" when jboss server getting re started. This exception is coming for around 2 minutes, after which it disappears and causes no problem. It seems the binding of the topic to jndi is slower than the execution of application code which performs the lookup, when jboss starts up. Is there any way to delay the code execution till the binding happens or quickening the binding operation? I'm using *OS : SunOS 5.10 Generic_147440-19 sun4v sparc SUNW,Netra-T5220, java - 1.7 and jboss 5.1.0.GA* (build: SVNTag=JBoss_5_1_0_GA date=200905221053). Appreciate some help.

Thanks & Regards,
Debayan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/776628#776628]

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121115/ca371856/attachment.html 


More information about the jboss-user mailing list