Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2111

OrderedSynchronizationHandler not thread safe

    XMLWordPrintable

Details

    • Support Patch
    • Resolution: Done
    • Major
    • One Off Releases
    • 4.2.0.GA_CP06, 4.3.0.GA_CP04
    • Clustering
    • None
    • Public
    • Hide
      PATCH NAME:
              JBPAPP-2111
      PRODUCT NAME:
              JBoss Application Server/Platform
      VERSION:
              4.3 CP04
      SHORT DESCRIPTION:
              JBoss Cache's OrderedSynchronizationHandler class is not thread safe.
      LONG DESCRIPTION:
              This patch backports the OrderedSynchronizationHandler fixes from JBoss Cache 1.4.1.SP12 to JBoss Cache 1.4.1.SP11 to handle concurrency use cases.
      MANUAL INSTALL INSTRUCTIONS:
              Rename %JBOSS_HOME%/server/default/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy.JBPAPP-2011.jar.old"
              Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/default/lib/jboss-cache-jdk50.jar.

              Rename %JBOSS_HOME%/server/all/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy.JBPAPP-2011.jar.old"
              Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/all/lib/jboss-cache-jdk50.jar.

              Rename %JBOSS_HOME%/server/production/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy.JBPAPP-2011.jar.old"
              Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/production/lib/jboss-cache-jdk50.jar.

              Follow this same procedure for any custom server configuration/profile that needs this patch.
      COMPATIBILITY:
              N/A
      DEPENDENCIES:
              N/A
      SUPERSEDES:
              N/A
      SUPERSEDED BY:
              JBoss EAP 4.3 CP05
      CREATOR:
              Jimmy Wilson
      DATE:
              2009/06/16
      Show
      PATCH NAME:          JBPAPP-2111 PRODUCT NAME:         JBoss Application Server/Platform VERSION:         4.3 CP04 SHORT DESCRIPTION:         JBoss Cache's OrderedSynchronizationHandler class is not thread safe. LONG DESCRIPTION:         This patch backports the OrderedSynchronizationHandler fixes from JBoss Cache 1.4.1.SP12 to JBoss Cache 1.4.1.SP11 to handle concurrency use cases. MANUAL INSTALL INSTRUCTIONS:         Rename %JBOSS_HOME%/server/default/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy. JBPAPP-2011 .jar.old"         Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/default/lib/jboss-cache-jdk50.jar.         Rename %JBOSS_HOME%/server/all/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy. JBPAPP-2011 .jar.old"         Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/all/lib/jboss-cache-jdk50.jar.         Rename %JBOSS_HOME%/server/production/lib/jboss-cache-jdk50.jar to "jboss-cache-jdk50.replacedBy. JBPAPP-2011 .jar.old"         Copy the new jboss-cache-jdk50.jar to %JBOSS_HOME%/server/production/lib/jboss-cache-jdk50.jar.         Follow this same procedure for any custom server configuration/profile that needs this patch. COMPATIBILITY:         N/A DEPENDENCIES:         N/A SUPERSEDES:         N/A SUPERSEDED BY:         JBoss EAP 4.3 CP05 CREATOR:         Jimmy Wilson DATE:         2009/06/16

    Description

      OrderedSynchronizationHandler uses a static Map to hold instances referenced by a Transaction object, and the factory method on the OSH uses this map to retrieve instances.

      1) This map is unguarded and hence not thread safe.
      2) The map is static, which means it is shared across all cache instances in a given JVM. Not intended to work this way.

      Attachments

        Activity

          People

            jbn-patch-team JBN Patch Team list
            rhn-support-jawilson Jimmy Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: