Thanks for that tip.... It did get me past the point i was stuck on.
However now i am getting a class cast exception on the tomcat 4 machine with code that runs fine on the tomcat 3.x machine both use mod_jk ajp13. Both have java 1.3.1 running. java.security is identical. Is the information passed differently in the latest tomcat compared to versions 3.x. I use request.getAttribute("javax.servlet.request.X509Certificate") to extract the certificate string. Any ideas anyone. java.lang.ClassCastException: [Ljava.security.cert.X509Certificate; at ...... |--------+---------------------------> | | "Matias | | | Bahlenberg" | | | <matias.bahlenber| | | [EMAIL PROTECTED]> | | | | | | 09/27/01 08:05 AM| | | Please respond to| | | tomcat-user | | | | |--------+---------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------| | | | To: <[EMAIL PROTECTED]> | | cc: | | Subject: Re: HTTP Status 500 | >--------------------------------------------------------------------------------------------------------------------------------------------| Hi Lee, I recognize this. I solved the problem with a Host inside the Engine element in the server.xml. See below: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <!-- Some information of the stand-alone service, tomcat web-server --> <!-- I you do not use this service, I suggest you comment it all --> <!-- Define an Apache-Connector Service --> <Service name="Tomcat-Apache"> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" debug="0" /> <!-- Replace "localhost" with what your Apache "ServerName" is set to --> <Engine className="org.apache.catalina.connector.warp.WarpEngine" name="Apache" defaultHost="www.company.com" debug="0" appBase ="webapps"> <!-- Global logger unless overridden at lower levels --> <Logger className="org.apache.catalina.logger.FileLogger" prefix="apache_log." suffix=".txt" timestamp="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="apache_access_log." suffix =".txt" pattern="common"/> <!-- Because this Realm is here, an instance will be shared globally --> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <!-- Be sure that the name is the same as ServerName in httpd.conf --> <Host name="www.company.com" appBase="webapps"> <Context path="" docBase="ROOT" crossContext="false" reloadable="true" /> </Host> </Engine> </Service> </Server> ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 4:46 PM Subject: HTTP Status 500 > > Does anyone know why i get the message > > HTTP Status 500 - No Host matches server name www.xxxxxxx.co.uk > > When i use ajp13 to connect to tomcat 4 from apache 1.3.20 > > I am using the same method i would have used when i was using tomcat 3.x > (I.e nothing has changed on the apache side > > Only the Connetor stuff in server.xml has changed ! > > > Any obvious ideas anyone ? > > > Cheers in advance > > > Lee > > > (Embedded image moved to file: pic00041.pcx) > >