[jboss-user] [JBossCache] - Re: java.io.NotSerializableException: WebappClassLoader

2007-04-05 Thread philippe.suray
I have a web app that serves images to a client. I want that these images are put in the cache. My idea is to run Jboss in order to manage the cache and Tomcat in front of JBoss to put and retreive images. Could it be possible? Could you explain me the reason of the example at chapter 8.2.1? I

[jboss-user] [JBossCache] - Re: java.io.NotSerializableException: WebappClassLoader

2007-04-05 Thread philippe.suray
I ran another test: deploy my webapp in Tomcat inside JBoss, in my ServletContextListener i init the cache with:MBeanServer server =MBeanServerLocator.locateJBoss(); | treecache = (TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class, jboss.cache:service=TreeCache, server); |

[jboss-user] [JBossCache] - Re: java.io.NotSerializableException: WebappClassLoader

2007-04-05 Thread philippe.suray
Thank you for your response. I tried it but unfortunately i have another exception:17:09:20,937 INFO [STDOUT] 17:09:20,921 ERROR [TreeCacheSingleton] org.jboss.cache.TreeCache | java.lang.ClassCastException: org.jboss.cache.TreeCache | at $Proxy52.getInstance(Unknown Source) | at

[jboss-user] [JBossCache] - java.io.NotSerializableException: WebappClassLoader

2007-04-04 Thread philippe.suray
Hello, I would like to use TreeCache inside JBossAS and access it from Tomcat running outside JBossAS. - JBoss 4.0.5 GA - Tomcat 5.5.20 - WinXP - j2sdk1.5.0_07 I have a cache-service.xml config in the deploy directory of JBoss, here is the config: | ?xml version=1.0 encoding=UTF-8? |