[
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$currentt...@0x2aaab30aaed8)
exclude :
-->
org.apache.geronimo.transaction.manager.transactiontimer$currentt...@0x2aaab30aaed8
(164 bytes) (field inheritedAccessControlContext:) exclude
--> java.security.accesscontrolcont...@0x2aaab30aafb0 (41 bytes) (field
context:) exclude
--> [Ljava.security.ProtectionDomain;@0x2aaab30aba00 (136 bytes) (Element 14 of
[Ljava.security.ProtectionDomain;@0x2aaab30aba00:) exclude
--> java.security.protectiondom...@0x2aaab30aba90 (50 bytes) (field
classloader:) exclude
--> org.apache.geronimo.kernel.config.multiparentclassloa...@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.childrenconfigurationclassloa...@0x2aaab03bb338
(115 bytes) (field parent:) exclude
--> org.apache.geronimo.kernel.config.multiparentclassloa...@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.