2 Replies Latest reply on Jan 26, 2012 2:38 AM by Mandar Kulkarni

    JNDI binding stops deployment

    Mandar Kulkarni Newbie

      I have some EJB singleton beans doing application's metadata import at server startup.

      In one of the beans, I am binding some custom objects to JNDI. Somehow, the code for binding JNDI simply hangs at times.The deployment simply blocks and finally times out.


      Interestingly the behaviour is only reproduced on single processor machines(although quite predicatbly it always fails..!).Exactly the same piece of code works on dual core machine.


      The only differentiating fact , the CPU consumption is at 100% on a single processor machine and If i remove the code performing JNDI binding, the deployment goes thorugh and works fine.


      The last statement with trace level logging is, (after this the deployment simply hangs...!!!!)

      TRACE (MSC service thread 1-2) 2012-01-24 17:26:50,747 [org.jboss.modules] ModuleClassLoader Finding class javax.naming.Context from Module "deployment.app.ear.app-server-startup.jar:main" from Service Module Loader.


      Any pointers ? Any further asistance with debugging ?