0 Replies Latest reply on Feb 14, 2005 5:39 AM by pavelkrupets

    Error during web application execution on JBoss 4.0.1...

    pavelkrupets

      I haven't changed anything in JBoss configuration and I use server/all deployment. I added web application with element in web.xml. Application is deployed through JBoss farm.

      There are 2 JBoss instances running one on Windows Server 2003 and another on Linux.

      When I access web application through server1 I've got following error on server2 (the same on server1 if I access web application through server2)

      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: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)


      Also TomcatClusteringCache.printDetails() prints following lines:

      /JSESSION
      
      /D76LReQ+j0nUTjMiUtXJ8g**
      D76LReQ+j0nUTjMiUtXJ8g**: null
      
      /tn3-gxU3lhL7dD8Tl3w77A**
      tn3-gxU3lhL7dD8Tl3w77A**: null


      Don't know why this error can occur. Can anyone help me?