I have tested it for 1.2 and it worked. Although I used a different version of 
mod_jk it should still work for 1.2 if it did for 1.1 and 2.0

It seems like it can't get to port 8009. I you wouldn't be using localhost I 
would say to check name resolution too, but that's not the case here.

Did you get Geronimo v1.2 binaries or built your own? Any chance of having 
Geronimo running on other than the default ports? can you see port 8009 up and 
LISTENING? (netstat -na | grep -i list)

Just for double-checking, you may want to take a quick look at this doc, mod_jk 
version tested is provided there too.

http://cwiki.apache.org/GMOxDOC12/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html

HTH

Cheers!
Hernan

dapsy wrote:
I have Apache 2.2.4 installation with mod_jk routing request to geronimo
application server. The setup works for G v1.1 and G v2.0 without any
changes, all I had to do was start the specific instance version and test
with the appriopriate URL. But doesn't work for G v1.2. This is surprising
to me. Does anyone else have this same problem.

Apache HTTP 2.2.4
Apache tomcat mod_jk 1.2.23


workers.properties:
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

mod_jk.log:
[Wed Jul 18 09:01:59 2007] [32122:34480] [info] ajp_service::jk_ajp_common.c (1916): (ajp13) sending request to tomcat
failed,  recoverable operation attempt=2
[Wed Jul 18 09:01:59 2007] [32122:34480] [error]
ajp_service::jk_ajp_common.c (1928): (ajp13) Connecting to tomcat failed.
Tomcat is probably not started or is listening on the wrong port
[Wed Jul 18 09:01:59 2007] [32122:34480] [info]  jk_handler::mod_jk.c
(2142): Service error=0 for worker=ajp13
[Wed Jul 18 09:10:42 2007] [1672:38576] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (942): (ajp13) Tomcat has
forced a connection close for socket 14
[Wed Jul 18 09:10:42 2007] [1672:38576] [error]
ajp_get_reply::jk_ajp_common.c (1566): (ajp13) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Wed Jul 18 09:10:42 2007] [1672:38576] [info]  ajp_service::jk_ajp_common.c
(1877): (ajp13) receiving from tomcat failed, recoverable operation
attempt=0
[Wed Jul 18 09:10:42 2007] [1672:38576] [info]  ajp_service::jk_ajp_common.c
(1916): (ajp13) sending request to tomcat failed,  recoverable operation
attempt=1
[Wed Jul 18 09:10:42 2007] [1672:38576] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (942): (ajp13) Tomcat has
forced a connection close for socket 14
[Wed Jul 18 09:10:42 2007] [1672:38576] [error]
ajp_get_reply::jk_ajp_common.c (1566): (ajp13) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Wed Jul 18 09:10:42 2007] [1672:38576] [info]  ajp_service::jk_ajp_common.c
(1877): (ajp13) receiving from tomcat failed, recoverable operation
attempt=1
[Wed Jul 18 09:10:42 2007] [1672:38576] [info]  ajp_service::jk_ajp_common.c
(1916): (ajp13) sending request to tomcat failed,  recoverable operation
attempt=2
[Wed Jul 18 09:10:42 2007] [1672:38576] [error] ajp_service::jk_ajp_common.c
(1928): (ajp13) Connecting to tomcat failed. Tomcat is probably not started
or is listening on the wrong port
[Wed Jul 18 09:10:42 2007] [1672:38576] [info]  jk_handler::mod_jk.c (2142):
Service error=0 for worker=ajp13


Reply via email to