0 Replies Latest reply: Jul 28, 2010 7:30 AM by sandeep prasad RSS

    Can I invoke thread from HASingleton Service?

    sandeep prasad Newbie

      Hi,

       

      I have written a singleton service and deploying using HASingletonDeployer,type=Barrier. My Singleton service invokes a thread in start method. The problem I am facing is, it does not returns back control to HTTP server.

       

      Please see attached file for sample code.

       

      Thread in code is a continuous thread and we can not make an explicit call to Thread.sleep and return back control to HTTP Server.

       

      Thanks & Regards,

      Sandeep Prasad