TreeCache fails when the PartitionName is changed.
awclemen Apr 25, 2005 4:46 PM
I'm running two jboss servers with the following systems:
10:14:29,144 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc.
10:14:29,144 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_02-b09,Sun Microsystems Inc.
10:14:29,145 INFO [ServerInfo] OS-System: Linux 2.6.5-7.97-default,i386
When I try to access the application I get the error below. I don't recieve any error if one of the machines is disabled.
13:42:31,953 ERROR [RpcDispatcher] failed invoking method
java.lang.UnsupportedOperationException: rollback() should not be called on TreeCache directly
at org.jboss.cache.TreeCache.rollback(TreeCache.java:2787)
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:37)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:126)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at org.jboss.cache.interceptors.CreateIfNotExistsInterceptor.invoke(CreateIfNotExistsInterceptor.java:47) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:210)
at org.jboss.cache.TreeCache._replicate(TreeCache.java:2733)
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)
any ideas? Thanks in advance....
-- Andy