glassfish
  1. glassfish
  2. GLASSFISH-16735

EJB services (async, timer, etc.) should be using common, configurable thread pool

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.2, 4.0
    • Component/s: ejb_container
    • Labels:
      None

      Description

      The ./src/main/java/com/sun/ejb/containers/EjbAsyncInvocationManager.java should use common thread pool, not its own factory

      There are no Sub-Tasks for this issue.

        Activity

        Hide
        marina vatkina added a comment -

        This needs to be fixed for all callers of addWork

        Show
        marina vatkina added a comment - This needs to be fixed for all callers of addWork
        Hide
        marina vatkina added a comment -

        Let's consider it an improvement

        Show
        marina vatkina added a comment - Let's consider it an improvement
        Hide
        marina vatkina added a comment -

        Let's make it flexible

        Show
        marina vatkina added a comment - Let's make it flexible
        Hide
        Cheng Fang added a comment - - edited

        Checked revision 47929 into 3.2 (4.0) workspace:

        Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainer.java
        Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/xml/RuntimeTagNames.java
        Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbAsyncInvocationManager.java
        Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtil.java
        Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java
        Adding ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbThreadPoolExecutor.java

        Committed revision 47929.

        Show
        Cheng Fang added a comment - - edited Checked revision 47929 into 3.2 (4.0) workspace: Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainer.java Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/xml/RuntimeTagNames.java Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbAsyncInvocationManager.java Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtil.java Sending ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java Adding ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbThreadPoolExecutor.java Committed revision 47929.
        Hide
        Cheng Fang added a comment -

        Committed revision 50496. to 3.1.2 branch.

        Show
        Cheng Fang added a comment - Committed revision 50496. to 3.1.2 branch.
        Hide
        Cheng Fang added a comment -

        Related doc issue:
        http://java.net/jira/browse/GLASSFISH-17735
        (Need to document ejb container common thread pool configuration)

        Show
        Cheng Fang added a comment - Related doc issue: http://java.net/jira/browse/GLASSFISH-17735 (Need to document ejb container common thread pool configuration)

          People

          • Assignee:
            Cheng Fang
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: