Hibernate jar in weblogic shared library causes memory leak

Description

After exhaustive investigation we realized that when a WAR uses a shared library in Weblogic, EJBs and many other object instances are not being garbage-collected, even after the undeployment and deletion of the war.

weblogic.xml:

 

inside common libs war :

 

 


We are absolutely sure that no other library inside SSPCommonLibsWar causes this because we exclude them one-by-one.
Only when hibernate-core-5.2.11.Final.jar existed inside SSPCommonLibsWar the memory leak happens.

Environment

Weblogic 12.2.1-3-0
Hibernate 5.2.11
Java 8

Status

Assignee

Unassigned

Reporter

Theodore Chaikalis

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure