[jboss-user] [JBossCache] - Class not found JBossObjectStreamFactory$JBossObjectInputStr

ben_ben do-not-reply at jboss.com
Fri Mar 30 08:23:15 EDT 2007


Hi,

I've implemented a clustered cache on JBoss and, using one machine in isolation, everything seems fine. However, as soon as I cluster and a rollback takes place I get the following exception...

Caused by: java.lang.NoClassDefFoundError: org/jboss/cache/marshall/JBossObjectStreamFactory$JBossObjectInputStreamOverride
  | 	at java.lang.Class.forName0(Native Method)
  | 	at java.lang.Class.forName(Class.java:164)
  | 	at org.jboss.cache.marshall.ObjectSerializationFactory.<clinit>(ObjectSerializationFactory.java:39)
  | 	at org.jboss.cache.marshall.VersionAwareMarshaller.objectToByteBuffer(VersionAwareMarshaller.java:128)
  | 	at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:181)
  | 	at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:163)
  | 	at org.jboss.cache.TreeCache.callRemoteMethodsViaReflection(TreeCache.java:4404)
  | 	at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4358)
  | 	at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4311)
  | 	at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4422)
  | 	at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110)
  | 	at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88)
  | 	at org.jboss.cache.interceptors.ReplicationInterceptor.runPreparePhase(ReplicationInterceptor.java:152)
  | 	at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:69)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:861)
  | 	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1126)
  | 	... 10 more

Has anyone got any ideas why it can find the rest of the jboss cache classes but not this one?

Thanks

Ben

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

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



More information about the jboss-user mailing list