Oups....

Ok in fact I should create few connector (one per IP/port non SSL/SSL) and then only one worker.properties ?

Is that correct ?

Like an other thread show
<Connector port="443"  name="72.3.245.1"
          maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
          emptySessionPath="true" useIPVHosts="tru"
          scheme="https" secure="true" clientAuth="false"
          keystoreFile="D:/jdk1.5.0_02/bin/key1"
          keystorePass="pass1" sslProtocol = "TLS" />

   <Connector port="443"  name="72.32.93.2"
          maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
          emptySessionPath="true" useIPVHosts="true"
          scheme="https" secure="true" clientAuth="false"
          keystoreFile="D:/jdk1.5.0_02/bin/key2"
          keystorePass="pass2" sslProtocol = "TLS" />

...

Pascal
Thank you Fabio

You don't have to create a connector per IP ? or vhost ?
I only have to create a connector for localhost ? and for both no ssl port and ssl port ?

We have few IP and Few domains per IP

I'm sorry I'm a newbie in Tomcat.

To resume I have to
Define virtualhost in server.xml
Define a connector in server.xml
And define only ONE worker.properties ?

In the exemple here http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html he, in fact, declare a worker.list with different protocol ajp12, ajp13 and a connecter_id and then define for every vhost a worker.connect_id.host

In this case it means few instances of Tomcat. So in worker.properties how I delcare few vhosts/IP knowing there is few IPs

A localhost worker definition is enough and allow to have only one isntance of Tomcat for every vhost on every IPs ?

is that correct ?

Thanks for your help

Pascal
 What is a trouble for us is this
Other file that needs editing is workers.properties First thing. Add the connection name to the worker.list
        worker.list=ajp12, ajp13, connect_id
Next add that connection to the worker
        worker.connect_id.port=8112
        worker.connect_id.host=virtual.domainname.com
        worker.connect_id.type=ajp13

Ok we add a connexion name, but it means to create a workers.properties for every vhosts ? Basicly it means we have to restart apache/tomcat every time we add a new vhost ? also where the workers.properties should be ? in the vhost documentroot ? in the tomcat dir ? in the WEB-INF dir of every vhosts ? I think it is this last case no ?
It's enought to define only one worker because that is the link between apache and tomcat (in fact in server.xml you declare only one ajp connector).

Many connectors (usually) mean many tomcat instances.

Fabio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to