You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Cristantello <cr...@fstrf.org> on 2007/09/21 22:01:44 UTC

Problem with nsapi_connector.so and HTTP 304 response from JBoss

Hi everyone,

I'm having a rather strange problem with the nsapi_connector for Sun One 
Web Server 6.1 connecting via ajp/13 to a JBoss application server. 
Basically, if the JBoss server returns a HTTP code 304 for a browser 
cache hit, the SWS is instead looking for the file in its own docroot 
and then returning a 404 because it is not found. The connector works 
fine otherwise, and the status program that comes with it works with no 
problems at all. I'm hoping someone here has seen this before and can 
give me some advice to get it fixed. The mod_jk plugin for Apache2 works 
perfectly on the Linux VM connecting to the same JBoss server cluster. 
The really odd thing is that the web server seems to be checking its own 
docroot on every request, even if it already got a response from the 
JBoss server.

This is what I've tried so far:
-Setting the obj.conf file to connect directly to the jboss1 worker 
instead of the balance1 worker.
-Setting the NameTrans to assign "/*" to the jboss object. This resulted 
in rather strange behavior where the homepage of the JBoss server was 
displayed directly above the homepage from the Sun Web Server.
-Removing all the other NameTrans elements except the one for the jboss 
server. This broke most of the other web server functions and still did 
not fix the problem.

Environments:
Linux VM (for testing)
    Distribution: CentOS 3 (similar to RedHat Enterprise Linux 3)
    Kernel: stock 2.4.21-50.ELsmp
    CPU: x86
    Java JDK: Sun JDK 1.5.0_12
    Web Server: Sun ONE Web Server 6.1SP6 B05/07/2006

Sun 480R Server
    OS: Solaris 8
    Kernel: SunOS asimov 5.8 Generic_117350-46 sun4u sparc 
SUNW,Sun-Fire-480R
    CPU: sparc 64 bit
    Java JDK: Sun JDK 1.5.0_10
    Web Server: Sun ONE Web Server 6.1SP6 B05/07/2006

I have tried both the stock version of the 1.2.25 tomcat connector and 
one that I compiled from source on the Linux VM, but only the stock 
version on the Solaris box.

The first time the client requests a resource from the web server (say 
an image), it works fine -- Tomcat returns a 200 ok and SWS passes that 
response back to the client. The second request for the same image 
results in a 404 response from the SWS, even though Tomcat returned a 
304. The following log file snippets demonstrate what is going on:

At 20/Sep/2007:17:10:08, the file displayed correctly in my browser.
At 20/Sep/2007:17:10:19, I got a 404 error from the Sun Web Server.

Note that the tabs in the sections below are added for readability, they 
are not in the actual files.

Web Server access log:
    10.10.11.42 - - [20/Sep/2007:17:10:08 -0400] "GET 
/jboss-fstrf-theme/images/header_bg.gif HTTP/1.1" 404 311
    10.10.11.42 - - [20/Sep/2007:17:10:19 -0400] "GET 
/jboss-fstrf-theme/images/header_bg.gif HTTP/1.1" 404 815

Web Server error log:
    [20/Sep/2007:17:10:08] warning (17783): for host 10.10.11.42 trying 
to GET /jboss-fstrf-theme/images/header_bg.gif, send-file reports: 
HTTP4142: can't find 
/local/web/prod/publicweb2/jboss-fstrf-theme/images/header_bg.gif (File 
not found)
    [20/Sep/2007:17:10:19] warning (17783): for host 10.10.11.42 trying 
to GET /jboss-fstrf-theme/images/header_bg.gif, send-file reports: 
HTTP4142: can't find 
/local/web/prod/publicweb2/jboss-fstrf-theme/images/header_bg.gif (File 
not found)

Tomcat Access Log:
    10.10.11.42 - - [20/Sep/2007:17:10:08 -0400] "GET 
/jboss-fstrf-theme/images/header_bg.gif HTTP/1.1" 200 311
    10.10.11.42 - - [20/Sep/2007:17:10:19 -0400] "GET 
/jboss-fstrf-theme/images/header_bg.gif HTTP/1.1" 304 -

NSAPI Log:
    [Thu Sep 20 17:27:27.530 2007] [22205:77] [debug] 
ajp_get_endpoint::jk_ajp_common.c (2498): acquired connection pool slot=0
    [Thu Sep 20 17:27:27.530 2007] [22205:77] [debug] 
ajp_marshal_into_msgb::jk_ajp_common.c (551): ajp marshaling done
    [Thu Sep 20 17:27:27.530 2007] [22205:77] [debug] 
ajp_service::jk_ajp_common.c (1935): processing jboss1 with 2 retries
    [Thu Sep 20 17:27:27.530 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): sending to ajp13 
pos=4 len=608 max=8192
    [Thu Sep 20 17:27:27.531 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0000    12 34 02 
5C 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4.\....HTTP/1.1
    [Thu Sep 20 17:27:27.531 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0010    00 00 27 
2F 6A 62 6F 73 73 2D 66 73 74 72 66 2D  - ..'/jboss-fstrf-
    [Thu Sep 20 17:27:27.531 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0020    74 68 65 
6D 65 2F 69 6D 61 67 65 73 2F 68 65 61  - theme/images/hea
    [Thu Sep 20 17:27:27.531 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0030    64 65 72 
5F 62 67 2E 67 69 66 00 00 0B 31 30 2E  - der_bg.gif...10.
    [Thu Sep 20 17:27:27.531 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0040    31 30 2E 
31 31 2E 34 32 00 FF FF 00 14 70 72 6F  - 10.11.42.....pro
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0050    64 2D 61 
6C 70 68 61 2E 66 73 74 72 66 2E 6F 72  - d-alpha.fstrf.or
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0060    67 00 01 
BB 01 00 0B A0 0B 00 14 70 72 6F 64 2D  - g..........prod-
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0070    61 6C 70 
68 61 2E 66 73 74 72 66 2E 6F 72 67 00  - alpha.fstrf.org.
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0080    A0 0E 00 
5A 4D 6F 7A 69 6C 6C 61 2F 35 2E 30 20  - ...ZMozilla/5.0.
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0090    28 57 69 
6E 64 6F 77 73 3B 20 55 3B 20 57 69 6E  - (Windows;.U;.Win
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00a0    64 6F 77 
73 20 4E 54 20 35 2E 31 3B 20 65 6E 2D  - dows.NT.5.1;.en-
    [Thu Sep 20 17:27:27.532 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00b0    55 53 3B 
20 72 76 3A 31 2E 38 2E 31 2E 37 29 20  - US;.rv:1.8.1.7).
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00c0    47 65 63 
6B 6F 2F 32 30 30 37 30 39 31 34 20 46  - Gecko/20070914.F
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00d0    69 72 65 
66 6F 78 2F 32 2E 30 2E 30 2E 37 00 A0  - irefox/2.0.0.7..
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00e0    01 00 63 
74 65 78 74 2F 78 6D 6C 2C 61 70 70 6C  - ..ctext/xml,appl
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00f0    69 63 61 
74 69 6F 6E 2F 78 6D 6C 2C 61 70 70 6C  - ication/xml,appl
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0100    69 63 61 
74 69 6F 6E 2F 78 68 74 6D 6C 2B 78 6D  - ication/xhtml+xm
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0110    6C 2C 74 
65 78 74 2F 68 74 6D 6C 3B 71 3D 30 2E  - l,text/html;q=0.
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0120    39 2C 74 
65 78 74 2F 70 6C 61 69 6E 3B 71 3D 30  - 9,text/plain;q=0
    [Thu Sep 20 17:27:27.533 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0130    2E 38 2C 
69 6D 61 67 65 2F 70 6E 67 2C 2A 2F 2A  - .8,image/png,*/*
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0140    3B 71 3D 
30 2E 35 00 A0 04 00 0E 65 6E 2D 75 73  - ;q=0.5.....en-us
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0150    2C 65 6E 
3B 71 3D 30 2E 35 00 A0 03 00 0C 67 7A  - ,en;q=0.5.....gz
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0160    69 70 2C 
64 65 66 6C 61 74 65 00 A0 02 00 1E 49  - ip,deflate.....I
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0170    53 4F 2D 
38 38 35 39 2D 31 2C 75 74 66 2D 38 3B  - SO-8859-1,utf-8;
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0180    71 3D 30 
2E 37 2C 2A 3B 71 3D 30 2E 37 00 00 0A  - q=0.7,*;q=0.7...
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0190    6B 65 65 
70 2D 61 6C 69 76 65 00 00 03 33 30 30  - keep-alive...300
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01a0    00 A0 06 
00 0A 6B 65 65 70 2D 61 6C 69 76 65 00  - .....keep-alive.
    [Thu Sep 20 17:27:27.534 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01b0    A0 09 00 
47 43 46 54 4F 4B 45 4E 3D 38 38 31 32  - ...GCFTOKEN=8812
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01c0    37 38 38 
34 3B 20 43 46 49 44 3D 37 37 30 33 3B  - 7884;.CFID=7703;
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01d0    20 4A 53 
45 53 53 49 4F 4E 49 44 3D 77 45 75 72  - .JSESSIONID=wEur
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01e0    4C 54 71 
56 4C 4D 38 4F 6E 68 50 33 6A 53 7A 41  - LTqVLM8OnhP3jSzA
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01f0    37 67 2A 
2A 2E 6A 62 6F 73 73 31 00 00 0D 63 61  - 7g**.jboss1...ca
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0200    63 68 65 
2D 63 6F 6E 74 72 6F 6C 00 00 09 6D 61  - che-control...ma
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0210    78 2D 61 
67 65 3D 30 00 A0 08 00 01 30 00 06 00  - x-age=0.....0...
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0220    06 6A 62 
6F 73 73 31 00 08 00 03 52 43 34 00 09  - .jboss1....RC4..
    [Thu Sep 20 17:27:27.535 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0230    00 2C 56 
72 31 67 69 45 61 70 50 4B 34 4B 6D 44  - .,Vr1giEapPK4KmD
    [Thu Sep 20 17:27:27.536 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0240    34 35 58 
42 67 4A 6F 2F 4D 6D 4A 42 65 44 36 5A  - 45XBgJo/MmJBeD6Z
    [Thu Sep 20 17:27:27.536 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0250    72 6F 68 
67 55 72 65 36 75 47 6D 76 34 3D 00 FF  - rohgUre6uGmv4=..
    [Thu Sep 20 17:27:27.536 2007] [22205:77] [debug] 
ajp_send_request::jk_ajp_common.c (1325): (jboss1) request body to send 
0 - request body to resend 0
    [Thu Sep 20 17:27:27.540 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): received from 
ajp13 pos=0 len=202 max=8192
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0000    04 00 C8 
00 02 4F 4B 00 00 05 00 0C 58 2D 50 6F  - .....OK.....X-Po
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0010    77 65 72 
65 64 2D 42 79 00 00 57 53 65 72 76 6C  - wered-By..WServl
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0020    65 74 20 
32 2E 34 3B 20 4A 42 6F 73 73 2D 34 2E  - et.2.4;.JBoss-4.
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0030    32 2E 31 
2E 47 41 20 28 62 75 69 6C 64 3A 20 53  - 2.1.GA.(build:.S
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0040    56 4E 54 
61 67 3D 4A 42 6F 73 73 5F 34 5F 32 5F  - VNTag=JBoss_4_2_
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0050    31 5F 47 
41 20 64 61 74 65 3D 32 30 30 37 30 37  - 1_GA.date=200707
    [Thu Sep 20 17:27:27.541 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0060    31 33 31 
36 30 35 29 2F 54 6F 6D 63 61 74 2D 35  - 131605)/Tomcat-5
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0070    2E 35 00 
00 04 45 54 61 67 00 00 15 57 2F 22 33  - .5...ETag...W/"3
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0080    31 31 2D 
31 31 38 39 38 30 35 32 33 38 30 30 30  - 11-1189805238000
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0090    22 00 A0 
05 00 1D 46 72 69 2C 20 31 34 20 53 65  - ".....Fri,.14.Se
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00a0    70 20 32 
30 30 37 20 32 31 3A 32 37 3A 31 38 20  - p.2007.21:27:18.
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00b0    47 4D 54 
00 A0 01 00 09 69 6D 61 67 65 2F 67 69  - GMT.....image/gi
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00c0    66 00 A0 
03 00 03 33 31 31 00 00 00 00 00 00 00  - f.....311.......
    [Thu Sep 20 17:27:27.542 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (606): status = 200
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (613): Number of headers is = 5
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[0] [X-Powered-By] 
= [Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA 
date=200707131605)/Tomcat-5.5]
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[1] [ETag] = 
[W/"311-1189805238000"]
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[2] [Last-Modified] 
= [Fri, 14 Sep 2007 21:27:18 GMT]
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[3] [Content-Type] 
= [image/gif]
    [Thu Sep 20 17:27:27.543 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[4] 
[Content-Length] = [311]
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): received from 
ajp13 pos=0 len=315 max=8192
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0000    03 01 37 
47 49 46 38 39 61 02 00 41 00 D5 00 00  - ..7GIF89a..A....
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0010    62 86 B3 
50 78 AA 4E 77 A8 50 72 9C 5F 83 AF 62  - b..Px.Nw.Pr._..b
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0020    86 B2 3D 
63 91 3A 60 8E 61 85 B2 5B 7E A9 3E 64  - ..=c.:`.a..[~.>d
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0030    93 4A 71 
A2 55 77 A3 4D 75 A7 41 68 97 61 64 67  - .Jq.Uw.Mu.Ah.adg
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0040    43 69 99 
47 6E 9E 40 66 95 44 6B 9B 60 84 B0 48  - Ci.Gn.@f.Dk.`..H
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0050    70 A0 53 
75 9F 5C 7F AB 4D 74 A5 4B 73 A4 59 7D  - p.Su.\..Mt.Ks.Y}
    [Thu Sep 20 17:27:27.544 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0060    A7 5D 80 
AC 46 6D 9C 45 6D 9D 58 7A A5 53 76 A1  - .]..Fm.Em.Xz.Sv.
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0070    58 7B A6 
51 73 9D 56 79 A4 5E 82 AE 5C 80 AC 5E  - X{.Qs.Vy.^..\..^
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0080    81 AE 3B 
61 8F 4C 74 A5 3C 61 8F 56 79 A3 54 76  - ..;a.Lt.<a.Vy.Tv
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0090    A0 59 7C 
A8 4F 70 9A 4F 71 9A 4F 78 A9 51 74 9E  - .Y|.Op.Oq.Ox.Qt.
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00a0    4B 72 A4 
4F 77 A9 00 00 00 00 00 00 00 00 00 00  - Kr.Ow...........
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00b0    00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00c0    00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
    [Thu Sep 20 17:27:27.545 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00d0    21 F9 04 
00 00 00 00 00 2C 00 00 00 00 02 00 41  - !.......,......A
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00e0    00 00 06 
54 C0 C3 81 D5 42 99 06 03 83 21 F4 52  - ...T....B....!.R
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 00f0    28 2C 16 
89 44 F5 71 38 18 0C 08 24 25 9A 4C 40  - (,..D.q8...$%.L@
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0100    1E 4E 67 
A5 89 44 12 89 4A E5 72 59 2C 36 24 58  - .Ng..D..J.rY,6$X
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0110    66 54 C2 
9C 08 84 46 83 42 11 08 10 08 31 2E 05  - fT....F.B....1..
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0120    05 01 01 
00 00 86 88 8A 89 87 8D 8B 8E 8C 92 91  - ................
    [Thu Sep 20 17:27:27.546 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0130    94 90 96 
8F 98 0F 0F 41 00 3B 00 00 00 00 00 00  - .......A.;......
    [Thu Sep 20 17:27:27.547 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): received from 
ajp13 pos=0 len=2 max=8192
    [Thu Sep 20 17:27:27.547 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0000    05 01 00 
00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
    [Thu Sep 20 17:27:27.547 2007] [22205:77] [debug] 
ajp_process_callback::jk_ajp_common.c (1569): AJP13 protocol: Reuse is OK
    [Thu Sep 20 17:27:27.547 2007] [22205:77] [debug] 
ajp_done::jk_ajp_common.c (2441): recycling connection pool slot=0 for 
worker jboss1
    [Thu Sep 20 17:27:27.547 2007] [22205:77] [debug] 
jk_service::jk_nsapi_plugin.c (389): service() returned OK
    [Thu Sep 20 17:28:01.551 2007] [22205:77] [debug] 
wc_get_worker_for_name::jk_worker.c (115): found a worker balance1
    [Thu Sep 20 17:28:01.551 2007] [22205:77] [debug] 
init_ws_service::jk_nsapi_plugin.c (518): Service protocol=HTTP/1.1 
method=GET host=(null) addr=10.10.11.42 name=prod-alpha.fstrf.org 
port=443 auth=(null) user=(null) uri=/jboss-fstrf-theme/images/header_bg.gif
    [Thu Sep 20 17:28:01.551 2007] [22205:77] [debug] 
service::jk_lb_worker.c (939): service sticky_session=1 
id='wEurLTqVLM8OnhP3jSzA7g**.jboss1'
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
get_most_suitable_worker::jk_lb_worker.c (778): searching worker for 
partial sessionid wEurLTqVLM8OnhP3jSzA7g**.jboss1
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
get_most_suitable_worker::jk_lb_worker.c (786): searching worker for 
session route jboss1
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
get_most_suitable_worker::jk_lb_worker.c (799): found worker jboss1 
(jboss1) for route jboss1 and partial sessionid 
wEurLTqVLM8OnhP3jSzA7g**.jboss1
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
service::jk_lb_worker.c (959): service worker=jboss1 route=jboss1
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
ajp_get_endpoint::jk_ajp_common.c (2498): acquired connection pool slot=0
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
ajp_marshal_into_msgb::jk_ajp_common.c (551): ajp marshaling done
    [Thu Sep 20 17:28:01.552 2007] [22205:77] [debug] 
ajp_service::jk_ajp_common.c (1935): processing jboss1 with 2 retries
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): sending to ajp13 
pos=4 len=700 max=8192
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0000    12 34 02 
B8 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4......HTTP/1.1
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0010    00 00 27 
2F 6A 62 6F 73 73 2D 66 73 74 72 66 2D  - ..'/jboss-fstrf-
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0020    74 68 65 
6D 65 2F 69 6D 61 67 65 73 2F 68 65 61  - theme/images/hea
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0030    64 65 72 
5F 62 67 2E 67 69 66 00 00 0B 31 30 2E  - der_bg.gif...10.
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0040    31 30 2E 
31 31 2E 34 32 00 FF FF 00 14 70 72 6F  - 10.11.42.....pro
    [Thu Sep 20 17:28:01.553 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0050    64 2D 61 
6C 70 68 61 2E 66 73 74 72 66 2E 6F 72  - d-alpha.fstrf.or
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0060    67 00 01 
BB 01 00 0D A0 0B 00 14 70 72 6F 64 2D  - g..........prod-
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0070    61 6C 70 
68 61 2E 66 73 74 72 66 2E 6F 72 67 00  - alpha.fstrf.org.
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0080    A0 0E 00 
5A 4D 6F 7A 69 6C 6C 61 2F 35 2E 30 20  - ...ZMozilla/5.0.
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0090    28 57 69 
6E 64 6F 77 73 3B 20 55 3B 20 57 69 6E  - (Windows;.U;.Win
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00a0    64 6F 77 
73 20 4E 54 20 35 2E 31 3B 20 65 6E 2D  - dows.NT.5.1;.en-
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00b0    55 53 3B 
20 72 76 3A 31 2E 38 2E 31 2E 37 29 20  - US;.rv:1.8.1.7).
    [Thu Sep 20 17:28:01.554 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00c0    47 65 63 
6B 6F 2F 32 30 30 37 30 39 31 34 20 46  - Gecko/20070914.F
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00d0    69 72 65 
66 6F 78 2F 32 2E 30 2E 30 2E 37 00 A0  - irefox/2.0.0.7..
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00e0    01 00 63 
74 65 78 74 2F 78 6D 6C 2C 61 70 70 6C  - ..ctext/xml,appl
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 00f0    69 63 61 
74 69 6F 6E 2F 78 6D 6C 2C 61 70 70 6C  - ication/xml,appl
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0100    69 63 61 
74 69 6F 6E 2F 78 68 74 6D 6C 2B 78 6D  - ication/xhtml+xm
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0110    6C 2C 74 
65 78 74 2F 68 74 6D 6C 3B 71 3D 30 2E  - l,text/html;q=0.
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0120    39 2C 74 
65 78 74 2F 70 6C 61 69 6E 3B 71 3D 30  - 9,text/plain;q=0
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0130    2E 38 2C 
69 6D 61 67 65 2F 70 6E 67 2C 2A 2F 2A  - .8,image/png,*/*
    [Thu Sep 20 17:28:01.555 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0140    3B 71 3D 
30 2E 35 00 A0 04 00 0E 65 6E 2D 75 73  - ;q=0.5.....en-us
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0150    2C 65 6E 
3B 71 3D 30 2E 35 00 A0 03 00 0C 67 7A  - ,en;q=0.5.....gz
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0160    69 70 2C 
64 65 66 6C 61 74 65 00 A0 02 00 1E 49  - ip,deflate.....I
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0170    53 4F 2D 
38 38 35 39 2D 31 2C 75 74 66 2D 38 3B  - SO-8859-1,utf-8;
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0180    71 3D 30 
2E 37 2C 2A 3B 71 3D 30 2E 37 00 00 0A  - q=0.7,*;q=0.7...
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0190    6B 65 65 
70 2D 61 6C 69 76 65 00 00 03 33 30 30  - keep-alive...300
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01a0    00 A0 06 
00 0A 6B 65 65 70 2D 61 6C 69 76 65 00  - .....keep-alive.
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01b0    A0 09 00 
47 43 46 54 4F 4B 45 4E 3D 38 38 31 32  - ...GCFTOKEN=8812
    [Thu Sep 20 17:28:01.556 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01c0    37 38 38 
34 3B 20 43 46 49 44 3D 37 37 30 33 3B  - 7884;.CFID=7703;
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01d0    20 4A 53 
45 53 53 49 4F 4E 49 44 3D 77 45 75 72  - .JSESSIONID=wEur
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01e0    4C 54 71 
56 4C 4D 38 4F 6E 68 50 33 6A 53 7A 41  - LTqVLM8OnhP3jSzA
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 01f0    37 67 2A 
2A 2E 6A 62 6F 73 73 31 00 00 11 69 66  - 7g**.jboss1...if
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0200    2D 6D 6F 
64 69 66 69 65 64 2D 73 69 6E 63 65 00  - -modified-since.
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0210    00 1D 46 
72 69 2C 20 31 34 20 53 65 70 20 32 30  - ..Fri,.14.Sep.20
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0220    30 37 20 
32 31 3A 32 37 3A 31 38 20 47 4D 54 00  - 07.21:27:18.GMT.
    [Thu Sep 20 17:28:01.557 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0230    00 0D 69 
66 2D 6E 6F 6E 65 2D 6D 61 74 63 68 00  - ..if-none-match.
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0240    00 15 57 
2F 22 33 31 31 2D 31 31 38 39 38 30 35  - ..W/"311-1189805
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0250    32 33 38 
30 30 30 22 00 00 0D 63 61 63 68 65 2D  - 238000"...cache-
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0260    63 6F 6E 
74 72 6F 6C 00 00 09 6D 61 78 2D 61 67  - control...max-ag
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0270    65 3D 30 
00 A0 08 00 01 30 00 06 00 06 6A 62 6F  - e=0.....0....jbo
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0280    73 73 31 
00 08 00 03 52 43 34 00 09 00 2C 56 72  - ss1....RC4...,Vr
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 0290    31 67 69 
45 61 70 50 4B 34 4B 6D 44 34 35 58 42  - 1giEapPK4KmD45XB
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 02a0    67 4A 6F 
2F 4D 6D 4A 42 65 44 36 5A 72 6F 68 67  - gJo/MmJBeD6Zrohg
    [Thu Sep 20 17:28:01.558 2007] [22205:77] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (911): 02b0    55 72 65 
36 75 47 6D 76 34 3D 00 FF 00 00 00 00  - Ure6uGmv4=......
    [Thu Sep 20 17:28:01.559 2007] [22205:77] [debug] 
ajp_send_request::jk_ajp_common.c (1325): (jboss1) request body to send 
0 - request body to resend 0
    [Thu Sep 20 17:28:01.563 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): received from 
ajp13 pos=0 len=131 max=8192
    [Thu Sep 20 17:28:01.563 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0000    04 01 30 
00 0C 4E 6F 74 20 4D 6F 64 69 66 69 65  - ..0..Not.Modifie
    [Thu Sep 20 17:28:01.563 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0010    64 00 00 
02 00 0C 58 2D 50 6F 77 65 72 65 64 2D  - d.....X-Powered-
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0020    42 79 00 
00 57 53 65 72 76 6C 65 74 20 32 2E 34  - By..WServlet.2.4
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0030    3B 20 4A 
42 6F 73 73 2D 34 2E 32 2E 31 2E 47 41  - ;.JBoss-4.2.1.GA
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0040    20 28 62 
75 69 6C 64 3A 20 53 56 4E 54 61 67 3D  - .(build:.SVNTag=
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0050    4A 42 6F 
73 73 5F 34 5F 32 5F 31 5F 47 41 20 64  - JBoss_4_2_1_GA.d
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0060    61 74 65 
3D 32 30 30 37 30 37 31 33 31 36 30 35  - ate=200707131605
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0070    29 2F 54 
6F 6D 63 61 74 2D 35 2E 35 00 A0 03 00  - )/Tomcat-5.5....
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0080    01 30 00 
00 00 00 00 00 00 00 00 00 00 00 00 00  - .0..............
    [Thu Sep 20 17:28:01.564 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (606): status = 304
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (613): Number of headers is = 2
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[0] [X-Powered-By] 
= [Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA 
date=200707131605)/Tomcat-5.5]
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (669): Header[1] 
[Content-Length] = [0]
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): received from 
ajp13 pos=0 len=2 max=8192
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1058): 0000    05 01 00 
00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_process_callback::jk_ajp_common.c (1569): AJP13 protocol: Reuse is OK
    [Thu Sep 20 17:28:01.565 2007] [22205:77] [debug] 
ajp_done::jk_ajp_common.c (2441): recycling connection pool slot=0 for 
worker jboss1
    [Thu Sep 20 17:28:01.566 2007] [22205:77] [debug] 
jk_service::jk_nsapi_plugin.c (389): service() returned OK

workers.properties file:
    # the list of workers
    worker.list= balance1,mystatus

    worker.jboss1.host=asimov.fstrf.org
    worker.jboss1.route=jboss1
    worker.jboss1.port=8009
    worker.jboss1.type=ajp13
    worker.jboss1.connection_pool_size=5
    worker.jboss1.connection_pool_timeout=600
    worker.jboss1.socket_keepalive=1
    worker.jboss1.maintain=60

    worker.jboss2.host=dev-alpha.fstrf.org
    worker.jboss2.route=jboss2
    worker.jboss2.port=8009
    worker.jboss2.type=ajp13
    worker.jboss2.connection_pool_size=5
    worker.jboss2.connection_pool_timeout=600
    worker.jboss2.socket_keepalive=1
    worker.jboss1.maintain=60

    #load balance worker
    worker.balance1.balance_workers=jboss1,jboss2
    worker.balance1.type=lb
    worker.balance1.sticky_session=True

    #status worker
    worker.mystatus.type=status

SWS magnus.conf file:
    # The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
    # They will not be supported in future releases of the Web Server.
    NetsiteRoot /local/sws6.1
    ServerName prod-alpha
    ServerID https-prod-alpha
    RqThrottle 128
    DNS off
    Security on
    PidLog /local/sws6.1/https-prod-alpha/logs/pid
    User nobody
    StackSize 131072
    TempDir /tmp/https-prod-alpha-f8b99d93

    Init fn="load-modules" 
shlib="/local/sws6.1/bin/https/lib/libj2eeplugin.so" 
shlib_flags="(global|now)"
    Init fn="load-modules" 
funcs="htaccess-init,htaccess-find,htaccess-register" 
shlib="/local/sws6.1/plugins/htaccess/htaccess.so" NativeThread="no"
    Init fn="load-modules" funcs="shtml_init,shtml_send" 
shlib="/local/sws6.1/bin/https/lib/libShtml.so" NativeThread="no"
    Init fn=flex-init access="$accesslog" 
format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] 
\"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% 
%Req->srvhdrs.content-length%"
    Init fn="load-modules" 
shlib="/local/sws6.1/plugins/passthrough/bin/libpassthrough.so" 
funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" 
NativeThread="no" shlib_flags="(global|now)"
    Init fn="init-passthrough"

    Init fn="htaccess-init"
    Init fn="shtml_init" LateInit="yes"

    Init fn="load-modules" funcs="jk_init,jk_service" 
shlib="/local/sws6.1/plugins/nsapi_redirector/bin/nsapi_redirector.so" 
shlib_flags="(global|now)"
    Init fn="jk_init" 
worker_file="/local/sws6.1/https-prod-alpha/config/workers.properties" 
log_level="debug" 
log_file="/local/sws6.1/https-prod-alpha/logs/nsapi.log" 
shm_file="/local/sws6.1/https-prod-alpha/logs/jk_shm"

SWS obj.conf file (I did try removing the Object name=j2ee block, but 
that did not fix the problem):
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.

    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" 
ssl-unclean-shutdown="true"
    NameTrans fn="assign-name" from="/portal*" name="jboss"
    NameTrans fn="assign-name" from="/jboss*" name="jboss"
    NameTrans fn="assign-name" from="/status/*" name="lb_status"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" 
fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" 
fn="send-error" path="/local/web/prod/404.html"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" 
fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="send-error" reason="Unauthorized" 
path="/local/web/prod/publicweb/unauthorized.html"
    Error fn="send-error" reason="Forbidden" 
path="/local/web/prod/publicweb/unauthorized.html"
    Error fn="send-error" reason="Not Found" 
path="/local/web/prod/publicweb/404.html"
    Error fn="send-error" reason="Server Error" 
path="/local/web/prod/publicweb/serverError.html"
    AddLog fn="flex-log" name="access"
    </Object>

    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>

    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi" user="$user" group="$group" dir="$dir" 
chroot="$chroot" nice="$nice"
    </Object>

    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>

    <Object name="send-compressed">
    PathCheck fn="find-compressed"
    </Object>

    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>

    <Object ppath="/local/web/prod/publicweb2/common/scripts/*">
    Service fn="send-cgi" type="magnus-internal/cgi" user="$user" 
group="$group" dir="$dir" chroot="$chroot" nice="$nice"
    </Object>

    <Object name="jboss">
    ObjectType fn="force-type" type="text/plain" 3="Service" 
fn="jk_service" method="*" worker="balance1"
    </Object>

    <Object name="lb_status">
    ObjectType fn="force-type" type="text/plain" 3="Service" 
fn="jk_service" method="*" worker="mystatus"
    </Object>

Thanks in advance for any help you can provide,
~Matt

-- 
Matt Cristantello
Programmer/Analyst
Frontier Science and Technology Research Foundation, Inc.
Email: cristant@fstrf.org
Phone: 716-898-7380


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


Re: Problem with nsapi_connector.so and HTTP 304 response from JBoss

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Matt,

I tried with SJSWS 6 sp11 on Solaris 8 together with nsapi redirector
1.2.25. I could reproduce the problem, and I could fix it with a small
variation of your configuration, which seems syntactically invalid:

Your original configuration:

>    <Object name="jboss">
>    ObjectType fn="force-type" type="text/plain" 3="Service"
> fn="jk_service" method="*" worker="balance1"
>    </Object>
> 
>    <Object name="lb_status">
>    ObjectType fn="force-type" type="text/plain" 3="Service"
> fn="jk_service" method="*" worker="mystatus"
>    </Object>

Mine:

<Object name="jboss">
ObjectType fn=force-type type=text/plain
Service fn="jk_service" method="*" worker="worker1"
</Object>

Observe the new line before the "Service" and simply 'Service' instead
of '3="Service"' (and most likely the same fix for lb_status).

HTH

Rainer


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