Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.1
-
None
Description
The finalize() method in ServiceClient.java incorrectly calls super.finalize() before cleaning up:
protected void finalize() throws Throwable
{ super.finalize(); cleanup(); }This leads to EJBClassLoader errors in GlassFish when the garbage collector runs. To fix this, it should be changed to:
// Manual finalizer chaining
@Override protected void finalize() throws Throwable {
try
finally
{ super.finalize(); }}
See attached stack trace for details.
Attachments
Attachments
Issue Links
- is related to
-
AXIS2-4007 Axis2 1.4.1 client stub not freed
-
- Resolved
-