[jboss-user] [JBossCache] - Re: Problem reading (deserializing) objects from FileCacheLo

arjan do-not-reply at jboss.com
Wed Nov 21 06:31:38 EST 2007


... No differerence.

So, let's summarize:


  | [li]I have a TreeCache deployed as service (deploy/treecache-service.xml)[/li]
  | [li]I access the TreeCache over JMX/JNDI (makes no differerence)[/li]
  | [li]Using the FileCacheLoader fails with ClassNotFoundExceptions[/li]
  | [li]Since TreeCache and my webapp are loaded with different classloaders, the MXBean invocation code switches the classloader to the TreeCache classloader for the duration of the MXBean call.[/li]
  | 
  | 
  | It looks like the TreeCache is not using my registered class loader at all! (the MarshalledValueInputStream is trying to do it on it's own, without TreeCache's region information).
  | 
  | 
  | This sounds all pretty plausible to me. But what should I do? Should I provide a special (web-app local) class loader for the region I use in my webapp? 
  | 
  | Pfffff.
  | 
  | Arjan
  | 

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

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



More information about the jboss-user mailing list