...
JavaBean Introspector cache
Tomcat calls java.beans.Introspector.flushCaches();
when an app is stoppped.
JDBC driver registration
If a webapp contains a JDBC driver (e.g. in WEB-INF/lib), the driver will be registered with the DriverManager
when it is first used. When the application is stopped, the driver should be deregistered with DriverManager
to avoid a classloader leak. Since applications usually forget this, tomcat helps by deregistering the driver.
RMI target
Summary matrix
Leak type | Detected by tomcat | Fixed by tomcat | Possible enhancements |
Custom | >=6.0.24 | >=6.0.24 | Detect child classloaders, improve thread safety |
Webapp class instance as | >=6.0.24 | >=6.0.24 | Detect child classloaders, improve thread safety |
Webapp class instance indirectly held through a | no | no | Renew threads in the worker pool |
| >=6.0.24 | >=6.0.24 | improve thread safety |
| >=6.0.24 |
| Detect child classloaders, don't stop |
| >=6.0.24 |
| Detect child classloaders, don't stop |
| >=6.0.24 |
|
|
static class variables |
| > 6.0.? |
|
|
| > 6.0.? |
|
JDBC driver registration |
...
> 6.0.? | > 6.0.? |
| |
RMI Target |
| > 6.0.? |
|
RMI target
Summary matrix
Leak type | Detected by tomcat | Fixed by tomcat | Possible enhancements |
...
References
...