[JBossCache] - Error: StateTransferVersion 123 only supports transferring
by jyoonyang
Hello,
I am getting the following error at startup. Any idea?
12:17:42,175 INFO [TreeCache] locking the /ticket subtree to return the in-memory (transient) state
| 12:17:42,175 ERROR [RpcDispatcher] failed invoking method
| java.lang.IllegalArgumentException: Invalid node /ticket -- StateTransferVersion 123 only supports transferring FQN '/'
| at org.jboss.cache.statetransfer.StateTransferGenerator_123.generateStateTransfer(StateTransferGenerator_123.java:34)
| at org.jboss.cache.TreeCache._getState(TreeCache.java:2448)
| 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 org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
| at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:44)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
| at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:176)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
| at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:35)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
| at org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:220)
| at org.jboss.cache.TreeCache._replicate(TreeCache.java:3864)
| 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 org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
| at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:220)
| at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
| at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
| at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
| at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
| at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
| at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
| at java.lang.Thread.run(Thread.java:595)
I suspect it has something to do with calling registerClassLoader() and activateRegion(). I tried adding an empty HashMap in the node. But same error...
public void ini() {
| ...
| cache.put(FQN_TICKET, new HashMap());
|
| cache.registerClassLoader("/" + FQN_TICKET, this.getClass().getClassLoader());
| cache.activateRegion("/" + FQN_TICKET);
| ...
| }
Thanks,
Jennifer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999635#3999635
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999635
19 years, 3 months
[JBoss Seam] - Re: Lazy mans guide to developing SEAM!
by seamNoobie
>From MyEclipse Forum
anonymous wrote :
| Posted: Jan 09, 2007 - 11:24 AM Reply with quote Back to top
| First let me thank you for this, fantastic guide and a lot of users are going to appreciate this. I'm moving this ot the Documentation forum so folks can find it.
|
| Now to address a few things you mentioned:
|
| Quote:
|
| NOTE: MyEclipse is SUPPOSED to deploy as an WAR archive as well as exploded but I never get a valid war !!! as the application.xml gets munged...(e.g. <web-uri>risingstars.war.war</web-uri>).
|
| Is your project named with a dot in the name? That would be screwing up the deployment...
|
| Quote:
|
| (NOte to self - RTFM in MyEclipse as I can't 'NOT' deploy a jar file from my project to the exploded or archived project).
|
| Deployment filtering is comming soon, I promise! :)
|
| _________________
| Riyad
| MyEclipse Support
| Please do us a big favor and remember to vote for MyEclipse at the
| JDJ Reader's Choice
| Awards. We really appreciate it!
|
Even more good news from the MyEclipse guys.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999625#3999625
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999625
19 years, 3 months