geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janko Heilgeist (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4543) EAR classloader not garbage collected
Date Thu, 19 Feb 2009 06:59:01 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Janko Heilgeist updated GERONIMO-4543:
--------------------------------------

    Attachment: ear-with-tx.tar.gz

This EAR packages an EJB-jar and a WAR. The EJB exports an empty transactional method which
the WAR's servlet accesses during deployment. After deploying/undeploying the EAR there are
still live connections to the rootset:

{code}
Java Local Reference (from org.apache.geronimo.transaction.manager.TransactionTimer$CurrentTime@0x2aaab30aaed8)
exclude  :
--> org.apache.geronimo.transaction.manager.TransactionTimer$CurrentTime@0x2aaab30aaed8
(164 bytes) (field inheritedAccessControlContext:) exclude
--> java.security.AccessControlContext@0x2aaab30aafb0 (41 bytes) (field context:) exclude
--> [Ljava.security.ProtectionDomain;@0x2aaab30aba00 (136 bytes) (Element 14 of [Ljava.security.ProtectionDomain;@0x2aaab30aba00:)
exclude
--> java.security.ProtectionDomain@0x2aaab30aba90 (50 bytes) (field classloader:) exclude
--> org.apache.geronimo.kernel.config.MultiParentClassLoader@0x2aaab2a376b8 (156 bytes)
(field parents:) exclude
--> [Ljava.lang.ClassLoader;@0x2aaab3086ff0 (88 bytes) (Element 1 of [Ljava.lang.ClassLoader;@0x2aaab3086ff0:)
exclude
--> org.apache.geronimo.kernel.config.ChildrenConfigurationClassLoader@0x2aaab03bb338 (115
bytes) (field parent:) exclude
--> org.apache.geronimo.kernel.config.MultiParentClassLoader@0x2aaab2a37608 (156 bytes)
exclude 
{code}


> EAR classloader not garbage collected
> -------------------------------------
>
>                 Key: GERONIMO-4543
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4543
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2
>            Reporter: Janko Heilgeist
>         Attachments: ear-with-tx.tar.gz
>
>
> The TransactionTimer$CurrentTime thread inherits the AccessControlContext of the first
EAR/WAR/EJB-jar that carries out a transaction. Thus, the particular EAR/WAR/EJB-jar's classloader
is prevented from being GCed.
> See http://www.nabble.com/PermGen-space-issues-td22079768s134.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message