[jboss-as7-dev] web subsystem - http connector configuration

Francesco Marchioni marchioni.francesco at gmail.com
Fri May 20 08:28:33 EDT 2011


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.

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110520/b152e6a9/attachment.html 


More information about the jboss-as7-dev mailing list