i tried to run \JBossCache-all-2.0.0.ALPHA1\examples\PojoCache\annotated50 
using the same configuration and got the following error:


-------------------------------------------------------
GMS: address is 192.168.10.222:4578
-------------------------------------------------------

-------------------------------------------------------
GMS: address is 192.168.10.222:4582
-------------------------------------------------------
org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to 
marshall object of type class examples.Student
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2110)
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2045)
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2177)
        at org.jboss.cache.RPCManager.callRemoteMethods(RPCManager.java:65)
        at 
org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:84)
        at 
org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:62)
        at 
org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:114)
        at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:86)
        at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
        at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:290)
        at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:128)
        at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
        at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:151)
        at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
        at 
org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:61)
        at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3803)
        at org.jboss.cache.TreeCache.put(TreeCache.java:1556)
        at org.jboss.cache.TreeCacheProxyImpl.put(TreeCacheProxyImpl.java:226)
        at org.jboss.cache.pojo.impl.InternalHelper.put(InternalHelper.java:162)
        at 
org.jboss.cache.pojo.impl.SerializableObjectHandler.putIntoCache(SerializableObjectHandler.java:76)
        at 
org.jboss.cache.pojo.impl.SerializableObjectHandler.put(SerializableObjectHandler.java:60)
        at 
org.jboss.cache.pojo.impl.PojoCacheDelegate.putObjectII(PojoCacheDelegate.java:179)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl.putObject(PojoCacheImpl.java:139)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:117)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.attach3085019539260813833(PojoCacheImpl$PojoCacheImplAdvisor.java)
        at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:109)
        at 
test.examples.StudentMaintTest.testPropagation(StudentMaintTest.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at 
com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:69)
        at junit.textui.TestRunner.doRun(TestRunner.java:109)
        at 
com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
        at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
        at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: java.lang.Exception: Don't know how to marshall object of type class 
examples.Student
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallObject(TreeCacheMarshaller200.java:253)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallMap(TreeCacheMarshaller200.java:328)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallObject(TreeCacheMarshaller200.java:238)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallMethodCall(TreeCacheMarshaller200.java:279)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallObject(TreeCacheMarshaller200.java:182)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallMethodCall(TreeCacheMarshaller200.java:279)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.marshallObject(TreeCacheMarshaller200.java:182)
        at 
org.jboss.cache.marshall.TreeCacheMarshaller200.objectToStream(TreeCacheMarshaller200.java:82)
        at 
org.jboss.cache.marshall.VersionAwareMarshaller.objectToByteBuffer(VersionAwareMarshaller.java:121)
        at 
org.jgroups.blocks.RpcDispatcher.callRemoteMethod(RpcDispatcher.java:205)
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2104)
        ... 50 more

org.jboss.cache.pojo.PojoCacheException: PojoTreeCache: 
org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to 
marshall object of type class examples.Student
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:122)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.attach3085019539260813833(PojoCacheImpl$PojoCacheImplAdvisor.java)
        at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
        at 
org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:109)
        at 
test.examples.StudentMaintTest.testPropagation(StudentMaintTest.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


Process finished with exit code -1


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997038
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to