Hi!

I am just upgrading our application to use tomcat 5.5.15 instead of
4.0.27 and after reconfiguring server.xml to conform to the new
configurations I get the message "No Host matches server name ..." when
accessing via apache and mod_jk.

Also I have to mention that I did NOT change anything on the apache or
mod_jk side, just changes to tomcat results in such a behaviour! 
The whole system is still in production with 4.0.27!

Is there any explaination for this change in behaviour?
What do I need to change to make this work again?

Ciao,
        Martin

P.s: Here the relevant configs

First the server.xml before the upgrade with tomcat 4.0.27:
<snip>
 <Server port="10683" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="11683" minProcessors="5" maxProcessors="1024"
               acceptCount="10" debug="0"/>
    <Connector
className="org.apache.catalina.connector.http.HttpConnector"
               port="12683" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <Engine name="Standalone" defaultHost="localhost" debug="0">
      <Host name="localhost"
            appBase="/opt/qpass/cdp/tomcat/webapps/"
            autoDeploy="true"
            deployXML="true"
            liveDeploy="false"
            unpackWARs="true"
            debug="0"
      >
      </Host>
    </Engine>
  </Service>
 </Server>
</snip>

And here after the upgrade to 5.5.15:
<snip>
 <Server port="10683" shutdown="SHUTDOWN" debug="1">
  <Service name="Tomcat-Standalone">
    <Connector
               port="11683"
               maxThreads="1024" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="443"
protocol="AJP/1.3"
               acceptCount="10" debug="0"/>
    <Connector
               port="12683"
               maxThreads="512" minSpareThreads="5" maxSpareThreads="40"
               enableLookups="false" redirectPort="443"
acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
    <Engine name="Standalone" defaultHost="localhost" debug="0">
      <Host name="localhost"
            appBase="/opt/qpass/cdp/tomcat/webapps/"
            autoDeploy="false"
            deployXML="false"
            liveDeploy="false"
            debug="0"
      >
        <Alias>*</Alias>
      </Host>
    </Engine>
  </Service>
 </Server>
</snip>

One of the webapps xmls:  /opt/qpass/cdp/tomcat/webapps/frontend.xml
<snip>
  <Context path=""
           docBase="/opt/qpass/cocoon"
           reloadable="false"
           privileged="true"
           crossContext="true"
           debug="1"
  >
    <Resources className="org.apache.naming.resources.FileDirContext"
allowLinking="true"  />
  </Context>
</snip>

Note: for 5.5.15 in the conf directory there is a directory "Standalone"
and within a softlink named "localhost" to the appdoc directory
(/opt/qpass/cdp/tomcat/webapps/).

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

Reply via email to