4 Replies Latest reply on Nov 18, 2010 10:45 AM by wdfink

    Facing issue with the clustering in JBoss 5

    saurvals

      Hi All,

       

      Currently we are upgrading our Jboss server to JBoss 5 and we are facing some issues with clustering.

      We are trying to do clustering of the two jboss 5 instances but somehow the two jboss servers running on the two differnt machines within same subnet mask are not auto discovering each other.

       

      We are using the APache webserver + mod jk for external load balancing and the load balancing is working fine.

       

      In the AppServer log we are getting message: discarded message from non-member and also errors like not found in xmit_table

       

      Please let me know if there is something specific that needs to be done to resolve this issue in JBoss 5? It was working fine in JBoss 4.0.1

       

      Thanks in Advance,

      Saurabh V.

        • 1. Re: Facing issue with the clustering in JBoss 5
          wdfink

          The log:

          <N,11/18/10 10:28:17 UTC,NAKACK> 137.72.224.231:1710] discarded message from non-member 137.72.224.112:4356, my view is [137.72.224.231:1710|0] [137.72.224.231:1710]

          looks like that you have set the cluster parameter different and the JBoss instances will drop the message from the other....

           

          also the entries of SQLExceptions points to some problems.

           

          BTW you should use the JBoss 5.1 because of different fixes.

          Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@d87731[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@12606c9 handles=0 lastUse=1290081600015 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@e6c8d2 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@18a9414 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@12606c9 txSync=null]
          java.sql.SQLException: pingDatabase failed status=-1

          • 2. Re: Facing issue with the clustering in JBoss 5
            saurvals

            Thanks for the quick reply,

            When you say clustered parameter are different, could you please let us know which files we should be looking at? Those SQL exceptions were due to Database unavailability and we know the reason, so we can ignore that.

             

            Thanks,

            Saurabh V.

            • 3. Re: Facing issue with the clustering in JBoss 5
              saurvals

              We found the difference in jgroup conf parameter and now it is working.

              THanks,

              Saurabh V.

              • 4. Re: Facing issue with the clustering in JBoss 5
                wdfink

                A good starting point will be the JBossHA wiki http://community.jboss.org/wiki/JBossHA