2 Replies Latest reply on Apr 22, 2005 7:08 AM by Premlatha Sundararajan

    ERROR [RpcDispatcher] failed invoking method

    Premlatha Sundararajan Newbie

      Hi,
      i'm able to get two instances(using the configuration of "all") of jboss4.0.1 app server to cluster in the DefaultPartition. i deploy my ear by dropping it in the "farm " directory, of one server instances, and i'm able to see ,that it is deployed across the cluster(i.e on both the server instances).i'm also able to access my application which is a simple jsp page calling on a stateless session bean. , but when i do so i see the following error on my console(though my application is running fine).Please let me know if i need to correct something.
      ps: this error is only on the console of the instance where i droppped my ear

      Thanks


      16:37:19,988 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.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(Messa
      geDispatcher.java:554)
      at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
      at java.lang.Thread.run(Thread.java:534)
      16:37:36,815 INFO [STDOUT] Can't find resource org.jboss.web.tomcat.session.Loc
      alStrings org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader@12929b2
      16:37:36,815 INFO [STDOUT] [Ljava.net.URL;@5a25f3

        • 1. Re: ERROR [RpcDispatcher] failed invoking method
          Ben Wang Master

          This is a harmless message. It is fixed in (the coming) 4.0.2 release.

          -Ben

          • 2. Re: ERROR [RpcDispatcher] failed invoking method
            Premlatha Sundararajan Newbie

            hi,
            i have a new error, this is when i try to access a stateful session bean from a JSP page.

            this error is on the console of the server instance, from where i'm accessing the page.
            15:57:02,609 INFO [STDOUT] Can't find resource org.jboss.web.tomcat.session.LocalStrings org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader@7c7894
            15:57:02,609 INFO [STDOUT] [Ljava.net.URL;@10e284f


            and this error on the console of the other insatnce in the cluster

            15:57:31,546 ERROR [GMS] [blr2-2f-115:1450 (additional data: 18 bytes)] received
            view <= current view; discarding it (current vid: [blr2-2f-115:1420 (additional
            data: 18 bytes)|3], new vid: [blr2-2f-115:1420 (additional data: 18 bytes)|3])
            15:57:52,750 ERROR [RpcDispatcher] failed invoking method

            well,.... i'm trying to achieve failover/session replication...., which fails , i've followed the documents in the wiki.
            another info i'd like to give you is , i'm using my own partition, which seems to work fine. is there a document where i could integrate all the steps for multiple instances/cluster/session replication??, i've seen the wiki pages, and i don't think i've missed anything...it'd be great if someone could help me.

            thanks
            ps: where can i get some info on how to change the mcast to separate clusters