0 Replies Latest reply on Nov 15, 2012 5:05 AM by Debayan Gupta

    Late binding of topic causing NameNotFoundException

    Debayan Gupta Newbie

      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