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

[4.2.x] Combined patch to get transaction sticky lbp functionality working correctly

XMLWordPrintable

    • JBPAPP_4_2_0_GA_CP04_JBPAPP-1180
    • Hide
      PATCH NAME:
              JBPAPP-1180
      PRODUCT NAME:
              JBoss Enterprise Platform App Edition
      VERSION:
              4.2.0.GA_CP04
      SHORT DESCRIPTION:
              This patch contains a series of bug fixes that resolve issues found when load testing transaction sticky load balance policies. The issues are primarily due to thread safety, or lack of synchronization, issues in the client and server user transaction layers and ha invoker proxy.
      LONG DESCRIPTION:
              Here's the list of individual fixes included in this combined patch and a brief description of each
              [JBPAPP-1154] Transaction sticky load balance policies should not allow failover after sticky node shuts down, otherwise transaction is spread across nodes.
              [JBPAPP-1157] ClientUserTransaction singleton initialisation is not thread safe which could lead to user transactions being garbage collected and disappearing.
              [JBPAPP-1159] Client user transaction lookups aren't closing initial contexts
              [JBPAPP-1161] ClientUserTransactionObjectFactory singleton is not thread safe which can end up being garbage collected in the middle of a transaction.
              [JBPAPP-1162] Weak hash map usage in UnifiedInvokerHAProxy is not thread safe which can lead to sticky nodes dissapearing from the transaction to sticky node map.
              [JBPAPP-1175] UserTransactionSessionImpl is not thread safe which leads to active transactions on the server side randomly disappearing and successful transactions not to commit.
      MANUAL INSTALL INSTRUCTIONS:
              Rename %JBOSS_HOME%/client/jboss-transaction-client.jar to "jboss-transaction-client.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss-transaction-client.jar to %JBOSS_HOME%/client/
              Rename %JBOSS_HOME%/client/jbossall-client.jar to "jbossall-client.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jbossall-client.jar to %JBOSS_HOME%/client/
              Rename %JBOSS_HOME%/client/jboss-client.jar to "jboss-client.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss-client.jar to %JBOSS_HOME%/client/
              Rename %JBOSS_HOME%/client/jbossha-client.jar to "jbossha-client.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jbossha-client.jar to %JBOSS_HOME%/client/

              Rename %JBOSS_HOME%/server/all/lib/jboss-transaction.jar to "jboss-transaction.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/all/lib/
              Rename %JBOSS_HOME%/server/all/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/all/lib/
              Rename %JBOSS_HOME%/server/all/lib/jbossha.jar to "jbossha.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jbossha.jar to %JBOSS_HOME%/server/all/lib/

              Rename %JBOSS_HOME%/server/production/lib/jboss-transaction.jar to "jboss-transaction.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/production/lib/
              Rename %JBOSS_HOME%/server/production/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/production/lib/
              Rename %JBOSS_HOME%/server/production/lib/jbossha.jar to "jbossha.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jbossha.jar to %JBOSS_HOME%/server/production/lib/

              Rename %JBOSS_HOME%/server/default/lib/jboss-transaction.jar to "jboss-transaction.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/default/lib/
              Rename %JBOSS_HOME%/server/default/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1180.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/default/lib/
      COMPATIBILITY:
              N/A
      DEPENDENCIES:
              N/A
      SUPERSEDES:
              N/A
      SUPERSEDED BY:
              N/A
      CREATOR:
              Galder Zamarreño
      DATE:
              2008/09/15
      Show
      PATCH NAME:          JBPAPP-1180 PRODUCT NAME:         JBoss Enterprise Platform App Edition VERSION:         4.2.0.GA_CP04 SHORT DESCRIPTION:         This patch contains a series of bug fixes that resolve issues found when load testing transaction sticky load balance policies. The issues are primarily due to thread safety, or lack of synchronization, issues in the client and server user transaction layers and ha invoker proxy. LONG DESCRIPTION:         Here's the list of individual fixes included in this combined patch and a brief description of each         [ JBPAPP-1154 ] Transaction sticky load balance policies should not allow failover after sticky node shuts down, otherwise transaction is spread across nodes.         [ JBPAPP-1157 ] ClientUserTransaction singleton initialisation is not thread safe which could lead to user transactions being garbage collected and disappearing.         [ JBPAPP-1159 ] Client user transaction lookups aren't closing initial contexts         [ JBPAPP-1161 ] ClientUserTransactionObjectFactory singleton is not thread safe which can end up being garbage collected in the middle of a transaction.         [ JBPAPP-1162 ] Weak hash map usage in UnifiedInvokerHAProxy is not thread safe which can lead to sticky nodes dissapearing from the transaction to sticky node map.         [ JBPAPP-1175 ] UserTransactionSessionImpl is not thread safe which leads to active transactions on the server side randomly disappearing and successful transactions not to commit. MANUAL INSTALL INSTRUCTIONS:         Rename %JBOSS_HOME%/client/jboss-transaction-client.jar to "jboss-transaction-client.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss-transaction-client.jar to %JBOSS_HOME%/client/         Rename %JBOSS_HOME%/client/jbossall-client.jar to "jbossall-client.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jbossall-client.jar to %JBOSS_HOME%/client/         Rename %JBOSS_HOME%/client/jboss-client.jar to "jboss-client.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss-client.jar to %JBOSS_HOME%/client/         Rename %JBOSS_HOME%/client/jbossha-client.jar to "jbossha-client.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jbossha-client.jar to %JBOSS_HOME%/client/         Rename %JBOSS_HOME%/server/all/lib/jboss-transaction.jar to "jboss-transaction.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/all/lib/         Rename %JBOSS_HOME%/server/all/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/all/lib/         Rename %JBOSS_HOME%/server/all/lib/jbossha.jar to "jbossha.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jbossha.jar to %JBOSS_HOME%/server/all/lib/         Rename %JBOSS_HOME%/server/production/lib/jboss-transaction.jar to "jboss-transaction.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/production/lib/         Rename %JBOSS_HOME%/server/production/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/production/lib/         Rename %JBOSS_HOME%/server/production/lib/jbossha.jar to "jbossha.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jbossha.jar to %JBOSS_HOME%/server/production/lib/         Rename %JBOSS_HOME%/server/default/lib/jboss-transaction.jar to "jboss-transaction.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss-transaction.jar to %JBOSS_HOME%/server/default/lib/         Rename %JBOSS_HOME%/server/default/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1180 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/default/lib/ COMPATIBILITY:         N/A DEPENDENCIES:         N/A SUPERSEDES:         N/A SUPERSEDED BY:         N/A CREATOR:         Galder Zamarreño DATE:         2008/09/15
    • Medium

      1. TEST-org.jboss.test.cluster.invokerha.UnifiedInvokerHaTransactionStickyUnitTestCase.xml
        106 kB
        Martin Malina
      2. TEST-org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase.xml
        100 kB
        Martin Malina

            jbn-patch-team JBN Patch Team list
            rh-ee-galder Galder Zamarreño
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: