2 Replies Latest reply on Jan 21, 2004 2:44 AM by crypto

    Jboss Spontaneous restart

    kkumar

       

      "kkumar" wrote:
      "kkumar" wrote:
      We are using Jboss 3.0.7 with JDK1.4.1_03 on Linux for our applications developed in STRUTS1.0.2. It has been found that the application server restarts abruptly thereby bringing down the application and we need to relogin to our application. The application and server logs does not show any exceptions.

      We had encountered OutOfMemery exceptions due to memory leakages. These exceptions are not encountered now. However, the abrupt restarts is causing concern.

      Is there any way to fix this issue or what could be the probable reasons?


        • 1. Re: Jboss Spontaneous restart
          kkumar

           

          "kkumar" wrote:
          "kkumar" wrote:
          Try using -Xmx option and increase the memory.


          • 2. Re: Jboss Spontaneous restart
            crypto

             

            "crypto" wrote:
            "crypto" wrote:
            Upgrading to Struts-1.1 FCS will also reduce the risk of an OutOfMemory exception occurring. I ran profiling on our application when it was based on Struts-1.1 (nigthly release) and not all objects on the Form beans were released for GC as they should have.
            This was fixed in Struts-1.1 FCS and the OutOfMemory exceptions have disappeared.
            Another good idea is to pre-compile your JSP's while building your WAR/EAR.