Summary: | Memory Leak in Manager Start/Stop | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | James Norman <james.norman> |
Component: | Webapps:Manager | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 5.0.30 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Use this java class to start/stop webapps until OOMError happens |
Description
James Norman
2004-12-15 00:15:02 UTC
Created attachment 13756 [details]
Use this java class to start/stop webapps until OOMError happens
Use this java class to do rapid start/stop's of a web application to produce an
OutOfMemoryError. You will need to change the package and the SERVER field in
the class. Also, since this does not deal with authentication, you will need
to remove the authentication attributes for the manager application. This is
done by commenting the <resource-env-ref>, <security-constraint>,
<login-config> and <security-role> tags in
CATALINA_HOME/server/webapps/manager/WEB-INF/web.xml
I am not able to attach the struts-examples.war web application, it is 10k to large for bugzilla. You can download struts from: http://mirror.candidhosting.com/apache/struts/binaries/jakarta-struts-1.2.4.tar.gz Extract the file webapps/struts-examples.war Use this web application in conjunction with the attached file: WebPageConnector.java to reproduce the bug. Deploy the struts-examples.war application, then run the WebPageConnector, and the OutOfMemoryError will be reproduced. |