tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Wichman <>
Subject Re: tomcat hangs, top displays 99%
Date Wed, 21 Jul 2004 06:56:23 GMT
sorry for the late reply, I've been allocated to other projects in the 
Nope it doesn't have the header included, but it was worth a shot.

Does anybody know where can I find information on how tomcat will respond 
when the load gets to high? Will it start throwing exceptions, or is there 
no general response?
Also it seems that during stresstesting, tomcat restarts, but I don't know 
for sure (I see deploy messages).
Is it build into tomcat to restart periodically?


At 03:04 PM 7/8/2004, Jon Wingfield wrote:
>Just a thought. Does your error page also have header.jsp included?
>Have you got yourself into an infinite loop of "Session already 
>invalidated" IllegalStateExceptions?
>Hans Wichman wrote:
>>while stresstesting my application using tomcat 4.1.29, oracle, dbcp 
>>connection pooling and a stresstest tool, I see the amount of my 
>>connections in my pool fluctuate (as expected). At a certain while I 
>>still have plenty connections left in the pool, errors start occuring:
>>org.apache.jasper.JasperException: setAttribute: Session already invalidated
>>and after this has happened for a while (some processing proceeds 
>>normally), I get:
>>     at 
>> org.apache.jasper.servlet.JspServletWrapper.service( 
>>     at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(
>>     at org.apache.jasper.servlet.JspServlet.service(
>>... root cause ...
>>     at 
>> org.apache.jasper.runtime.PageContextImpl.handlePageException(

>>     at org.apache.jsp.header_jsp._jspService(
>>     at org.apache.jasper.runtime.HttpJspBase.service(
>>at this point tomcat hangs. If I shutdown the stresstest tool, tomcat 
>>still displays at 99% when running top (freebsd).
>>Does anybody know why these errors occur, and why after stopping the 
>>stresstest, tomcat is still at 99%?
>>I don't see any out of memory errors or something like that, and don't 
>>really know where to start exploring the problem.
>>thanks in advance
>>Hans W
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message