Hi Ben,

when i use JBoss 4.0.1sp1 + Apache2 with mod_jv v1.2 i as LoadBalancer i get 
some other exceptions:

Exception #1:

  | 11:56:26,250 ERROR [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.GeneratedMethodAccessor185.invoke(Unknown Source)
  |     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.GeneratedMethodAccessor181.invoke(Unknown Source)
  |     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)
  | 

Exception #2:

  | 11:56:24,343 ERROR [IdentityLock] read lock for 
/JSESSION/wind3gui/xscsNjmfjJnfLzgrpuMr1w** could not be acquired after 15000 
ms. Lock map ownership Read lock owners: []
  | Write lock owner: <SWIFT:1349>:1268
  |  (caller=Thread[TP-Processor1,5,jboss])
  | 11:56:24,343 INFO  [STDOUT] org.jboss.cache.lock.TimeoutException: lock for 
/JSESSION/wind3gui/xscsNjmfjJnfLzgrpuMr1w** could not be acquired after 
15000ms. Lock map ownership  Read lock owners: []
  | Write lock owner: <SWIFT:1349>:1268
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.lock.IdentityLock.acquireReadLock(IdentityLock.java:227)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.Node.acquireReadLock(Node.java:418)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.Node.acquire(Node.java:399)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.LockInterceptor.lock(LockInterceptor.java:187)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:134)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.CreateIfNotExistsInterceptor.invoke(CreateIfNotExistsInterceptor.java:47)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:51)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3132)
  | 11:56:24,343 INFO  [STDOUT]         at 
org.jboss.cache.TreeCache.get(TreeCache.java:1664)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.TreeCache.get(TreeCache.java:1648)
  | 11:56:24,359 INFO  [STDOUT]         at 
sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
  | 11:56:24,359 INFO  [STDOUT]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 11:56:24,359 INFO  [STDOUT]         at 
java.lang.reflect.Method.invoke(Method.java:324)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | 11:56:24,359 INFO  [STDOUT]         at $Proxy133.get(Unknown Source)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.JBossCacheService._get(JBossCacheService.java:304)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.nodeDirty(JBossCacheService.java:576)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.nodeModified(JBossCacheService.java:570)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.TreeCache.notifyNodeModified(TreeCache.java:3203)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.TreeCache._put(TreeCache.java:2442)
  | 11:56:24,359 INFO  [STDOUT]         at 
sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
  | 11:56:24,359 INFO  [STDOUT]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 11:56:24,359 INFO  [STDOUT]         at 
java.lang.reflect.Method.invoke(Method.java:324)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.LockInterceptor.rollback(LockInterceptor.java:285)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.LockInterceptor.access$200(LockInterceptor.java:23)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.LockInterceptor$SynchronizationHandler.afterCompletion(LockInterceptor.java:366)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.cache.interceptors.OrderedSynchronizationHandler.afterCompletion(OrderedSynchronizationHandler.java:79)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1418)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.tm.TransactionImpl.completeTransaction(TransactionImpl.java:1090)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:341)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.tm.TxManager.commit(TxManager.java:200)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:466)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:248)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:37)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
  | 11:56:24,359 INFO  [STDOUT]         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | 

I don't known but could it be that the reason of exception #2 is an overloaded 
network? What does you mean?

This exception comes rarer as without mod_jk but it comes:

  | 22.Aug 16:52:19 ERROR [ControllerServletBase] [No HttpSession] doPost(): 
java.lang.RuntimeException:
  |  JBossCacheManager.processSessionRepl(): failed to replicate session.
  | 

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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to