You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Allistair Crossley <a....@obvious.uk.com> on 2002/07/12 16:45:29 UTC

Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3

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 postmaster@obvious.uk.com. Thank you.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Server was started

Posted by "Nikolas A. Rathert" <ni...@igd.fhg.de>.
Hi,
I only have (in that section) this:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"  modJk= 
"C:\server\OpenSA\Apache\modules" />

You are welcome,

Nick

Allistair Crossley wrote:
> Danke Nikolas...
> 
> When you use the ^^ arrows here, do you mean that you do not have the entire
> section OR that you do not have mod_jk.so as the value??
> 
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>       modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"
> 						    ^^^^^^^^^^^^^
> I assume the same again here...that you do not have the entire section
> here..
> 
> workersConfig="/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
> 
>>>     jkLog="/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"/>
>>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Do I understand therefore that out of all the things I first posted, you
> only have this line to configure mod_jk...
> 
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" />
> 
> ??
> 
> Or how do you load mod_jk to generate the AUTO file?
> 
> Vielen Dank fuer Ihren Hilfe Nikolas :)
> 
> Allistair
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Server was started

Posted by Allistair Crossley <a....@obvious.uk.com>.
Danke Nikolas...

When you use the ^^ arrows here, do you mean that you do not have the entire
section OR that you do not have mod_jk.so as the value??

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
      modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"
						    ^^^^^^^^^^^^^
I assume the same again here...that you do not have the entire section
here..

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

Do I understand therefore that out of all the things I first posted, you
only have this line to configure mod_jk...

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

??

Or how do you load mod_jk to generate the AUTO file?

Vielen Dank fuer Ihren Hilfe Nikolas :)

Allistair


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Server was started

Posted by "Nikolas A. Rathert" <ni...@igd.fhg.de>.
Ok, sorry. :)
New idea: see below.


>>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"
						    ^^^^^^^^^^^^^
I have that not in my configuration.


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

This I do not have in my configuration either.


>>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"  />

I don't have this.

My workers.properties looks like this:

# Setup for Windows system
#
workers.catalina_home="D:\Programme\Server\jakarta-tomcat-4.0.3"
workers.java_home="D:\Programme\Java\j2sdk1.4.0_01"

# Linux uses fwd slashes
#ps=/

# Windows uses back slashes
ps=\


worker.list= ajp13

# Definition for Ajp13 worker
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Server was started

Posted by Allistair Crossley <a....@obvious.uk.com>.
Yes of course I did that!! :)) I use CATALINA_HOME/bin/startup.sh and the
process does start and listing ports listened to using netstat -tln I can
see the port open.

But no AUTO file!

-----Original Message-----
From: Nikolas A. Rathert [mailto:nikolas.rathert@igd.fhg.de]
Sent: 12 July 2002 15:50
To: Tomcat Users List
Subject: Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3


Start the server. It will be created automatically.

Cheers,

Nick

Allistair Crossley wrote:
> 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 postmaster@obvious.uk.com. Thank you.
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: nikolas.rathert@igd.fhg.de
www: http://www.igd.fhg.de


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3

Posted by "Nikolas A. Rathert" <ni...@igd.fhg.de>.
Start the server. It will be created automatically.

Cheers,

Nick

Allistair Crossley wrote:
> 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 postmaster@obvious.uk.com. Thank you.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: nikolas.rathert@igd.fhg.de
www: http://www.igd.fhg.de


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>