Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3943

Docs: Missing EJB3 Subsystem thread-pool configuration

    XMLWordPrintable

Details

    Description

      Need to document the thread-pool section in the ejb3 subsystem similar to EAP 6.4
      But remove keepalive-time or make mention that it is not actually used or effective. As well as clarify max-threads is the max but also the core size, which means the thread pool will create a thread upon each request even if there are available threads until it reaches max and then remain there. As per: https://bugzilla.redhat.com/show_bug.cgi?id=1320680

      https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/developing-ejb-applications/

      So, the ejb3 subsystem defines a thread pool/pools, the thread pool is to specify how many threads are available for handing async ejbs running, ejb timers, and EJB calls that come in over the remoting subsystem.  So if a remote call is made through the remote port, those requests are handled by the threads specified in the <remote ... thread-pool below.
      
              <subsystem xmlns="urn:jboss:domain:ejb3:4.0">
      
      ...
                  <async thread-pool-name="default"/>
      ...
                  <timer-service thread-pool-name="default" default-data-store="default-file-store">
      ...
                  <remote connector-ref="http-remoting-connector" thread-pool-name="default"/>
      ...
                  <thread-pools>
                      <thread-pool name="default">
                          <max-threads count="10"/>
                          <keepalive-time time="100" unit="milliseconds"/>
                      </thread-pool>
                  </thread-pools>
      

      EAP 6.4: docs for reference
      https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html-single/Administration_and_Configuration_Guide/index.html#sect-Configuring_EJB_Thread_Pools

      Attachments

        Issue Links

          Activity

            People

              dmichael@redhat.com David Michael (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Jan Martiska Jan Martiska
              Jan Martiska Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h