Forum Discussion

zx81_142166's avatar
zx81_142166
Icon for Nimbostratus rankNimbostratus
Jan 28, 2014

503 error when trying to use modJK and F5 tomcat pool

Hello all
I am having an issue trying to use mod_JK to mount a f5 load balanced pool, the pool itself when hit will respond and show content but when I use JK mount it will not (I have allowed on all ports) showing a 503 "Service Temporarily Unavailable" can someone please help as this is deeply annoying me.
Thanks
ZX

Virtual server config

Name poolname_HTTP_http_virtual

Application poolname_HTTP

Partition / Path TEST-Traffic-

Partition/poolname_HTTP.app

Description

Type- Standard

Source- 0.0.0.0/0

Destination- Host internal IP

Service Port 0

Availability Available (Enabled) - The virtual server is available

worker.feed file

worker.worker2.connect_timeout=20000

worker.worker2.prepost_timeout=20000

worker.worker2.socket_timeout=1

worker.worker2.reply_timeout=20000

worker.worker2.type=ajp13

worker.worker2.host=LB_POOL_ADDRESS

worker.worker2.port=8009

mod_jk.log

[Mon Jan 27 16:05:21.575 2014] [3299:47758934280512] [info] ajp_handle_cping_cpong::jk_ajp_common.c (929): timeout in reply cpong

[Mon Jan 27 16:05:21.577 2014] [3299:47758934280512] [error] ajp_connect_to_endpoint::jk_ajp_common.c (1035): (worker2) cping/cpong after connecting to the backend server failed (errno=110)

[Mon Jan 27 16:05:21.577 2014] [3299:47758934280512] [error] ajp_send_request::jk_ajp_common.c (1630): (worker2) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

[Mon Jan 27 16:05:21.577 2014] [3299:47758934280512] [info] ajp_service::jk_ajp_common.c (2607): (worker2) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

[Mon Jan 27 16:05:21.577 2014] [3299:47758934280512] [error] ajp_service::jk_ajp_common.c (2626): (worker2) connecting to tomcat failed.

[Mon Jan 27 16:05:21.577 2014] [3299:47758934280512] [info] jk_handler::mod_jk.c (2678): Service error=-3 for worker=worker2