[jboss-jira] [JBoss JIRA] Updated: (JBWEB-150) Provide an identifier to relate web application to classloader in a heap dump

Mike Millson (JIRA) jira-events at lists.jboss.org
Thu Oct 15 08:02:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBWEB-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Millson updated JBWEB-150:
-------------------------------

    Attachment: testbox.war


App used for testing on EAP 4.3 CP06.

> 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, testbox.war
>
>
> 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 and org.jboss.web.tomcat.service.WebAppClassLoader objects in the heap dump will show "Testbox" in the displayName field.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list