users@glassfish.java.net

Re: how to customize web container settings

From: <glassfish_at_javadesktop.org>
Date: Sun, 03 Feb 2008 01:34:37 PST

I did enter properties into the <web-container> element of the domain.xml file. As i use Tomcat as web-container, i used the standard tomcat properties:

        <property name="maxThreads" value="250"/>
        <property name="minSpareThreads" value="25"/>
        <property name="maxSpareThreads" value="75"/>
        <property name="maxHttpHeaderSize" value="8192"/>
        <property name="maxKeepAliveRequests" value="100"/>
        <property name="acceptCount" value="100"/>
        <property name="connectionTimeout" value="20000"/>
        <property name="socketBuffer" value="9000"/>
        <property name="tcpNoDelay" value="true" />
        <property name="threadPriority" value="5" />

i also can see these settings now in the web-container (configuration->web-container) part of the admin console. i did not get any error so far, so i hope these settings are the ones that are used by teh web container.
[Message sent by forum member 'the666pack' (the666pack)]

http://forums.java.net/jive/thread.jspa?messageID=257164