]
Mike Millson updated JBWEB-150:
-------------------------------
Comment: was deleted
Provide an identifier to relate web application to classloader in a
heap dump
-----------------------------------------------------------------------------
Key: JBWEB-150
URL:
https://jira.jboss.org/jira/browse/JBWEB-150
Project: JBoss Web
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core
Reporter: Mike Millson
Attachments: jbossweb_2_0_0_CP03-add_display_name.txt
When troubleshooting OutOfMemoryError issues in situations where the JVM is running
multiple applications, it would be very helpful for troubleshooting to be able to relate a
web application to the web app classloader.
It is proposed to sets the display-name of the war as a property on the web app
classloader so that it can be easily accessed when viewing a heap dump (e.g. with a tool
such as the Eclipse Memory Analyzer Tool).
For example, given the following web application deployment descriptor (web.xml):
<web-app>
<display-name>Testbox</display-name>
</web-app>
Inspection of the corresponding org.jboss.web.tomcat.service.WebAppLoader object in the
heap dump will show "Testbox" in the WebAppLoader displayName field.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: