tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Gonzalez <miguel_3_gonza...@yahoo.es>
Subject tomcat pausing and process killed
Date Wed, 09 May 2012 14:25:18 GMT
Dear all,

  I have tomcat 5.5.27 and jdk 1.5.0_17

  As someone suggested to the list I enabled HeapDumpOnOutOfMemoryError. I have javamelody
running to monitor tomcat. The only thing that I see is that memory use increases just before
the system crashed.


  The system has crashed only showing this in the catalina.log:

  May 8, 2012 12:03:48 PM org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Character decoding failed. Parameter skipped.
java.io.CharConversionException: isHexDigit
        at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:87)
        at
org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:48)
        at org.apache.tomcat.util.http.Parameters.urlDecode(Parameters.java:411)
        at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:393)
        at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:344)
        at org.apache.catalina.connector.Request.parseParameters(Request.java:2401)
        at org.apache.catalina.connector.Request.getParameterNames(Request.java:1047)
        at org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:369)
        at
javax.servlet.ServletRequestWrapper.getParameterNames(ServletRequestWrapper.java:178)
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1225)
        at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:185)
        at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:159)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:482)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)
May 8, 2012 12:03:48 PM org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.


Many entries like: May 8, 2012 12:03:48 PM org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.

until I get :

May 8, 2012 1:50:41 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
May 8, 2012 1:50:41 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-443


No heapdump file that I can find (I searched for hprof, heapdump, javacore, nothing).

I have just added to the catalina opts this:

-XX:HeapDumpPath=/opt/tomcat5/logs/

Just in case it does need a specific place to save the dumps generated.


Not sure if the  isHexDigit exception is causing this. but it happens 2 hours before the system
breaks.

I really don't know what to enable to get to know what is causing Tomcat to crash

Regards,

Miguel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message