4 Replies Latest reply on Jun 1, 2003 5:41 AM by slaboure

    Cache Invalidation Problem

    gcm614

      Cache Invalidation works fine until I disconnect the ethernet cable from one machine and wait for the other to notice it is no longer in the cluster. When I plug the cable back in everything works as it should except for the cache invalidation no longer invalidates the ejb when it is changed by the other machine. I am pretty sure that is a bug where do i report it. Or is posting a message here good enough?

        • 1. Re: Cache Invalidation Problem
          gcm614

          I did a few more tests. You have to disconnect the ethernet cable than access the entity bean a couple of times and than plug the cable back in to make it not work. Just unpluging and waiting for the two nodes to notice they were disconnected and than pluging the cable back in doesn't cause it to stop working. Also I am using RedHat 8.0, jboss-3.2.1_tomcat-4.1.24.zip, PIII 866Mhz, 512 meg ram.

          • 2. Re: Cache Invalidation Problem
            slaboure

            do you mean that you have nodes N1 and N2 and you change state of an entity bean in N1 and N2.

            At some point you disconnect, and only invoke against N1. When you reconnect and ping N2, you get the old state, right?

            • 3. Re: Cache Invalidation Problem
              gcm614

              Yes.
              I don't know what I changed, but it is not happening anymore. I have tried several time to reproduce it again and I can't. The only thing I can think of is that node 2 was down for about an hour when I first had the problem, and I have only been testing with it down for a few minutes. I am going to try and do it for an hour later and see if the problem comes back.

              Anyway right now everything seems to be working.

              • 4. Re: Cache Invalidation Problem
                slaboure

                Yes, I know the reason: I should totally clean all caches once a Merge event occur. You can add a feature request on sf.net/projects/jboss for slaboure if you want.

                Cheers,


                sacha