[jboss-user] [JBossCache] - Re: jboss cache + glassfish - problem using GenericTransacti

bstansberry@jboss.com do-not-reply at jboss.com
Thu Jun 28 12:19:37 EDT 2007


Seems you've found a bug: http://jira.jboss.com/jira/browse/JBCACHE-1114.  Unfortunately, there's no simple workaround.

As for the javax.management.InstanceNotFoundException, there is a solution for that. From pt.iol.services.cache.CacheContext, don't call TreeCache.stop().  Call TreeCache.stopService().  Make equivalent changes for any call to create(), start() or destroy().  In JBC 1.x, create()/start()/stop()/destroy() only work properly when JBC is deployed inside JBoss AS, while createService()/startService()/stopService()/destroyService() will do what you want.  See http://jira.jboss.com/jira/browse/JBCACHE-1001 and related forum thread for a discussion on why that is.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058835#4058835

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058835



More information about the jboss-user mailing list