Hello All,

I have Apache 1.3 and Tomcat 3.2.1 running with mod_jk. I want to upgrade to
Tomcat 4.0.4. I have followed a set of instructions that I found, i.e

1) Added to server.xml under 8005 server line

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
      modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"

workersConfig="/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
      jkLog="/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"/>

2) Under standalone line

<!-- 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="0"/>

3) After Host localhost line

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true"  />

4) Put the workers.properties file in tomcat_home/conf/jk and started tomcat
(see workers file below)

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.3
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

BUT now I am supposed to have a file called CATALINA_HOME/conf/auto but I do
not!! I have done everything to the letter!

Help appreciated :)

Allistair Crossley
Lead Technical Developer
Obvious Solutions (Global) Ltd.
“Delivering the vision for a mobile lifestyle”

www.obvioussolutions.co.uk

(m) +44 (0) 7884 056 274
(w) +44 (0) 20 8451 9352
(f) +44 (0) 20 8537 5236

/******************************************/

This is an email from Obvious Solutions (Global) Ltd.
The contents of this email are confidential to the ordinary
user of the email address to which it was addressed. No-one
else may copy or forward all or any of it in any form.
If you receive this email in error, we should be obliged if
you would telephone our postmaster on +44 (0)208 357 8352
or  email [EMAIL PROTECTED] Thank you.



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

Reply via email to