tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Hannigan <...@zip.com.au>
Subject Re: jk_ajp errors in mod_jk.log ???
Date Tue, 24 Sep 2002 13:06:52 GMT

Where in server.xml  do you put the matching ServerName and
Hostname?  I think this may be my problem.
My connection is getting tomcat to give some of the
examples pages, but anything further gives blank page in the
browser:

catalina_log.2002-09-24.txt:2002-09-24 17:36:32 Ajp13Processor[8009][4] 
                     [Ajp13] [RequestHandler] status is:  400(Bad Request)

mod_jk.log:[Tue Sep 24 17:36:32 2002]  [jk_ajp_common.c (462)]: 
ajp_unmarshal_response: status = 400



My server.xml is:

<Server port="8005" shutdown="SHUTDOWN" debug="1">

   <Service name="Tomcat-Standalone">

     <!-- Define an AJP 1.3 Connector on port 8009 -->
     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
                port="8009" minProcessors="5" maxProcessors="75"
                acceptCount="10" debug="1"/>

     <!-- Define the top level container in our container hierarchy -->
     <Engine name="Standalone" defaultHost="localhost" debug="1">

       <!-- Global logger unless overridden at lower levels -->
       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="catalina_log." suffix=".txt"
               timestamp="true"/>

       <Realm className="org.apache.catalina.realm.MemoryRealm" />

     </Engine>

   </Service>

</Server>

I have the same workers.properties.

Regards

Matt


Anthony Milbourne wrote:
> Hi John
> 
> I onjy just noticed that this is in your HowTo (Apache 1.3.26 - Tomcat
> 4.0.4, at least) as well as in the list archives.  The example
> wrokers.properties file you have given has a minor error.  It should be:
> 
> 	# BEGIN workers.properties
> 	#
> 	# Setup for apache system
> 	#
> 	# make this equal to CATALINA_HOME
> 	workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
> 	#
> 	# make this equal to JAVA_HOME
> 	workers.java_home=/usr/java/j2sdk1.4.0_01
> 	#
> 	ps=/
> 	worker.list=ajp13
> 	
> 	# Definition for Ajp13 worker
> 	#
> 	worker.ajp13.port=8009
> 	
> 	# change this line to match apache ServerName and Host name in
> server.xml
> 	worker.ajp13.host=localhost
> 	
> 	worker.ajp13.type=ajp13
> 	#
> 	# END workers.properties




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


Mime
View raw message