I have been on this a bit more,
the last mentioned exception still is the same.
I have been trying to get the Hibernate second level cache up, but as soon as I run more
than one node in a cluster it starts failing, but to make it interessting, not always.
It complains about none serializeability of an object, (the entitys used all implement
serializable). I have tried through some settings (Pessimistic/Optimistic, RW/RC/RUC/SERI,
INV-ASYNC/INV_SYNC). There is some difference in the behavior, but it always ends with the
same problem -> Here a shot from the output:
| 2006-09-05 17:12:16,989 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx
| if not present for Thread[http-o06-2.somewhere.de%2F172.16.20.10-8080-3,5,jboss]
| 2006-09-05 17:12:16,989 DEBUG [org.jboss.cache.transaction.DummyTransaction]
registering synchronization handler tx=org.jboss
| .cache.transaction.DummyTransaction@6f975a, handlers=[]
| 2006-09-05 17:12:16,989 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx
| if not present for Thread[http-o06-2.somewhere.de%2F172.16.20.10-8080-3,5,jboss]
| 2006-09-05 17:12:16,989 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Transaction
org.jboss.cache.transaction.DummyTrans
| action@6f975a is already registered.
| 2006-09-05 17:12:16,989 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for tx=org.jboss.cac
| he.transaction.DummyTransaction@6f975a,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<o06-2:3299
| 3>:13, tx=org.jboss.cache.transaction.DummyTransaction@6f975a)]
| 2006-09-05 17:12:16,990 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for tx=org.jboss.cach
| e.transaction.DummyTransaction@6f975a,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<o06-2:32993
| >:13, tx=org.jboss.cache.transaction.DummyTransaction@6f975a)]
| 2006-09-05 17:12:16,990 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running
commit phase. One phase? true
| 2006-09-05 17:12:16,991 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
local commit/rollback method for GlobalTr
| ansaction:<o06-2:32993>:13
| 2006-09-05 17:12:16,991 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
commit phase
| 2006-09-05 17:12:17,324 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx
| if not present for Thread[http-o06-2.somewhere.de%2F172.16.20.10-8080-3,5,jboss]
| 2006-09-05 17:12:17,331 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx
| if not present for Thread[http-o06-2.somewhere.de%2F172.16.20.10-8080-3,5,jboss]
| 2006-09-05 17:12:17,331 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Transaction
TransactionImpl:XidImpl[FormatId=257,
| GlobalId=o06-2.somewhere.de/11, BranchQual=, localId=11] is already registered.
| 2006-09-05 17:12:17,337 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx
| if not present for Thread[http-o06-2.somewhere.de%2F172.16.20.10-8080-3,5,jboss]
| 2006-09-05 17:12:17,337 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Transaction
TransactionImpl:XidImpl[FormatId=257,
| GlobalId=o06-2.somewhere.de/11, BranchQual=, localId=11] is already registered.
| 2006-09-05 17:12:17,338 DEBUG [org.jboss.cache.interceptors.InvalidationInterceptor]
Is a CRUD method
| 2006-09-05 17:12:17,338 DEBUG [org.jboss.cache.interceptors.InvalidationInterceptor]
Cache [o06-2:32996] replicating _evict(/
| de/somewhere/clustertest/persi/Nation/de.somewhere.clustertest.persi.Nation#1)
| 2006-09-05 17:12:17,338 ERROR [org.jgroups.blocks.RpcDispatcher]
exception=java.lang.IllegalArgumentException: LegacyTreeCach
| eMarshaller.extractFqn(): Unknown method call name: _evict
| 2006-09-05 17:12:17,339 INFO [org.jboss.cache.interceptors.TxInterceptor] There was a
problem handling this request
| java.io.NotSerializableException: RpcDispatcher returned a null. This is most often
caused by args for _replicate(_evict(/de
| /somewhere/clustertest/persi/Nation/de.somewhere.clustertest.persi.Nation#1)) not
being serializable.
| at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4166)
| at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4113)
| at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4214)
| 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.InvalidationInterceptor.invalidateAcrossCluster(InvalidationInterceptor.java:157)
| at
org.jboss.cache.interceptors.InvalidationInterceptor.invoke(InvalidationInterceptor.java:77)
|
|
The things that I pulled out of this is that
1.)[org.jboss.cache.interceptors.InvalidationInterceptor] Is a CRUD method
2.) There is an illegal arg exception about evicting
3.) ends with not serializable exception due to the preceding error
I havent had a chance to run through the JCache code to look into this and I thing I wont
until I have tried the 4.0.5.RC1, unless this points to some obvious misstakes that I am
overseeing. So I'll gladly take any hints !
Sincerely
Marc
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969468#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...