JBoss Community

Late binding of topic causing NameNotFoundException

created by Debayan Gupta in JNDI and Naming - View the full discussion

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

Start a new discussion in JNDI and Naming at Community