I am fairly new to JBoss Clustering and am getting an error with HTTP Session 
Replication. The session state seems to be replicated fine. But I am gettting 
the following error in the logs. The  JVM on the boxes is slightly different 
(1.4.2_06 & 1.4.2_04), would this be causeing my problem?

Thanks



  | 2005-03-29 11:10:07,468 DEBUG 
[org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): 
session is dirty. Will increment version from: 1 and replicate.
  | 2005-03-29 11:10:10,734 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheService] nodeDirty(): session 
in-memory data is invalidated with id: aVBKCmoxOmjsjYwUdzRyVA** and verion id: 3
  | 2005-03-29 11:10:10,781 ERROR [org.jgroups.blocks.RpcDispatcher] failed 
invoking method
  | java.lang.UnsupportedOperationException: commit() should not be called on 
TreeCache directly
  |     at org.jboss.cache.TreeCache.commit(TreeCache.java:2783)
  |     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:324)
  |     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:324)
  |     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:534)
  | 2005-03-29 11:10:11,500 DEBUG 
[org.jboss.web.tomcat.tc5.session.ClusteredSession] initAfterLoad(): initialize 
the transient variables ...
  | 2005-03-29 11:10:11,500 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] loadSession(): id= 
aVBKCmoxOmjsjYwUdzRyVA**, 
session=SessionBasedClusteredSession[aVBKCmoxOmjsjYwUdzRyVA**]
  | 2005-03-29 11:10:11,515 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to 
store and replicate session with id aVBKCmoxOmjsjYwUdzRyVA**
  | 2005-03-29 11:10:11,515 DEBUG 
[org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): 
session is dirty. Will increment version from: 3 and replicate.
  | 2005-03-29 11:10:12,265 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheService] nodeDirty(): session 
in-memory data is invalidated with id: aVBKCmoxOmjsjYwUdzRyVA** and verion id: 5
  | 2005-03-29 11:10:12,296 ERROR [org.jgroups.blocks.RpcDispatcher] failed 
invoking method
  | java.lang.UnsupportedOperationException: commit() should not be called on 
TreeCache directly
  |     at org.jboss.cache.TreeCache.commit(TreeCache.java:2783)
  |     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:324)
  |     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:324)
  |     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:534)
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871923


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to