tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From breako <alex.stave...@fineos.com>
Subject Re: Problem forward HTTP / Soap request using mod_jk
Date Wed, 04 Nov 2009 08:55:23 GMT

Thanks so much for replies. Very much appreciated.

In response to the questions:

1. I have an apache server in front of my tomcat.
2. The reason why I am doing this is because I wish to use multiple tomcats
and have some load balancing. 
That didn't work, so in trying to diagnose the problem, I got rid all but
one of the tomcat's behind the apache http server. This was to get the
simpliest case using apache http server working first.
3. No I have seen no errors in any logs (apache or mod_jk) with extra
logging.
I see notices in error.log but they look benign.

[Tue Nov 03 18:12:46 2009] [notice] IBM_HTTP_Server/6.1.0.9 Apache/2.0.47
configured -- resuming normal operations
[Tue Nov 03 18:12:46 2009] [notice] Server built: Apr 12 2007 19:42:26
[Tue Nov 03 18:12:46 2009] [notice] Parent: Created child process 7724
[Tue Nov 03 18:12:47 2009] [notice] Child 7724: Child process is running
[Tue Nov 03 18:12:47 2009] [notice] Child 7724: Acquired the start mutex.
[Tue Nov 03 18:12:47 2009] [notice] Child 7724: Starting 250 worker threads.
 
4. Here is some debug logging from the mod_jk...

[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2562):
setting connection pool size to 250 with min 125 and acquire timeout 200
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_worker.c (146): about to
create instance worker2 of ajp13
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_worker.c (159): about to
validate and init worker2
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2512):
worker worker2 contact is 'localhost:23009'
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2699):
setting endpoint options:
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2702):
keepalive:              0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2706):
socket timeout:         0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2710):
socket connect timeout: 0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2714):
buffer size:            0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2718): pool
timeout:           0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2722): ping
timeout:           10000
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2726):
connect timeout:        0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2730): reply
timeout:          0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2734):
prepost timeout:        0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2738):
recovery options:       0
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2742):
retries:                2
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2746): max
packet size:        8192
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_ajp_common.c (2750): retry
interval:         100

....

worker2 of type ajp13 (2)
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_worker.c (116): found a
worker worker2
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_worker.c (293): Found
worker type 'ajp13'
[Tue Nov 03 18:12:47 2009] [7724:3508] [debug] jk_uri_worker_map.c (512):
Checking extension for worker 2: 

and then
...

ue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_uri_worker_map.c (850):
Attempting to map context URI '/docy=worker2' source 'JkMount'
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_uri_worker_map.c (873):
Found an exact match '/docy=worker2'
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] mod_jk.c (2459): Into handler
jakarta-servlet worker=worker2 r->proxyreq=0
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_worker.c (116): found a
worker worker2
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_worker.c (339):
Maintaining worker worker1
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_worker.c (339):
Maintaining worker worker2
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_worker.c (339):
Maintaining worker loadbalancer
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_lb_worker.c (670): decay
with 2^1
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_worker.c (293): Found
worker type 'ajp13'
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] mod_jk.c (977): Service
protocol=HTTP/1.1 method=POST ssl=false host=(null) addr=192.168.125.90
name=ied031 port=8080 auth=(null) user=(null) laddr=192.168.125.90
raddr=192.168.125.90 uri=/docy
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (2977):
acquired connection pool slot=0 after 0 retries
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (605): ajp
marshaling done
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (2283):
processing worker2 with 2 retries
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (1501):
(worker2) all endpoints are disconnected.
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_connect.c (452): socket
TCP_NODELAY set to On
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_connect.c (576): trying to
connect socket 4536 to 127.0.0.1:23009
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_connect.c (602): socket
4536 connected to 127.0.0.1:23009
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (931):
Connected socket 4536 to (127.0.0.1:23009)
[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (1070):
sending to ajp13 pos=4 len=388 max=8192

and then several of this logs...

[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (1070): 0000   
12 34 01 80 02 04 00
... several more...

[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (1070): 0180   
65 64 00 FF 00 00 00 00 00 00 00 00 00 00 00 00  - ed.............. 08 48 54
54 50 2F 31 2E 31  - .4......HTTP/1.1

[Tue Nov 03 18:14:30 2009] [7724:3132] [debug] jk_ajp_common.c (1560):
(worker2) request body to send 0 - request body to resend 0


-- 
View this message in context: http://old.nabble.com/Problem-forward-HTTP---Soap-request-using-mod_jk-tp26160709p26192875.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message