[jboss-user] [JBossCache] - Re: TreeCache - Does my cached objects must implement Serial

balderman@gmail.com do-not-reply at jboss.com
Tue Jan 30 12:28:03 EST 2007


Here you are:

log4j:WARN No appenders could be found for logger (org.jboss.cache.PropertyConfigurator).
  | log4j:WARN Please initialize the log4j system properly.
  | 
  | -------------------------------------------------------
  | GMS: address is 137.72.82.60:3983
  | -------------------------------------------------------
  | java.lang.RuntimeException: java.io.InvalidClassException: com.bmc.idm.common.cache.Person; class invalid for deserialization
  | 	at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5716)
  | 	at org.jboss.cache.TreeCache.get(TreeCache.java:3573)
  | 	at org.jboss.cache.TreeCache.get(TreeCache.java:3554)
  | 	at org.jboss.cache.loader.CacheLoaderManager.preload(CacheLoaderManager.java:255)
  | 	at org.jboss.cache.loader.CacheLoaderManager.preload(CacheLoaderManager.java:278)
  | 	at org.jboss.cache.loader.CacheLoaderManager.preloadCache(CacheLoaderManager.java:235)
  | 	at org.jboss.cache.TreeCache.startService(TreeCache.java:1509)
  | 	at com.bmc.idm.common.cache.JBossTreeCacheService.<init>(JBossTreeCacheService.java:23)
  | 	at com.bmc.idm.common.cache.CacheFactory.getCacheService(CacheFactory.java:7)
  | 	at com.bmc.idm.common.cache.Gui.createAndShowGUI(Gui.java:181)
  | 	at com.bmc.idm.common.cache.Gui.access$3(Gui.java:157)
  | 	at com.bmc.idm.common.cache.Gui$5.run(Gui.java:265)
  | 	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
  | 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
  | 	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
  | 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  | 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  | 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  | 	at java.awt.EventDispatchThread.run(Unknown Source)
  | Caused by: java.io.InvalidClassException: com.bmc.idm.common.cache.Person; class invalid for deserialization
  | 	at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
  | 	at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
  | 	at java.io.ObjectInputStream.readClassDesc(Unknown Source)
  | 	at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  | 	at java.io.ObjectInputStream.readObject0(Unknown Source)
  | 	at java.io.ObjectInputStream.readObject(Unknown Source)
  | 	at java.util.HashMap.readObject(Unknown Source)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
  | 	at java.io.ObjectInputStream.readSerialData(Unknown Source)
  | 	at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  | 	at java.io.ObjectInputStream.readObject0(Unknown Source)
  | 	at java.io.ObjectInputStream.readObject(Unknown Source)
  | 	at org.jboss.cache.loader.FileCacheLoader.loadAttributes(FileCacheLoader.java:486)
  | 	at org.jboss.cache.loader.FileCacheLoader.get(FileCacheLoader.java:136)
  | 	at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:443)
  | 	at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:353)
  | 	at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:180)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.InvalidationInterceptor.invoke(InvalidationInterceptor.java:60)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:364)
  | 	at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:138)
  | 	at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5710)
  | 	... 18 more
  | 

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

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



More information about the jboss-user mailing list