0 Replies Latest reply on Oct 6, 2014 6:19 AM by Tomas Andersen

    How can I configure Jboss to automatically launch an application that has stopped

    Tomas Andersen Newbie

      Hi.

       

      We are using a 3rd party library which is setting up a socket connection to listen for incoming messages from another server. We are experiencing some problems with this API and when ie the network connection goes down, the socket connection is taken down controlled and the thread dies. I have noticed that if I force the API to throw a runtimeexception the JBOSS AS is restarting the application automatically. But if the thread just dies nothing happens. I have to manually restart the application.

       

      Is there a way to configure JBOSS to see that the thread dies and then start it automatically?

       

      Thanks in advance for any help.

       

      Regards,

      Tomas Andersen