Allan Bruce post this one and I'm using it and so far it's ok.
I've made only some adjustments to work with win 2k.

--workers2.properties
$ cd /etc/httpd2/conf
Open the file workers2.properties in a text editor and modify the file
tolook like this:
[logger]
level=DEBUG

[config:]
file=/etc/httpd2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
[logger.file:0]
level=DEBUG
file=/var/log/httpd2/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=/var/run/jk2.shm
size=1048576
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=tc1
lb_factor=1
group=lb

[channel.socket:localhost:8019]
info=A second tomcat instance.
debug=0
tomcatId=tc2
lb_factor=1
group=lb
disabled=0

[channel.socket:X.X.X.X:8009]  // put your own IP in
info=Ajp13 forwarding over socket
debug=0
tomcatId=tc3
lb_factor=1
group=lb

[status:]
info=Status worker, displays runtime informations

[uri:/YYY/*]    // replace the YYYs with your directory chosen, e.g.servlets
info=Display status information and checks the config file for changes.
group=status:

[uri:/YYY/*.do]
info=Prefix mapping

[uri:/YYY/*.jsp]
info=Extension mapping

[uri:/YYY/*]
info=The Legacy webapp.
debug=0



----- Original Message -----
From: "David Short" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, January 23, 2004 2:11 PM
Subject: RE: running tomcat5 in-process


> Meant to address this to Phil, sorry about that!
>
> Hi Paul,
>
> Would you mind posting your workers2.properties file?  I've been trying to
> get Apache 2.0.48 to load Tomcat 4.1.29/5.0.16 in-process without much
> success.
>
> Thanks,
>
> Dave
>
> -----Original Message-----
> From: Phil Adams [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 7:42 AM
> To: tomcat
> Subject: running tomcat5 in-process
>
>
> Well...
> I am and have been for about a week trying to get Apache2 to start Tomcat5
> in-process on Windows XP.  I have finally gotten Apache2 to process thru
> the workers2.properties file without errors.  I can start Tomcat5 manually
> without errors. I have mod_jk2, what appears to be at least, loading
> correctly.
> no more errors anyway...
>
> The one piece I believe that is missing is a <connector> entry in
server.xml
> for Tomcat for the jni connector.  Tomcat3 had a "jni_connect.dll" as well
> as a class  "org.apache.tomcat.service.JNIEndpointConnector".
> I cannot find these for Tomcat5.  Any suggestions?  I have tried using
older
> versions of components before wihtour success.
>
> Thanks for all your help...
>
> _Phil Adams
> Fort Worth, Texas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to