On Tue, Mar 10, 2009 at 9:09 PM, Caldarale, Charles R
<chuck.caldar...@unisys.com> wrote:
>> From: André Warnier [mailto:a...@ice-sa.com]
>> Subject: Re: Lazy Virtual Hosting?
>>
>> So if you have 4 Connectors, you will be having 4 independent
>> number of min and max threads, and 4 independent settings for
>> the number of TCP connections to be queued up.
>
> On Tomcat 6, you can use an <Executor> as a common thread pool for all 
> <Connector> elements.
>

Sorry, I fogot to mention that I do have an Executor specified:

        <Service        name="Catalina">
        <Executor       name="tomcatThreadPool"
                        namePrefix="catalina-exec-"
                        daemon="true"
                        maxThreads="150"
                        minSpareThreads="4"
                        maxIdleTime="60000"/>

                <Connector      port="80"
                [ ... ]

                <Engine name="Catalina" defaultHost="www.somehost.de">

                        <Host   name="www.somehost.de"
                        </Host>

                        <Host   name="www.someotherhost.com"
                        </Host>

                        <Host   name="www.tele-underwriting.de"
                        </Host>

@André:

Not a Tomcat-specialist? Good joke ;)

@ all:

So it seems there are no catches if I'm setting up the server the lazy
way - correct?

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to