1 Reply Latest reply: Jan 29, 2013 12:57 AM by 987422 RSS

    Server needs to restart every day (Sun Java Web Server 6.1 )

    987422
      Dear All,

      We have this java application running in Sun Java Web Server 6.1 in MS Windows platform, connecting to a MSSQL 2000. Recently the performance is getting so worse, that we have to re-start the server every morning. Is there any way to check the root cause of the problem? E.g. any tool to trace and find out any memory leak, open database connection etc?

      Any advice is highly appreciated.


      Thanks,
      D
        • 1. Re: Server needs to restart every day (Sun Java Web Server 6.1 )
          987422
          additional information: I saw this exception in the log when the server goes slow down:

          javax.servlet.ServletException: GC overhead limit exceeded
          at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
          at jsps.jsp._contents_jsp._jspService(_contents_jsp.java:1470)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:688)
          at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:460)
          at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:376)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
          at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
          at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
          at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:834)
          at jsps.jsp._main_jsp._jspService(_main_jsp.java:243)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:688)
          at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:460)
          at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:376)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
          at com.abdd.Service.ReportListingServlet.processRequest(ReportListingServlet.java:288)
          at com.abdd.Service.ReportListingServlet.doGet(ReportListingServlet.java:298)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
          at com.abdd.Service.MemberServlet.subMemberLoginClass(MemberServlet.java:195)
          at com.abdd.Service.MemberServlet.processRequest(MemberServlet.java:53)
          at com.abdd.Service.MemberServlet.doGet(MemberServlet.java:86)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
          at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:908)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java)
          at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
          at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.__AW_process(NSAPIProcessor.java:157)
          at com.iplan