Yes, I have done that, I have my tomcat-service.xml file in the deploy directory with the
entry:
I've commented out all AJP connector information in server.xml
(/usr/local/jboss/tomcat-4.1.x/conf/) as the config is in the jboss deploy directory.
Like I said when I fire up jboss/tomcat the AJP connection does start listening on 7102,
and apache also connects to it: see mod_jk log:
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] wc_get_worker_for_name::jk_worker.c
(111): found a worker ajp13_q01-rpt-report01
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] wc_maintain::jk_worker.c (301):
Maintaining worker ajp13_q01-rpt-report01
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] init_ws_service::mod_jk.c (517): Service
protocol=HTTP/1.1 method=GET host=(null) ad
drr=10.168.156.159 name=q01-rpt-report01.stage.root port=80 auth=(null) user=(null)
laddr=10.63.81.165 raddr=10.168.156.159
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] ajp_get_endpoint::jk_ajp_common.c (2131):
acquired connection cache slot=0
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] ajp_marshal_into_msgb::jk_ajp_common.c
(566): ajp marshaling done
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] ajp_service::jk_ajp_common.c (1670):
processing with 3 retries
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] jk_open_socket::jk_connect.c (328):
socket TCP_NODELAY set to On
[Tue Sep 01 11:07:59 2009] [11456:42752] [debug] jk_open_socket::jk_connect.c (426):
trying to connect socket 15 to 127.0.0.1:8009
[Tue Sep 01 11:07:59 2009] [11456:42752] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=111
[Tue Sep 01 11:07:59 2009] [11456:42752] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:
8009) with (errno=111)
As you can see it finds the worker I specified in my workers.properties file, but then for
some reason tries to connect to 127.0.0.1:8009 (instead of 7102). None of my configs have
localhost and 8009. Its not in workers.properties, httpd.conf, server.xml or
tomcat-service.xml. I just have no idea where its picking it up...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252909#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...