I did the changes below but it didn't work. Now the error_log is this:

[Fri Feb 21 22:08:00 2003] [error] channelSocket.open() connect failed
192.168.5.1:8009 111 Connection refused
[Fri Feb 21 22:08:00 2003] [error] ajp13.connect() failed
ajp13:192.168.5.1:8009
[Fri Feb 21 22:08:00 2003] [error] ajp13.service() failed to connect
endpoint errno=111 Connection refused
[Fri Feb 21 22:08:00 2003] [error] ajp13.service() Error  forwarding
ajp13:192.168.5.1:8009 1 1
[Fri Feb 21 22:08:00 2003] [error] lb.service() worker failed
ajp13:192.168.5.1:8009
[Fri Feb 21 22:08:00 2003] [error] channelSocket.open() connect failed
192.168.5.1:8009 111 Connection refused
[Fri Feb 21 22:08:00 2003] [error] ajp13.connect() failed
ajp13:192.168.5.1:8009
[Fri Feb 21 22:08:00 2003] [error] ajp13.service() failed to connect
endpoint errno=111 Connection refused
[Fri Feb 21 22:08:00 2003] [error] ajp13.service() Error  forwarding
ajp13:192.168.5.1:8009 1 1
[Fri Feb 21 22:08:00 2003] [error] lb.service() worker failed
ajp13:192.168.5.1:8009
[Fri Feb 21 22:08:00 2003] [error] lb_worker.service() all workers in error
or disabled state
[Fri Feb 21 22:08:00 2003] [error] mod_jk.handler() Error connecting to
tomcat 120000

�What's happening?




----- Original Message -----
From: <pqin@xxxxxxxxxxxxxx>
To: <tomcat-user@xxxxxxxxxxxxxxxxxx>
Sent: Friday, February 21, 2003 7:05 PM
Subject: RE: apache & tomcat (this old problem)


> Not sure if mode_jk2-2.0.43.so works with apache 2.0.44. But
> workers2.properties and jk2.properties are quite simple.
>
> After I built tomcat-connector from source, I only did following changes
>
> 1. /usr/local/apache2/conf/workers2.properties
>
> # shared memory handling.
> [shm]
> file=/usr/local/jakarta-tomcat-4.1.18/work/jk2.shm
> size=1048576
>
> # example socket channel, explicitly set port and host
> [channel.socket:jackass:8009]
> tomcatId=jackass:8009
>
> # uri mapping
> [uri:/examples/*]
>
> 2. /usr/local/Jakarta-tomcat-4.1.18/conf/jk2.properties
>
> shm.file=${jkHome}/work/jk2.shm
>
> 3. No need to modify server.xml
>
> 4. /usr/local/apache2/conf/httpd.conf
>
> LoadModule jk2_module modules/mod_jk2.so
>
>
> Please show us the log so that we can better understand why "it does
work".
>
> Regards,
>
>
> PQ
>
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
>
> -----Original Message-----
> From: Dani [mailto:alchasira@xxxxxxxxxxx]
> Sent: February 21, 2003 1:02 PM
> To: tomcat-user@xxxxxxxxxxxxxxxxxx
> Subject: apache & tomcat (this old problem)
>
> Hello. First of all: sorry for my terrible English. Second, I'm
introducing
> myself: My name is Dani. Third thing (and the most important): my problem
> :-).
>
> "Again this silly and old problem?", you may say, but I can't solve it.
Help
> me please.
>
> I've installed red hat 7.2, apache 2.0.44 & tomcat 4.1.18. I'm trying to
> connect apache - tomcat each other, but I can't.
>
> I've downloaded mod_jk2-2.0.43.so and I've configure server.xml and
> workers2.properties as it is described in the mod_jk2 documentation. But
it
> doesn't work. Maybe server.xml or workers2.properties are bad
> (workers2.properties didn't exist previously) or maybe mod_jk2-2.0.43 is
not
> the correct module or maybe I put them in a bad place. I don't know. Any
> suggestion?
>
> Thanks for your patient.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: tomcat-user-help@xxxxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tomcat-user-help@xxxxxxxxxxxxxxxxxx

Reply via email to