[jboss-as7-dev] web subsystem - http connector configuration
Michal Linhard
mlinhard at redhat.com
Fri May 20 12:53:32 EDT 2011
On 05/20/2011 04:41 PM, Andrig Miller wrote:
>
> ----- Original Message -----
>> From: "Francesco Marchioni"<marchioni.francesco at gmail.com>
>> To: jboss-as7-dev at lists.jboss.org
>> Sent: Friday, May 20, 2011 6:28:33 AM
>> Subject: Re: [jboss-as7-dev] web subsystem - http connector configuration
>>
>>
>> By looking at the runtime attributes of the web connector, some of
>> them, are exposed in the .xsd file. Here's a sample connector
>> configuration:
>>
>> <connector enable-lookups="false" enabled="true"
>> executor="idvalue0" max-connections="200"
>> max-post-size="" max-save-post-size="4096"
>> name="http" protocol="HTTP/1.1"
>> proxy-name="proxy" proxy-port="8081"
>> redirect-port="8443" scheme=""
>> secure="false" socket-binding="http" />
>>
>> I guess that max-connections should map to maxThreads.
> > From what I see, you don't configure maxThreads anymore. The JBoss Threads configuration is what you change for the thread pool.
>
> Andy
in standalone.xml packaged with 7.0.0.Beta3 I see:
<subsystem xmlns="urn:jboss:domain:threads:1.0">
<scheduled-thread-pool name="remoting">
<max-threads count="10" per-cpu="20"/>
<keepalive-time time="10" unit="seconds"/>
</scheduled-thread-pool>
<bounded-queue-thread-pool name="jca-short-running" 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>
<bounded-queue-thread-pool name="jca-long-running" 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>
<bounded-queue-thread-pool name="ejb3-async" 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>
</subsystem>
so you say one of them is for http connector ?
>> By the way: the element executor is mentioned, does it reference an
>> executor from JBoss Thread's pool or rather an Executor element to
>> be defined in the Web subsystem ? (Just like Tomcat 6 and onwards).
>>
>> Francesco
>>
>>
>>
>> 2011/5/20 Michal Linhard< mlinhard at redhat.com>
>>
>>
>> Hello all,
>>
>> AS 7.0.0.Beta4 snapshot seems to be using JBOSSWEB_7_0_0_CR1
>> currently I cannot see a way to configure all HTTP Connector
>> properties
>> I'm used to from
>> http://docs.jboss.org/jbossweb/3.0.x/config/http.html
>> because the configuration schema/model and the web subsystem don't
>> allow
>> it.
>> (deducing from what I've seen in:
>> https://github.com/jbossas/jboss-as/blob/master/web/src/main/java/org/jboss/as/web/WebConnectorAdd.java
>> https://github.com/jbossas/jboss-as/blob/master/web/src/main/java/org/jboss/as/web/WebConnectorService.java
>> )
>>
>> I need stuff like
>> connectionTimeout
>> maxThreads
>> maxHttpHeaderSize
>> maxKeepAliveRequests
>> acceptCount
>> disableUploadTimeout
>>
>> Is this going to be implemented ? Is there a JIRA about it ?
>>
>> currently without being able to tweak these parameters, I'm unable to
>> setup EDG6 REST server module performance tests properly - without
>> the
>> tweaking the performance is quite poor.
>>
>> m.
>>
>> --
>> Michal Linhard
>> Quality Assurance Engineer
>>
>> Red Hat Czech s.r.o.
>> Purkynova 99 612 45 Brno, Czech Republic
>> phone: +420 532 294 320 ext. 62320
>> mobile: +420 728 626 363
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Michal Linhard
Quality Assurance Engineer
Red Hat Czech s.r.o.
Purkynova 99 612 45 Brno, Czech Republic
phone: +420 532 294 320 ext. 62320
mobile: +420 728 626 363
More information about the jboss-as7-dev
mailing list