glassfish
  1. glassfish
  2. GLASSFISH-17022

3.1.1 startup/deployment performance - jta.jar

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jts
    • Labels:
      None

      Description

      Tom noticed the jta.jar was loaded even the JTA is not used in the application. File the issue to track this and assign to naming module for investigation.
      =============================================================================
      I noticed that container-common code (com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl) injects a TransactionManager object, and this brings in the jta.jar file, even if JTA is never used in the application. Also, the FactoryForEntityManagerWrapper.create method which uses the injected TransactionManager isn't actually called during server startup.

      I don't know what thread this happens on or whether it is on the critical path for server initializaiton, but avoiding this injection might save some time.

        Activity

        Hong Zhang created issue -
        Hong Zhang made changes -
        Field Original Value New Value
        Attachment v1.war [ 46656 ]
        marina vatkina made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Assignee Cheng [ cf126330 ] marina vatkina [ mvatkina ]
        Component/s jts [ 10605 ]
        Component/s naming [ 10636 ]

          People

          • Assignee:
            marina vatkina
            Reporter:
            Hong Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: