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

JBPAPP-1410 - Move transaction sticky logic in proxy to interceptors to avoid bottleneck

XMLWordPrintable

    • JBPAPP_4_2_0_GA_CP04_JBPAPP-1180_JBPAPP-1268_JBPAPP-1428
    • Hide
      PATCH NAME:
              JBPAPP-1428
      PRODUCT NAME:
              JBoss Enterprise Platform App Edition
      VERSION:
              4.2.0.GA_CP04
      SHORT DESCRIPTION:
              This patch improves on JBPAPP-1268 by avoiding a potential bottleneck when EJB invocations are returning big objects. Also, when a cluster shutdown occurs and the transaction sticky target is not available, the retry interceptor kicks that avoids explicit proxy re-lookup on the client side.
      LONG DESCRIPTION:
              Transaction sticky logic has been moved from proxy to interceptors so that all invocation returns don't have to put in sticky target map in case they're tpc any more as this lead to bottlenecks. On top of that, when a transaction sticky target is not available, the code now throws a ServiceUnavailableException that allows the retry interceptor to kick in, avoiding explicitly re-lookup of EJB proxy under cluster shutdown circumstances.
      MANUAL INSTALL INSTRUCTIONS:
              Rename %JBOSS_HOME%/client/jbossall-client.jar to "jbossall-client.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jbossall-client.jar to %JBOSS_HOME%/client
              Rename %JBOSS_HOME%/client/jbossha-client.jar to "jbossha-client.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jbossha-client.jar to %JBOSS_HOME%/client

              Rename %JBOSS_HOME%/server/all/lib/jbossha.jar to "jbossha.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jbossha.jar to %JBOSS_HOME%/server/all/lib
              Rename %JBOSS_HOME%/server/production/lib/jbossha.jar to "jbossha.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jbossha.jar to %JBOSS_HOME%/server/production/lib

              Rename %JBOSS_HOME%/server/all/conf/jboss-service.xml to "jboss-service.replacedBy.JBPAPP-1428.xml.old"
              Copy the new jboss-service.xml to %JBOSS_HOME%/server/all/conf
              Rename %JBOSS_HOME%/server/production/conf/jboss-service.xml to "jboss-service.replacedBy.JBPAPP-1428.xml.old"
              Copy the new jboss-service.xml to %JBOSS_HOME%/server/production/conf

              Rename %JBOSS_HOME%/server/default/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/default/lib
              Rename %JBOSS_HOME%/server/all/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/all/lib
              Rename %JBOSS_HOME%/server/production/lib/jboss.jar to "jboss.replacedBy.JBPAPP-1428.jar.old"
              Copy the new jboss.jar to %JBOSS_HOME%/server/production/lib
      COMPATIBILITY:
              N/A
      DEPENDENCIES:
              JBPAPP-1180
              JBPAPP-1268
      SUPERSEDES:
              N/A
      SUPERSEDED BY:
              N/A
      CREATOR:
              Galder Zamarreño
      DATE:
              2008/11/28
      Show
      PATCH NAME:          JBPAPP-1428 PRODUCT NAME:         JBoss Enterprise Platform App Edition VERSION:         4.2.0.GA_CP04 SHORT DESCRIPTION:         This patch improves on JBPAPP-1268 by avoiding a potential bottleneck when EJB invocations are returning big objects. Also, when a cluster shutdown occurs and the transaction sticky target is not available, the retry interceptor kicks that avoids explicit proxy re-lookup on the client side. LONG DESCRIPTION:         Transaction sticky logic has been moved from proxy to interceptors so that all invocation returns don't have to put in sticky target map in case they're tpc any more as this lead to bottlenecks. On top of that, when a transaction sticky target is not available, the code now throws a ServiceUnavailableException that allows the retry interceptor to kick in, avoiding explicitly re-lookup of EJB proxy under cluster shutdown circumstances. MANUAL INSTALL INSTRUCTIONS:         Rename %JBOSS_HOME%/client/jbossall-client.jar to "jbossall-client.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jbossall-client.jar to %JBOSS_HOME%/client         Rename %JBOSS_HOME%/client/jbossha-client.jar to "jbossha-client.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jbossha-client.jar to %JBOSS_HOME%/client         Rename %JBOSS_HOME%/server/all/lib/jbossha.jar to "jbossha.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jbossha.jar to %JBOSS_HOME%/server/all/lib         Rename %JBOSS_HOME%/server/production/lib/jbossha.jar to "jbossha.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jbossha.jar to %JBOSS_HOME%/server/production/lib         Rename %JBOSS_HOME%/server/all/conf/jboss-service.xml to "jboss-service.replacedBy. JBPAPP-1428 .xml.old"         Copy the new jboss-service.xml to %JBOSS_HOME%/server/all/conf         Rename %JBOSS_HOME%/server/production/conf/jboss-service.xml to "jboss-service.replacedBy. JBPAPP-1428 .xml.old"         Copy the new jboss-service.xml to %JBOSS_HOME%/server/production/conf         Rename %JBOSS_HOME%/server/default/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/default/lib         Rename %JBOSS_HOME%/server/all/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/all/lib         Rename %JBOSS_HOME%/server/production/lib/jboss.jar to "jboss.replacedBy. JBPAPP-1428 .jar.old"         Copy the new jboss.jar to %JBOSS_HOME%/server/production/lib COMPATIBILITY:         N/A DEPENDENCIES:          JBPAPP-1180          JBPAPP-1268 SUPERSEDES:         N/A SUPERSEDED BY:         N/A CREATOR:         Galder Zamarreño DATE:         2008/11/28
    • Medium

      Move transaction sticky logic in proxy to interceptors so that we don't have to take all invocation
      returns and put them in sticky target map in case they're tpc, which can become a bottleneck.

        1. jboss-service.xml
          37 kB
        2. jbossha-client.jar
          59 kB
        3. jbossha.jar
          258 kB
        4. jbossall-client.jar
          4.71 MB
        5. jboss.jar
          2.01 MB

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

                Created:
                Updated:
                Resolved: