This content has been marked as final.
Show 2 replies
-
1. Re: Regional classloaders and state transfer
manik May 3, 2007 11:19 AM (in response to fredrikj)Hi - do you have a unit test for this?
Does your test correspond to any of the existing test cases in http://fisheye.jboss.com/browse/JBoss/JBossCache/tests/functional/org/jboss/cache/marshall? -
2. Re: Regional classloaders and state transfer
brian.stansberry May 3, 2007 11:31 AM (in response to fredrikj)The way to handle this use case is configure the cache with "InactiveOnStartup" set to true. Then:
1) Create cache
2) Start cache. (no state transfer occurs due to "InactiveOnStartup")
3) For each region:
a) register classloader
b) activateRegion (state transfer for that region occurs and uses the correct classloader)
It would be nice to support doing it the way you described. Requires better integration between the StateTransferManager and the RegionManager.