3 Replies Latest reply on Nov 30, 2005 7:39 PM by jess12see

    Jboss Service Terminated unexpectedly

    wxie

      Hi,

      I have Jboss service configured on Windows 2000 server using JavaService, and redirected from IIS using "isapi_redirector.dll". Everything works fine, except from time to time (like once every couple of days), I got the following error. Anyone has any idea or similar experience? Thanks.

      "The JBoss service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken ..." (Event ID 7031)

        • 1. Re: Jboss Service Terminated unexpectedly
          susanlimkw

          Hi wxie,

          I encountered the same problem. Have you any solution to it yet? If yes, can you share with me.

          Thanks.

          • 2. Re: Jboss Service Terminated unexpectedly
            alanmoor

            When you run a jvm as a Service under Microsoft, you will randomly receive shutdown signals from the OS (thanks Bill). I'm not smart enough to figure out exactly what circumstances cause this, or what the specific signal is. All I know is that the LifeThread thread ends, and so JBoss shuts down gracefully. So, if you are running Sun's HotSpot JVM, be sure to include -Xrs in your JAVA_OPTS in run.bat. This causes the jvm to ignore OS signals.

            The only down side is that you should use shutdown.bat to stop JBoss, rather than stopping the service. Stopping the service will kill JBoss without giving it a chance to tidy up.

            • 3. Re: Jboss Service Terminated unexpectedly
              jess12see

              Did you guys manage to sort this out with the '-Xrs' option?

              I'm facing the exact problem here too.