Hi Mark,

server.xml is as follows -:

<?xml version='1.0' encoding='utf-8'?>
<Server port="8003" shutdown="SHUTDOWN">

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
 <Listener className="org.apache.catalina.core.JasperListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />

 <GlobalNamingResources>

   <Resource name="UserDatabase" auth="Container"
             type="org.apache.catalina.UserDatabase"
             description="User database that can be updated and saved"
             factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
             pathname="conf/tomcat-users.xml" />
 </GlobalNamingResources>

 <Service name="Catalina">

   <Connector port="8090" protocol="HTTP/1.1"
              connectionTimeout="20000"
              redirectPort="8444" />
   <Connector port="8007" protocol="AJP/1.3" redirectPort="8444" />


   <Engine name="Catalina" defaultHost="localhost">
     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
            resourceName="UserDatabase"/>
     <Host name="localhost"  appBase="webapps"
           unpackWARs="true" autoDeploy="true"
           xmlValidation="false" xmlNamespaceAware="false">
     </Host>
   </Engine>
 </Service>
</Server>

Cheers,

Mark

Mark Thomas wrote:
Mark Dewey wrote:
I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however.

I have two version of tomcat running on one of the servers. Here is the configuration -:

ProxyPass /tc1/ ajp://www.xxx.yyy.zzz:8009/
ProxyPass /tc2/ ajp://www.xxx.yyy.zzz:8007/

I believe the second tomcat is configured correctly in server.xml to use 8007

That should be fine. Can you show us the connector config from server.xml please?

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to