[jboss-jira] [JBoss JIRA] Created: (JBAS-5915) CacheManager to set TCCL before creating/starting caches

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Aug 29 16:41:38 EDT 2008


CacheManager to set TCCL before creating/starting caches
--------------------------------------------------------

                 Key: JBAS-5915
                 URL: https://jira.jboss.org/jira/browse/JBAS-5915
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Clustering
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: JBossAS-5.0.0.CR2


Before calling create or start on a JBC cache, CacheManager needs to make sure the TCCL is set to the cache's CL.  This ensures no application CL will leak to threads JBC spawns during startup.

This wasn't necessary in 4.x as caches used by AS services were deployed directly into deploy and started by the deployer.  Now they lazy initialized when needed by JEE deployments, so an application CL might be the TCCL.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list