Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5
-
Component/s: JPA/Hibernate
-
Labels:None
-
Number of attachments :
Description
The JPA extension does not release cached EntityManagerFactory instance of PersistenceInfoImpl instances. This leads to classloader errors on redployment as classes from the classloader of the previous deployment are used with the current deployment classloader. This also results in a memory leak as references to undeployed classloaders are not released.
This fix I will check in creates an SPI listener for use when a classloader is unloaded. This can be used to clear the above cached information.
fixed in r8837.