-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 André,
On 5/31/16 1:01 PM, André Warnier (tomcat) wrote: > On 31.05.2016 18:54, Christopher Schultz wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >> >> Shailesh, >> >> On 5/31/16 9:35 AM, Shailesh Jain wrote: >>> Hello All, Below is the error coming in tomcat6, can you >>> pleaes advise what can be done to resolve the issue. >> >> I see two errors: >> >> >>> SEVERE: Servlet.service() for servlet ComponentDispatcher >>> threw exception java.lang.OutOfMemoryError: Java heap space May >>> 27, 2016 11:27:58 AM >>> org.apache.catalina.core.StandardWrapperValve invoke SEVERE: >>> Servlet.service() for servlet jsp threw exception >>> java.lang.OutOfMemoryError: Java heap space >> >> That's one: OOME >> >> You are out of memory. >> >>> May 27, 2016 11:33:36 AM >>> org.apache.catalina.core.StandardWrapperValve invoke SEVERE: >>> Servlet.service() for servlet Redirect threw exception >>> java.lang.IllegalStateException at >>> org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacad e. >> >>> java:407) >>> >>> >> at com.suncor.redirect.Redirect.doGet(Redirect.java:175) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App li >> >>> cationFilterChain.java:290) >>> >>> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilt >> >> erChain.java:206) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper Va >> >>> lve.java:233) >>> >>> >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alv >> >> e.java:191) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. ja >> >>> va:127) >>> >>> >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava >> >> :102) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa lv >> >>> e.java:109) >>> >>> >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:2 >> >> 98) >>> at >>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcess or >> >>> .java:864) >>> >>> >> at >> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.pr oce >> >> ss(Http11AprProtocol.java:579) >>> at >>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1 66 >> >>> 5) >>> >>> >> at java.lang.Thread.run(Thread.java:662) Thanks Shailesh jain >> >> That's two: IllegalStateException >> >> Given the stack trace, I'd guess that you tried to call >> sendError() on a response that has already been committed. >> > > Once you got an OOM though, is the rest still reliable ? It depends upon the application and the circumstances of the OOME. A single thread busting the heap can recover. A shared cache that grows without limit will likely cause the application to be completely unreliable. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJXTczwAAoJEBzwKT+lPKRYgLEP/34SfP6a99UUGvH4hi1KEVTZ ut7JwsqL1Zm1Dgjxc7Lx8KyECnU0b/cLcdkxfkQPLtqTH/lXvDxZCjQJc/+uidmi Y9gYF8BW+URs17YOg7FsULsPBkaG73wU+e1yhk6L8AJoGXorgOYwRADdavaaof92 QcIJN0IVQm0UNXJ9nKu+Kr+/OYj8BIOreS236h4m7s8Jhq1D4fWocImhrpHFdK9Q p4ENz0rC2wllNhcckCmfjtcCKJH+lWmORMUrm9oWQNyezGjLBZll9+/uBxoiZyMj 8j5nzOT/8xUpNKCPYBvhr1Z16CNCvIrEi3RWd+cqPi1L1Swrobyk6naQsuoOtCAJ DTfb9YxNFCb3sYjClY6i7Ietybr9OWrRV8Ku0IsfXjRacTQusE5RgOwywIWx4PYm aH5IdKwcuDcb0AxUU1qKVSO6YWnZhy2IXJ7moiUH4azkgNq0SqPw51YkXCWBx/bM 5e/me6cLZSawV95gyF2ddOpwosnddwaM5cYDYxojRnivvCwoojpgTppk6kd7AOiD 3sdPyfifD0uqC7xluuBoGawZYv81MI5Deh1X03bA/QR3A/cwhQWQK3ZuNcFlt0B/ 6ssiFJLg2k1oeAi5ay149p05Ng5ieQ/+zYZLoadF7NifT05KdBMvZr9y60CQaLD3 J6WKCaHH/qqVwiZclLUA =iqao -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org