Output of command find is:
apache:~ # find /opt/secm/servlet -print
/opt/secm/servlet
/opt/secm/servlet/WEB-INF
/opt/secm/servlet/WEB-INF/classes
/opt/secm/servlet/WEB-INF/classes/SecMServlet.class
/opt/secm/servlet/WEB-INF/web.xml
apache:~ #

Full URL is: https://10.6.81.5/SecM/servlet/SecMServlet

HTML Code of return page is:
<html><head><title>Apache Tomcat/5.0 - Error report</title><style><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> 
</head><body><h1>HTTP Status 404 - /SecM/servlet/SecMServlet</h1><HR size="1" 
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> 
<u>/SecM/servlet/SecMServlet</u></p><p><b>description</b> <u>The requested 
resource (/SecM/servlet/SecMServlet) is not available.</u></p><HR size="1" 
noshade="noshade"><h3>Apache Tomcat/5.0</h3></body></html>

Rewrite Log is:
10.6.254.22 - - [17/Jun/2009:12:07:35 +0200] 
[10.6.81.5/sid#801685c0][rid#80202038/initial] (2) init rewrite engine with 
requested uri /SecM/servlet/SecMServlet
10.6.254.22 - - [17/Jun/2009:12:07:35 +0200] 
[10.6.81.5/sid#801685c0][rid#80202038/initial] (3) applying pattern '/servlet/' 
to uri '/SecM/servlet/SecMServlet'
10.6.254.22 - - [17/Jun/2009:12:07:35 +0200] 
[10.6.81.5/sid#801685c0][rid#80202038/initial] (1) pass through 
/SecM/servlet/SecMServlet

Output of mod_jk.log is:
[Wed Jun 17 12:12:33.584 2009] [20225:3081386784] [debug] 
map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI 
'/SecM/servlet/SecMServlet' from 7 maps
[Wed Jun 17 12:12:33.584 2009] [20225:3081386784] [debug] 
find_match::jk_uri_worker_map.c (850): Attempting to map context URI 
'/RepGen/servlet/*=ajp13' source 'JkMount'
[Wed Jun 17 12:12:33.584 2009] [20225:3081386784] [debug] 
find_match::jk_uri_worker_map.c (850): Attempting to map context URI 
'/SNMP/servlet/*=ajp13' source 'JkMount'
[Wed Jun 17 12:12:33.584 2009] [20225:3081386784] [debug] 
find_match::jk_uri_worker_map.c (850): Attempting to map context URI 
'/SecM/servlet/*=ajp13' source 'JkMount'
[Wed Jun 17 12:12:33.584 2009] [20225:3081386784] [debug] 
find_match::jk_uri_worker_map.c (863): Found a wildchar match 
'/SecM/servlet/*=ajp13'
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] jk_handler::mod_jk.c 
(2459): Into handler jakarta-servlet worker=ajp13 r->proxyreq=0
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
wc_get_worker_for_name::jk_worker.c (116): found a worker ajp13
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
wc_maintain::jk_worker.c (339): Maintaining worker ajp13
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
init_ws_service::mod_jk.c (977): Service protocol=HTTP/1.1 method=GET ssl=true 
host=(null) addr=10.6.254.22 name=10.6.81.5 port=443 auth=(null) user=(null) 
laddr=10.6.81.5 raddr=10.6.254.22 uri=/SecM/servlet/SecMServlet
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_get_endpoint::jk_ajp_common.c (2977): acquired connection pool slot=0 after 
0 retries
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_marshal_into_msgb::jk_ajp_common.c (605): ajp marshaling done
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_service::jk_ajp_common.c (2283): processing ajp13 with 2 retries
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_send_request::jk_ajp_common.c (1501): (ajp13) all endpoints are 
disconnected.
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
jk_open_socket::jk_connect.c (452): socket TCP_NODELAY set to On
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
jk_open_socket::jk_connect.c (576): trying to connect socket 17 to 
127.0.0.1:8009
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
jk_open_socket::jk_connect.c (602): socket 17 connected to 127.0.0.1:8009
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connect_to_endpoint::jk_ajp_common.c (931): Connected socket 17 to 
(127.0.0.1:8009)
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): sending to ajp13 pos=4 
len=696 max=8192
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0000    12 34 02 B4 02 
02 00 08 48 54 54 50 2F 31 2E 31  - .4......HTTP/1.1
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0010    00 00 19 2F 53 
65 63 4D 2F 73 65 72 76 6C 65 74  - .../SecM/servlet
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0020    2F 53 65 63 4D 
53 65 72 76 6C 65 74 00 00 0B 31  - /SecMServlet...1
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0030    30 2E 36 2E 32 
35 34 2E 32 32 00 FF FF 00 09 31  - 0.6.254.22.....1
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0040    30 2E 36 2E 38 
31 2E 35 00 01 BB 01 00 09 A0 01  - 0.6.81.5........
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0050    01 0F 69 6D 61 
67 65 2F 67 69 66 2C 20 69 6D 61  - ..image/gif,.ima
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0060    67 65 2F 78 2D 
78 62 69 74 6D 61 70 2C 20 69 6D  - ge/x-xbitmap,.im
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0070    61 67 65 2F 6A 
70 65 67 2C 20 69 6D 61 67 65 2F  - age/jpeg,.image/
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0080    70 6A 70 65 67 
2C 20 61 70 70 6C 69 63 61 74 69  - pjpeg,.applicati
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0090    6F 6E 2F 78 61 
6D 6C 2B 78 6D 6C 2C 20 61 70 70  - on/xaml+xml,.app
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00a0    6C 69 63 61 74 
69 6F 6E 2F 76 6E 64 2E 6D 73 2D  - lication/vnd.ms-
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00b0    78 70 73 64 6F 
63 75 6D 65 6E 74 2C 20 61 70 70  - xpsdocument,.app
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00c0    6C 69 63 61 74 
69 6F 6E 2F 78 2D 6D 73 2D 78 62  - lication/x-ms-xb
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00d0    61 70 2C 20 61 
70 70 6C 69 63 61 74 69 6F 6E 2F  - ap,.application/
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00e0    78 2D 6D 73 2D 
61 70 70 6C 69 63 61 74 69 6F 6E  - x-ms-application
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 00f0    2C 20 61 70 70 
6C 69 63 61 74 69 6F 6E 2F 76 6E  - ,.application/vn
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0100    64 2E 6D 73 2D 
65 78 63 65 6C 2C 20 61 70 70 6C  - d.ms-excel,.appl
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0110    69 63 61 74 69 
6F 6E 2F 76 6E 64 2E 6D 73 2D 70  - ication/vnd.ms-p
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0120    6F 77 65 72 70 
6F 69 6E 74 2C 20 61 70 70 6C 69  - owerpoint,.appli
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0130    63 61 74 69 6F 
6E 2F 6D 73 77 6F 72 64 2C 20 61  - cation/msword,.a
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0140    70 70 6C 69 63 
61 74 69 6F 6E 2F 78 2D 73 68 6F  - pplication/x-sho
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0150    63 6B 77 61 76 
65 2D 66 6C 61 73 68 2C 20 2A 2F  - ckwave-flash,.*/
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0160    2A 00 00 0F 41 
63 63 65 70 74 2D 4C 61 6E 67 75  - *...Accept-Langu
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0170    61 67 65 00 00 
0E 65 6E 2D 75 73 2C 64 65 3B 71  - age...en-us,de;q
[Wed Jun 17 12:12:33.585 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0180    3D 30 2E 35 00 
00 0F 41 63 63 65 70 74 2D 45 6E  - =0.5...Accept-En
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0190    63 6F 64 69 6E 
67 00 00 0D 67 7A 69 70 2C 20 64  - coding...gzip,.d
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01a0    65 66 6C 61 74 
65 00 A0 0E 00 A1 4D 6F 7A 69 6C  - eflate.....Mozil
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01b0    6C 61 2F 34 2E 
30 20 28 63 6F 6D 70 61 74 69 62  - la/4.0.(compatib
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01c0    6C 65 3B 20 4D 
53 49 45 20 36 2E 30 3B 20 57 69  - le;.MSIE.6.0;.Wi
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01d0    6E 64 6F 77 73 
20 4E 54 20 35 2E 31 3B 20 53 56  - ndows.NT.5.1;.SV
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01e0    31 3B 20 2E 4E 
45 54 20 43 4C 52 20 31 2E 30 2E  - 1;..NET.CLR.1.0.
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 01f0    33 37 30 35 3B 
20 2E 4E 45 54 20 43 4C 52 20 32  - 3705;..NET.CLR.2
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0200    2E 30 2E 35 30 
37 32 37 3B 20 2E 4E 45 54 20 43  - .0.50727;..NET.C
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0210    4C 52 20 33 2E 
30 2E 30 34 35 30 36 2E 33 30 3B  - LR.3.0.04506.30;
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0220    20 2E 4E 45 54 
20 43 4C 52 20 31 2E 31 2E 34 33  - ..NET.CLR.1.1.43
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0230    32 32 3B 20 49 
6E 66 6F 50 61 74 68 2E 31 3B 20  - 22;.InfoPath.1;.
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0240    4D 53 2D 52 54 
43 20 4C 4D 20 38 29 00 A0 0B 00  - MS-RTC.LM.8)....
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0250    09 31 30 2E 36 
2E 38 31 2E 35 00 A0 06 00 0A 4B  - .10.6.81.5.....K
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0260    65 65 70 2D 41 
6C 69 76 65 00 A0 09 00 23 41 53  - eep-Alive....#AS
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0270    55 4E 49 54 59 
5F 53 45 53 53 49 4F 4E 3D 2D 54  - UNITY_SESSION=-T
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0280    43 6C 35 67 45 
63 64 5A 64 45 30 39 41 39 46 39  - Cl5gEcdZdE09A9F9
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 0290    34 00 00 0C 54 
49 54 4C 45 5F 50 52 45 46 49 58  - 4...TITLE_PREFIX
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 02a0    00 00 0D 48 69 
50 61 74 68 34 30 30 30 20 2D 20  - ...HiPath4000.-.
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_send_message::jk_ajp_common.c (1070): 02b0    00 A0 08 00 01 
30 00 FF 00 00 00 00 00 00 00 00  - .....0..........
[Wed Jun 17 12:12:33.586 2009] [20225:3081386784] [debug] 
ajp_send_request::jk_ajp_common.c (1560): (ajp13) request body to send 0 - 
request body to resend 0
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13 
pos=0 len=98 max=8192
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    04 01 94 00 19 
2F 53 65 63 4D 2F 73 65 72 76 6C  - ...../SecM/servl
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0010    65 74 2F 53 65 
63 4D 53 65 72 76 6C 65 74 00 00  - et/SecMServlet..
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0020    02 00 0C 43 6F 
6E 74 65 6E 74 2D 54 79 70 65 00  - ...Content-Type.
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0030    00 17 74 65 78 
74 2F 68 74 6D 6C 3B 63 68 61 72  - ..text/html;char
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0040    73 65 74 3D 75 
74 66 2D 38 00 00 0E 43 6F 6E 74  - set=utf-8...Cont
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0050    65 6E 74 2D 4C 
65 6E 67 74 68 00 00 04 31 30 32  - ent-Length...102
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0060    31 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00  - 1...............
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (660): status = 404
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (667): Number of headers is = 2
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (723): Header[0] [Content-Type] = 
[text/html;charset=utf-8]
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (723): Header[1] [Content-Length] = 
[1021]
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13 
pos=0 len=1025 max=8192
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    03 03 FD 3C 68 
74 6D 6C 3E 3C 68 65 61 64 3E 3C  - ...<html><head><
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0010    74 69 74 6C 65 
3E 41 70 61 63 68 65 20 54 6F 6D  - title>Apache.Tom
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0020    63 61 74 2F 35 
2E 30 20 2D 20 45 72 72 6F 72 20  - cat/5.0.-.Error.
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0030    72 65 70 6F 72 
74 3C 2F 74 69 74 6C 65 3E 3C 73  - report</title><s
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0040    74 79 6C 65 3E 
3C 21 2D 2D 48 31 20 7B 66 6F 6E  - tyle><!--H1.{fon
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0050    74 2D 66 61 6D 
69 6C 79 3A 54 61 68 6F 6D 61 2C  - t-family:Tahoma,
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0060    41 72 69 61 6C 
2C 73 61 6E 73 2D 73 65 72 69 66  - Arial,sans-serif
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0070    3B 63 6F 6C 6F 
72 3A 77 68 69 74 65 3B 62 61 63  - ;color:white;bac
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0080    6B 67 72 6F 75 
6E 64 2D 63 6F 6C 6F 72 3A 23 35  - kground-color:#5
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0090    32 35 44 37 36 
3B 66 6F 6E 74 2D 73 69 7A 65 3A  - 25D76;font-size:
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00a0    32 32 70 78 3B 
7D 20 48 32 20 7B 66 6F 6E 74 2D  - 22px;}.H2.{font-
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00b0    66 61 6D 69 6C 
79 3A 54 61 68 6F 6D 61 2C 41 72  - family:Tahoma,Ar
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00c0    69 61 6C 2C 73 
61 6E 73 2D 73 65 72 69 66 3B 63  - ial,sans-serif;c
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00d0    6F 6C 6F 72 3A 
77 68 69 74 65 3B 62 61 63 6B 67  - olor:white;backg
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00e0    72 6F 75 6E 64 
2D 63 6F 6C 6F 72 3A 23 35 32 35  - round-color:#525
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 00f0    44 37 36 3B 66 
6F 6E 74 2D 73 69 7A 65 3A 31 36  - D76;font-size:16
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0100    70 78 3B 7D 20 
48 33 20 7B 66 6F 6E 74 2D 66 61  - px;}.H3.{font-fa
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0110    6D 69 6C 79 3A 
54 61 68 6F 6D 61 2C 41 72 69 61  - mily:Tahoma,Aria
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0120    6C 2C 73 61 6E 
73 2D 73 65 72 69 66 3B 63 6F 6C  - l,sans-serif;col
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0130    6F 72 3A 77 68 
69 74 65 3B 62 61 63 6B 67 72 6F  - or:white;backgro
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0140    75 6E 64 2D 63 
6F 6C 6F 72 3A 23 35 32 35 44 37  - und-color:#525D7
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0150    36 3B 66 6F 6E 
74 2D 73 69 7A 65 3A 31 34 70 78  - 6;font-size:14px
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0160    3B 7D 20 42 4F 
44 59 20 7B 66 6F 6E 74 2D 66 61  - ;}.BODY.{font-fa
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0170    6D 69 6C 79 3A 
54 61 68 6F 6D 61 2C 41 72 69 61  - mily:Tahoma,Aria
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0180    6C 2C 73 61 6E 
73 2D 73 65 72 69 66 3B 63 6F 6C  - l,sans-serif;col
[Wed Jun 17 12:12:33.637 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0190    6F 72 3A 62 6C 
61 63 6B 3B 62 61 63 6B 67 72 6F  - or:black;backgro
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01a0    75 6E 64 2D 63 
6F 6C 6F 72 3A 77 68 69 74 65 3B  - und-color:white;
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01b0    7D 20 42 20 7B 
66 6F 6E 74 2D 66 61 6D 69 6C 79  - }.B.{font-family
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01c0    3A 54 61 68 6F 
6D 61 2C 41 72 69 61 6C 2C 73 61  - :Tahoma,Arial,sa
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01d0    6E 73 2D 73 65 
72 69 66 3B 63 6F 6C 6F 72 3A 77  - ns-serif;color:w
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01e0    68 69 74 65 3B 
62 61 63 6B 67 72 6F 75 6E 64 2D  - hite;background-
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 01f0    63 6F 6C 6F 72 
3A 23 35 32 35 44 37 36 3B 7D 20  - color:#525D76;}.
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0200    50 20 7B 66 6F 
6E 74 2D 66 61 6D 69 6C 79 3A 54  - P.{font-family:T
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0210    61 68 6F 6D 61 
2C 41 72 69 61 6C 2C 73 61 6E 73  - ahoma,Arial,sans
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0220    2D 73 65 72 69 
66 3B 62 61 63 6B 67 72 6F 75 6E  - -serif;backgroun
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0230    64 3A 77 68 69 
74 65 3B 63 6F 6C 6F 72 3A 62 6C  - d:white;color:bl
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0240    61 63 6B 3B 66 
6F 6E 74 2D 73 69 7A 65 3A 31 32  - ack;font-size:12
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0250    70 78 3B 7D 41 
20 7B 63 6F 6C 6F 72 20 3A 20 62  - px;}A.{color.:.b
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0260    6C 61 63 6B 3B 
7D 41 2E 6E 61 6D 65 20 7B 63 6F  - lack;}A.name.{co
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0270    6C 6F 72 20 3A 
20 62 6C 61 63 6B 3B 7D 48 52 20  - lor.:.black;}HR.
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0280    7B 63 6F 6C 6F 
72 20 3A 20 23 35 32 35 44 37 36  - {color.:.#525D76
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0290    3B 7D 2D 2D 3E 
3C 2F 73 74 79 6C 65 3E 20 3C 2F  - ;}--></style>.</
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02a0    68 65 61 64 3E 
3C 62 6F 64 79 3E 3C 68 31 3E 48  - head><body><h1>H
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02b0    54 54 50 20 53 
74 61 74 75 73 20 34 30 34 20 2D  - TTP.Status.404.-
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02c0    20 2F 53 65 63 
4D 2F 73 65 72 76 6C 65 74 2F 53  - ./SecM/servlet/S
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02d0    65 63 4D 53 65 
72 76 6C 65 74 3C 2F 68 31 3E 3C  - ecMServlet</h1><
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02e0    48 52 20 73 69 
7A 65 3D 22 31 22 20 6E 6F 73 68  - HR.size="1".nosh
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 02f0    61 64 65 3D 22 
6E 6F 73 68 61 64 65 22 3E 3C 70  - ade="noshade"><p
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0300    3E 3C 62 3E 74 
79 70 65 3C 2F 62 3E 20 53 74 61  - ><b>type</b>.Sta
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0310    74 75 73 20 72 
65 70 6F 72 74 3C 2F 70 3E 3C 70  - tus.report</p><p
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0320    3E 3C 62 3E 6D 
65 73 73 61 67 65 3C 2F 62 3E 20  - ><b>message</b>.
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0330    3C 75 3E 2F 53 
65 63 4D 2F 73 65 72 76 6C 65 74  - <u>/SecM/servlet
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0340    2F 53 65 63 4D 
53 65 72 76 6C 65 74 3C 2F 75 3E  - /SecMServlet</u>
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0350    3C 2F 70 3E 3C 
70 3E 3C 62 3E 64 65 73 63 72 69  - </p><p><b>descri
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0360    70 74 69 6F 6E 
3C 2F 62 3E 20 3C 75 3E 54 68 65  - ption</b>.<u>The
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0370    20 72 65 71 75 
65 73 74 65 64 20 72 65 73 6F 75  - .requested.resou
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0380    72 63 65 20 28 
2F 53 65 63 4D 2F 73 65 72 76 6C  - rce.(/SecM/servl
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0390    65 74 2F 53 65 
63 4D 53 65 72 76 6C 65 74 29 20  - et/SecMServlet).
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03a0    69 73 20 6E 6F 
74 20 61 76 61 69 6C 61 62 6C 65  - is.not.available
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03b0    2E 3C 2F 75 3E 
3C 2F 70 3E 3C 48 52 20 73 69 7A  - .</u></p><HR.siz
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03c0    65 3D 22 31 22 
20 6E 6F 73 68 61 64 65 3D 22 6E  - e="1".noshade="n
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03d0    6F 73 68 61 64 
65 22 3E 3C 68 33 3E 41 70 61 63  - oshade"><h3>Apac
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03e0    68 65 20 54 6F 
6D 63 61 74 2F 35 2E 30 3C 2F 68  - he.Tomcat/5.0</h
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 03f0    33 3E 3C 2F 62 
6F 64 79 3E 3C 2F 68 74 6D 6C 3E  - 3></body></html>
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] ws_write::mod_jk.c 
(506): written 1021 out of 1021
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13 
pos=0 len=2 max=8192
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [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  - ................
[Wed Jun 17 12:12:33.638 2009] [20225:3081386784] [debug] 
ajp_process_callback::jk_ajp_common.c (1846): AJP13 protocol: Reuse is OK
[Wed Jun 17 12:12:33.639 2009] [20225:3081386784] [debug] 
ajp_reset_endpoint::jk_ajp_common.c (743): (ajp13) resetting endpoint with sd = 
17
[Wed Jun 17 12:12:33.639 2009] [20225:3081386784] [debug] 
ajp_done::jk_ajp_common.c (2905): recycling connection pool slot=0 for worker 
ajp13
[Wed Jun 17 12:12:33.639 2009] [20225:3081386784] [debug] jk_handler::mod_jk.c 
(2599): Service finished with status=404 for worker=ajp13
SLES10apache:/opt/secm/servlet #


/etc/tomcat5/base/uriworkermap.properties file is:
/admin/*=wlb
/manager/*=wlb
/jsp-examples/*=wlb
/servlets-examples/*=wlb
/SecM/servlet/*=ajp13
# Optionally filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
!/servlets-examples/*.jpeg=wlb
#
# Mount jkstatus to /jkmanager
# For production servers you will need to
# secure the access to the /jkmanager url
#
/jkmanager=jkstatus

Shall I add something to the Apache2 as is mentioned there:
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html 
section "Configuring Apache to serve static web application files"
I mean Alias, Directory, Location directive

Thank you in advance

Regards / S pozdravem
Petr Hráček

-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Tuesday, June 16, 2009 3:50 PM
To: Tomcat Users List
Subject: Re: Beginner with apache

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petr,

On 6/16/2009 4:03 AM, Hracek, Petr wrote:
> Now I have changed the files basely you mail and now situation is following:

You are getting closer.

> I am trying to develop a new servlet:
> 
> /opt/secm/servlet directory has WEB-INF structure with class file and web.xml 
> file.

Can you post the result of the following command:

$ find /opt/secm/servlet -print

That way we can see if everything is where it should be.

> What rights has to have directory servlet and all subdirectories.

The euid of the Tomcat process must be able to read and execute /opt,
/opt/secm, /opt/secm/servlet, and all other directories. It must have
read access to all files under /opt/secm/servlet.

> In the web.xml file is:

web.xml looks good, depending on how you want to deploy. Keep this line
of config in mind going forward:

>         <url-pattern>/SecM/servlet/SecMServlet</url-pattern>

[snip]

> In /etc/tomcat55/Catalina/localhost/SecMServlet.xml is defined:
> <Context docBase="/opt/secm/servlet"
>     crossContext="false" debug="0" reloadable="false" >
> </Context>

Assuming that your SecMServlet.xml file is properly loaded (log files
should confirm that this "context" (or webapp) is being loaded).

If you want to access this servlet, you'll need a URL like this:

http://host:port/SecMServlet/secM/servlet/SecMServlet

This URL is obtained by concatenating the "context name" (taken from the
context XML's filename, SecMServlet.xml, and removing the ".xml" from
the end) plus the <url-pattern> you assigned to your servlet in web.xml.
Given your original question, I think you probably want your setup to be
this:

(Your names have changed from sso and swt to SecM and stuff like this,
so it's tough to give you good advice, but I'll try.)

1. Use /etc/tomcat55/Catalina/localhost/SecM.xml as your context.xml
file. Do not make any changes to the contents of this file.

2. Change your <url-pattern> in your web.xml file to be this:

<url-pattern>/servlet/SecMServlet</url-pattern>

3. Change your mod_jk configuration to be:

   JkMount /SecM/servlet/SecMservlet ajp13

   (If you have multiple servlets, map them individually. If you have
    /many/ servlets that all match a certain pattern, feel free to
    just map the pattern like /SecM/servlet/*).

Now, the URL you will use to access your servlet will be
http://host:port/SecM/servlet/SecMServlet

Note that the <url-pattern> you use can be arbitrary... there's no
reason the word "servlet" needs to appear anywhere in that URL.

> After this configuration WEB browser show me: HTTP 400 - BAD Request

Could you post the whole error? Is there anything in the log files?
Often, you'll get a 400 when the context you're trying to reach has
failed to load for some reason.

> If the content file has the name SecM than I received HTTP 404 - The
> requested resource is not available.

Full URL please?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko3oxEACgkQ9CaO5/Lv0PANtQCfSAC1bstKKOT+XIItkAen63F4
3+kAn0svN3gbT6IDFVaufWOkmqRqvnpJ
=j8aw
-----END PGP SIGNATURE-----

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


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

Reply via email to