tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anto Paul <antop...@gmail.com>
Subject mod_jk configuration question
Date Fri, 01 Oct 2004 14:01:23 GMT
Hi all,
   
  Is it possible to define two AJP13 connectors both listening at
different ports and different addresses. These two addresses have
different <Host> elements.

Config 

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8005" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="5" 192.168.4.1/> 
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8006" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="5" address="192.168.4.2"/> 

<Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true">
       
       <Context path="" docBase="ROOT" debug="0"/>

</Host>

<Host name="192.168.4.1" debug="0" appBase="192.168.4.1"
       unpackWARs="true" autoDeploy="true">
 
      <Context path="" docBase="ROOT" debug="0"/>

</Host>

<Host name="192.168.4.2" debug="0" appBase="192.168.4.2"
       unpackWARs="true" autoDeploy="true">

      
       <Context path="" docBase="ROOT" debug="0"/>

</Host>

Both connectors should connect to respective hosts context.

When I tested this all JSP requests are going to the localhost.

 

rgds
Anto Paul

-- 
To strive,to seek,to find and not to yield

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message