4 Replies Latest reply on Mar 31, 2005 11:09 AM by Jason Price

    JBOSS 4.0.1sp1 clustering on gentoo 2004.3

    Jason Price Newbie

      I am attempting to install and configure some gentoo server for running jboss (the reason i went with gentoo is that we need only jboss and some remote access ssh,webmin,etc) i run into a problem. Jboss starts ok (starting "all" configuration as I want to cluster them) but I get an error with GMS. I am running on AMD64 with 64 bit version of latest jdk from sun (1.5.0_1). I'm sorry I can't give anymore detailed only the servers are work and I am home now (I need to try and sort it first thing monday morning!). Anyone got any ideas or pointers as I need to figure this out fairly soon.

        • 1. Re: JBOSS 4.0.1sp1 clustering on gentoo 2004.3
          Ben Wang Master

          My suggestion is to make sure JGroups work first. You can go to www.jgroups.org to check out the troubleshooting section.

          -Ben

          • 2. Re: JBOSS 4.0.1sp1 clustering on gentoo 2004.3
            Jason Price Newbie

            Managed to figure it out. Needed to add a multicast route (224.0.0.0) to the linux boxes so the machines could see each other. However I do have a problem with it. Everything seems to run ok, but after about 20 mins of the cluster running I get the following errors

            10:30:52,392 ERROR [RpcDispatcher] failed invoking method
            at java.lang.Thread.run(Thread.java:595)
            at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
            at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
            at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
            at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
            at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
            at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
            at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:220)
            at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
            at org.jboss.cache.TreeCache._replicate(TreeCache.java:2733)
            at org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:210)
            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.LockInterceptor.invoke(LockInterceptor.java:126)
            at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
            at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:37)
            at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
            at org.jboss.cache.TreeCache.commit(TreeCache.java:2783)
            java.lang.UnsupportedOperationException: commit() should not be called on TreeCache directly
            10:30:52,164 ERROR [RpcDispatcher] failed invoking method


            I can't find any refernce to this on google with regards to jboss. I have about 10 EJBS referenced locally by jsp pages. I have tried to set the Clustered proerty in jboss.xml but if I do It keeps saying I have missing or invalid invokers (none of the examples I can find mention anything about invokers). Its really frustrating I am almost there but this is really causing a problem!

            • 4. Re: JBOSS 4.0.1sp1 clustering on gentoo 2004.3
              Jason Price Newbie

              Managed to get back to this.

              Updating jgroups worked thank you.