Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-973

Cache Invalidation fails when redeploy CMP beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-3.2.6 Final
    • Clustering, EJB2
    • None

      SourceForge Submitter: coneheed .
      Java version: 1.4.2_04,Sun Microsystems Inc.
      Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05
      ,Sun Microsystems Inc.
      OS-System: Windows 2000 5.0,x86

      We have in place a clustering architecture as described
      in the JBoss clustering book.

      It currently consists of 3 nodes. 2 "read-only" nodes
      whose CMP entity beans have read-only accessor
      methods and a "read-write" node where the entity beans
      have "read-write" accessor methods.

      We use the cache invalidation architecture (based on
      JGroups) to link the read-only and read-write beans
      together. Changes to the RW beans cause invalidation in
      the RO beans and the data remains consistent.

      This all appears to work fine until we redeploy our
      application jar files. The system continues to function
      but we get out of date data in our RO beans. Basically
      the RO beans are not asked to ejbLoad and hence re-
      read the data from the DB.

      Bounce all 3 nodes and the system works fine again.

      Redeplying to the RW node is OK but redeploying to the
      RO node breaks the cache invalidation.

      Forum article:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50823

      Regards

              bstansbe@redhat.com Brian Stansberry
              sourceforge-user SourceForge legacy user (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: