tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: A question about mod_jk 1.2.28 configuration
Date Thu, 12 Nov 2009 16:26:36 GMT
thomas2004 wrote:
...
I cannot tell you what's wrong, but I can tell you that the log you show 
below, shows that the JBoss response is a HTML document, not a PDF.
So maybe you have to revise some of your assumptions.

...
> 00 00 FF 00 00 00 00 00 00 00 00 00  - 0...............
> [Thu Nov 12 15:50:24 2009] [9287:2537062720] [debug]
> ajp_send_request::jk_ajp_common.c (1549): (worker_portfolio_son1) Statistics
> about invalid connections: connect check (0), cping (0), send (0)
> [Thu Nov 12 15:50:24 2009] [9287:2537062720] [debug]
> ajp_send_request::jk_ajp_common.c (1560): (worker_portfolio_son1) request
> body to send 0 - request body to resend 0

Start of response

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13
> pos=0 len=276 max=8192
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    04 00 C8 00
> 02 4F 4B 00 00 08 00 0C 58 2D 50 6F  - .....OK.....X-Po
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0010    77 65 72 65
> 64 2D 42 79 00 00 59 53 65 72 76 6C  - wered-By..YServl
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0020    65 74 20 32
> 2E 34 3B 20 4A 42 6F 73 73 2D 34 2E  - et.2.4;.JBoss-4.
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0030    32 2E 33 2E
> 47 41 20 28 62 75 69 6C 64 3A 20 53  - 2.3.GA.(build:.S
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0040    56 4E 54 61
> 67 3D 4A 42 6F 73 73 5F 34 5F 32 5F  - VNTag=JBoss_4_2_
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0050    33 5F 47 41
> 20 64 61 74 65 3D 32 30 30 38 30 37  - 3_GA.date=200807
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0060    31 38 31 34
> 31 37 29 2F 4A 42 6F 73 73 57 65 62  - 181417)/JBossWeb
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0070    2D 32 2E 30
> 00 00 06 50 72 61 67 6D 61 00 00 08  - -2.0...Pragma...
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0080    6E 6F 2D 63
> 61 63 68 65 00 00 07 45 78 70 69 72  - no-cache...Expir
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0090    65 73 00 00
> 1D 54 68 75 2C 20 30 31 20 4A 61 6E  - es...Thu,.01.Jan
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00a0    20 31 39 37
> 30 20 30 30 3A 30 30 3A 30 30 20 47  - .1970.00:00:00.G
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00b0    4D 54 00 00
> 0D 43 61 63 68 65 2D 43 6F 6E 74 72  - MT...Cache-Contr
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00c0    6F 6C 00 00
> 08 6E 6F 2D 63 61 63 68 65 00 00 0D  - ol...no-cache...
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00d0    43 61 63 68
> 65 2D 43 6F 6E 74 72 6F 6C 00 00 08  - Cache-Control...
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00e0    6E 6F 2D 73
> 74 6F 72 65 00 A0 01 00 17 74 65 78  - no-store.....tex
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00f0    74 2F 68 74
> 6D 6C 3B 63 68 61 72 73 65 74 3D 55  - t/html;charset=U
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0100    54 46 2D 38
> 00 A0 02 00 02 64 65 00 A0 03 00 03  - TF-8.....de.....
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0110    34 33 33 00
> 00 00 00 00 00 00 00 00 00 00 00 00  - 433.............

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (660): status = 200
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (667): Number of headers is = 8
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[0] [X-Powered-By] =
> [Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA
> date=200807181417)/JBossWeb-2.0]
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[1] [Pragma] =
> [no-cache]
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[2] [Expires] = [Thu,
> 01 Jan 1970 00:00:00 GMT]
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[3] [Cache-Control] =
> [no-cache]
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[4] [Cache-Control] =
> [no-store]

See here :

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[5] [Content-Type] =
> [text/html;charset=UTF-8]


> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[6] [Content-Language]
> = [de]

and we even know it is 433 characters long

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_unmarshal_response::jk_ajp_common.c (723): Header[7] [Content-Length] =
> [433]

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13
> pos=0 len=437 max=8192

and here comes a nice <!DOCTYPE ..

> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    03 01 B1 0A
> 0A 0A 0A 0A 0A 0A 3C 21 44 4F 43 54  - ..........<!DOCT
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0010    59 50 45 20
> 48 54 4D 4C 20 50 55 42 4C 49 43 20  - YPE.HTML.PUBLIC.
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0020    22 2D 2F 2F
> 57 33 43 2F 2F 44 54 44 20 48 54 4D  - "-//W3C//DTD.HTM
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0030    4C 20 34 2E
> 30 31 20 54 72 61 6E 73 69 74 69 6F  - L.4.01.Transitio
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0040    6E 61 6C 2F
> 2F 45 4E 22 0A 20 20 20 22 68 74 74  - nal//EN"...."htt
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0050    70 3A 2F 2F
> 77 77 77 2E 77 33 2E 6F 72 67 2F 54  - p://www.w3.org/T
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0060    52 2F 68 74
> 6D 6C 34 2F 6C 6F 6F 73 65 2E 64 74  - R/html4/loose.dt
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0070    64 22 3E 0A
> 3C 68 74 6D 6C 3E 0A 20 20 20 20 3C  - d">.<html>.....<
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0080    68 65 61 64
> 3E 0A 20 20 20 20 20 20 20 20 3C 6D  - head>.........<m
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0090    65 74 61 20
> 68 74 74 70 2D 65 71 75 69 76 3D 22  - eta.http-equiv="
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00a0    43 6F 6E 74
> 65 6E 74 2D 54 79 70 65 22 20 63 6F  - Content-Type".co
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00b0    6E 74 65 6E
> 74 3D 22 74 65 78 74 2F 68 74 6D 6C  - ntent="text/html
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00c0    3B 20 63 68
> 61 72 73 65 74 3D 55 54 46 2D 38 22  - ;.charset=UTF-8"
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00d0    3E 0A 20 20
> 20 20 20 20 20 20 3C 74 69 74 6C 65  - >.........<title
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00e0    3E 4A 53 50
> 20 50 61 67 65 3C 2F 74 69 74 6C 65  - >JSP.Page</title
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00f0    3E 0A 20 20
> 20 20 3C 2F 68 65 61 64 3E 0A 20 20  - >.....</head>...
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0100    20 20 3C 62
> 6F 64 79 3E 0A 20 20 20 20 20 20 20  - ..<body>........
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0110    20 0A 20 20
> 20 20 20 20 20 20 47 65 6E 65 72 61  - ..........Genera
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0120    74 65 64 20
> 69 6E 20 33 35 31 34 31 36 20 6D 73  - ted.in.351416.ms
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0130    65 63 5B 71
> 75 65 72 79 20 74 69 6D 65 3A 20 33  - ec[query.time:.3
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0140    35 31 33 38
> 34 20 6D 73 65 63 2C 20 70 72 6F 63  - 51384.msec,.proc
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0150    65 73 73 69
> 6E 67 20 74 69 6D 65 3A 20 33 32 20  - essing.time:.32.
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0160    6D 73 65 63
> 5D 20 66 6F 72 20 38 32 34 37 32 37  - msec].for.824727
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0170    20 72 6F 77
> 73 2E 0A 20 20 20 20 20 20 20 20 3C  - .rows..........<
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0180    70 2F 3E 3C
> 61 20 68 72 65 66 3D 22 69 6E 64 65  - p/><a.href="inde
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0190    78 2E 68 74
> 6D 22 3E 42 61 63 6B 3C 2F 61 3E 0A  - x.htm">Back .
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01a0    20 20 20 20
> 3C 2F 62 6F 64 79 3E 0A 3C 2F 68 74  - ....</body>.</ht
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01b0    6D 6C 3E 0A
> 00 00 00 00 00 00 00 00 00 00 00 00  - ml>.............
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug] ws_write::mod_jk.c
> (506): written 433 out of 433
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13
> pos=0 len=2 max=8192
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    05 01 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00  - ................
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_process_callback::jk_ajp_common.c (1846): AJP13 protocol: Reuse is OK
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_reset_endpoint::jk_ajp_common.c (743): (worker_portfolio_son1) resetting
> endpoint with sd = 29 
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug]
> ajp_done::jk_ajp_common.c (2905): recycling connection pool slot=0 for
> worker worker_portfolio_son1
> [Thu Nov 12 15:56:15 2009] worker_portfolio_son1
> citibank-extranet-ru-test.civ-versicherung.de 351.425973
> [Thu Nov 12 15:56:15 2009] [9287:2537062720] [debug] jk_handler::mod_jk.c
> (2599): Service finished with status=200 for worker=worker_portfolio_son1
> [/code]


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


Mime
View raw message