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