[jboss-jira] [JBoss JIRA] (AS7-1078) executor in <connector/> of web subsystem doesn't work.

Jean-Frederic Clere (Resolved) (JIRA) jira-events at lists.jboss.org
Sun Oct 23 04:34:45 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere resolved AS7-1078.
--------------------------------------

    Fix Version/s: 7.1.0.Beta1
       Resolution: Done


I have tested and document it:
http://docs.jboss.org/jbossweb/7.0.x/config/executor.html

the standalone.xml:
+++
        <subsystem xmlns="urn:jboss:domain:threads:1.0">
            <thread-factory name="http" thread-name-pattern="HTTP-%t" priority="9"/>
            <unbounded-queue-thread-pool name="http">
              <max-threads per-cpu="10" count="10" />
              <thread-factory name="http"/>
            </unbounded-queue-thread-pool>
        </subsystem>
+++
and
<connector executor="http" name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>
                
> executor in <connector/> of web subsystem doesn't work.
> -------------------------------------------------------
>
>                 Key: AS7-1078
>                 URL: https://issues.jboss.org/browse/AS7-1078
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: 7.0.0.Beta3
>            Reporter: Jean-Frederic Clere
>            Assignee: Jean-Frederic Clere
>             Fix For: 7.1.0.Beta1
>
>         Attachments: patch.txt
>
>
> Add in threads subsystem:
>             <bounded-queue-thread-pool name="executor" blocking="true">
>                 <core-threads count="10" per-cpu="20"/>
>                 <queue-length count="10" per-cpu="20"/>
>                 <max-threads count="10" per-cpu="20"/>
>                 <keepalive-time time="10" unit="seconds"/>
>             </bounded-queue-thread-pool>
> and:
> <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http" executor="executor" />
> web will still use the default executor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list