]
Steve Ebersole updated HHH-3236:
--------------------------------
Fix Version/s: (was: 3.3.2)
3.3.x
Prevent classloader leaks to JBC and JGroups when using a shared
cache
----------------------------------------------------------------------
Key: HHH-3236
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3236
Project: Hibernate Core
Issue Type: Sub-task
Components: caching (L2)
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 3.3.x
JGroups spawns a number of threads when a channel is created. JBC can spawn an eviction
thread as well. A newly spawned thread inherits its thread context classloader from the
thread that spawned it. If a shared JBC CacheManager is used (e.g. in an appserver) it is
important to set the TCCL away from any application classloader and to the
CacheManager's TCCL before starting a cache. This ensures that the application
classloader doesn't leak to any JBC or JGroups threads.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: