[
https://issues.jboss.org/browse/AS7-6849?page=com.atlassian.jira.plugin.s...
]
Vlad Arkhipov commented on AS7-6849:
------------------------------------
It seems that the problem is in
[
https://github.com/jbossas/jboss-threads/blob/master/src/main/java/org/jb...].
createThread() creates new threads using creator's thread context class loader
(it's incorrect, isn't it? should it use worker's class loader instead?). The
simplest way to fix it is adding
{code}thread.setContextClassLoader(null);{code}
This issue also may be related to
https://issues.jboss.org/browse/JBTHR-20
ClassLoader memory leak with MDB
--------------------------------
Key: AS7-6849
URL:
https://issues.jboss.org/browse/AS7-6849
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
Reporter: Vlad Arkhipov
Assignee: Stefano Maestri
Priority: Critical
Attachments: leak.tar.gz
There are still some references to MDB class (NOT to the *instance*) if you undeploy an
archive from the AS. Sooner or later it leads to OutOfMemory Permgen exception after
multiple redeployments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira