Hello *,
thanks for all your responses and good advises.
Now tomcat 5.5.28 and apache 1.3 is running. Also mod_jk (AJP13) is running
as well.
In the mod_jk.log file I have found that servlet is successfully found and
mapped over JkMount. Communication seems to be OK. But what I have found
that HTTP 404 error occurs.
[debug] jk_uri_worker_map.c (1036): Attempting to map URI
'/RepGen/servlet/ReportRenderer' from 6 maps
[debug] jk_uri_worker_map.c (850): Attempting to map context URI
'/RepGen/servlet/*=ajp13' source 'JkMount'
[debug] jk_uri_worker_map.c (863): Found a wildchar match
'/RepGen/servlet/*=ajp13'
[debug] jk_worker.c (116): found a worker ajp13
[debug] jk_worker.c (339): Maintaining worker ajp13
[debug] jk_worker.c (293): Found worker type 'ajp13'
[debug] mod_jk.c (923): Service protocol=HTTP/1.1 method=POST ssl=false
host=(null) addr=10.7.254.46 name=10.6.10.5 port=443 auth=SECM user=engr
laddr=10.6.10.5 raddr=10.7.254.46 uri=/RepGen/servlet/ReportRenderer
[debug] jk_ajp_common.c (3093): acquired connection pool slot=0 after 0
retries
[debug] jk_ajp_common.c (605): ajp marshaling done
[debug] jk_ajp_common.c (2376): processing ajp13 with 2 retries
[debug] jk_ajp_common.c (1579): (ajp13) all endpoints are disconnected.
[debug] jk_connect.c (480): socket TCP_NODELAY set to On
[debug] jk_connect.c (604): trying to connect socket 11 to 127.0.0.1:8009
[debug] jk_connect.c (630): socket 11 connected to 127.0.0.1:8009
[debug] jk_ajp_common.c (967): Connected socket 11 to (127.0.0.1:8009)
[debug] jk_ajp_common.c (1152): sending to ajp13 pos=4 len=391 max=8192
[debug] jk_ajp_common.c (1152): 0000 12 34 01 83 02 04 00 08 48 54 54 50
2F 31 2E 31 - .4......HTTP/1.1
[debug] jk_ajp_common.c (1152): 0010 00 00 1E 2F 52 65 70 47 65 6E 2F 73
65 72 76 6C - .../RepGen/servl
[debug] jk_ajp_common.c (1152): 0020 65 74 2F 52 65 70 6F 72 74 52 65 6E
64 65 72 65 - et/ReportRendere
[debug] jk_ajp_common.c (1152): 0030 72 00 00 0B 31 30 2E 37 2E 32 35 34
2E 34 36 00 - r...10.7.254.46.
[debug] jk_ajp_common.c (1152): 0040 FF FF 00 09 31 30 2E 36 2E 31 30 2E
35 00 01 BB - ....10.6.10.5...
[debug] jk_ajp_common.c (1152): 0050 00 00 0A A0 01 00 34 74 65 78 74 2F
68 74 6D 6C - ......4text/html
[debug] jk_ajp_common.c (1152): 0060 2C 20 69 6D 61 67 65 2F 67 69 66 2C
20 69 6D 61 - ,.image/gif,.ima
[debug] jk_ajp_common.c (1152): 0070 67 65 2F 6A 70 65 67 2C 20 2A 3B 20
71 3D 2E 32 - ge/jpeg,.*;.q=.2
[debug] jk_ajp_common.c (1152): 0080 2C 20 2A 2F 2A 3B 20 71 3D 2E 32 00
00 0D 43 61 - ,.*/*;.q=.2...Ca
[debug] jk_ajp_common.c (1152): 0090 63 68 65 2D 43 6F 6E 74 72 6F 6C 00
00 08 6E 6F - che-Control...no
[debug] jk_ajp_common.c (1152): 00a0 2D 63 61 63 68 65 00 A0 06 00 0A 6B
65 65 70 2D - -cache.....keep-
[debug] jk_ajp_common.c (1152): 00b0 61 6C 69 76 65 00 A0 08 00 03 31 30
30 00 A0 07 - alive.....100...
[debug] jk_ajp_common.c (1152): 00c0 00 21 61 70 70 6C 69 63 61 74 69 6F
6E 2F 78 2D - .!application/x-
[debug] jk_ajp_common.c (1152): 00d0 77 77 77 2D 66 6F 72 6D 2D 75 72 6C
65 6E 63 6F - www-form-urlenco
[debug] jk_ajp_common.c (1152): 00e0 64 65 64 00 A0 09 00 23 41 53 55 4E
49 54 59 5F - ded....#ASUNITY_
[debug] jk_ajp_common.c (1152): 00f0 53 45 53 53 49 4F 4E 3D 52 51 47 63
73 78 6D 54 - SESSION=RQGcsxmT
[debug] jk_ajp_common.c (1152): 0100 7A 6F 40 38 6F 58 37 51 6F 49 45 00
A0 0B 00 09 - z...@8ox7qoie.....
[debug] jk_ajp_common.c (1152): 0110 31 30 2E 36 2E 31 30 2E 35 00 A0 0C
00 08 6E 6F - 10.6.10.5.....no
[debug] jk_ajp_common.c (1152): 0120 2D 63 61 63 68 65 00 A0 0E 00 2A 4D
6F 7A 69 6C - -cache....*Mozil
[debug] jk_ajp_common.c (1152): 0130 6C 61 2F 34 2E 30 20 28 57 69 6E 64
6F 77 73 20 - la/4.0.(Windows.
[debug] jk_ajp_common.c (1152): 0140 58 50 20 35 2E 31 29 20 4A 61 76 61
2F 31 2E 36 - XP.5.1).Java/1.6
[debug] jk_ajp_common.c (1152): 0150 2E 30 5F 31 39 00 00 0C 54 49 54 4C
45 5F 50 52 - .0_19...TITLE_PR
[debug] jk_ajp_common.c (1152): 0160 45 46 49 58 00 00 0E 3C 41 73 73 69
73 74 61 6E - EFIX...<Assistan
[debug] jk_ajp_common.c (1152): 0170 74 3E 20 2D 20 00 03 00 04 65 6E 67
72 00 04 00 - t>.-.....engr...
[debug] jk_ajp_common.c (1152): 0180 04 53 45 43 4D 00 FF 00 00 00 00 00
00 00 00 00 - .SECM...........
[debug] jk_ajp_common.c (1639): (ajp13) request body to send 100 - request
body to resend 0
[debug] jk_ajp_common.c (1744): (ajp13) sending 100 bytes of request body
[debug] jk_ajp_common.c (1152): sending to ajp13 pos=4 len=106 max=8192
[debug] jk_ajp_common.c (1152): 0000 12 34 00 66 00 64 6C 6F 63 61 6C 65
3D 65 6E 5F - .4.f.dlocale=en_
[debug] jk_ajp_common.c (1152): 0010 55 53 26 61 63 74 69 6F 6E 3D 73 74
61 74 75 73 - US&action=status
[debug] jk_ajp_common.c (1152): 0020 26 66 69 6C 65 3D 53 79 73 4D 5F 53
79 6D 48 33 - &file=SysM_SymH3
[debug] jk_ajp_common.c (1152): 0030 30 30 2E 78 6D 6C 26 70 72 6F 6D 70
74 30 3D 25 - 00.xml&prompt0=%
[debug] jk_ajp_common.c (1152): 0040 35 42 25 32 37 53 59 53 31 25 32 37
25 35 44 26 - 5B%27SYS1%27%5D&
[debug] jk_ajp_common.c (1152): 0050 70 61 67 65 3D 31 26 6F 75 74 70 75
74 3D 73 63 - page=1&output=sc
[debug] jk_ajp_common.c (1152): 0060 72 2C 68 74 6D 6C 2C 63 73 76 00 00
00 00 00 00 - r,html,csv......
[debug] jk_shm.c (550): Attached shared memory .8733 [4] size=384 free=256
addr=0xbff69000
[debug] jk_shm.c (564): Resetting the shared memory for child 4
[debug] jk_shm.c (353): Duplicated shared memory lock .8733.lock
[debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=82 max=8192
[debug] jk_ajp_common.c (1336): 0000 04 01 94 00 09 4E 6F 74 20 46 6F 75
6E 64 00 00 - *.....Not.Found..*
[debug] jk_ajp_common.c (1336): 0010 02 00 0C 43 6F 6E 74 65 6E 74 2D 54
79 70 65 00 - ...Content-Type.
[debug] jk_ajp_common.c (1336): 0020 00 17 74 65 78 74 2F 68 74 6D 6C 3B
63 68 61 72 - ..text/html;char
[debug] jk_ajp_common.c (1336): 0030 73 65 74 3D 75 74 66 2D 38 00 00 0E
43 6F 6E 74 - set=utf-8...Cont
[debug] jk_ajp_common.c (1336): 0040 65 6E 74 2D 4C 65 6E 67 74 68 00 00
04 31 30 34 - ent-Length...104
[debug] jk_ajp_common.c (1336): 0050 32 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 - 2...............
[debug] jk_ajp_common.c (660): *status = 404*
[debug] jk_ajp_common.c (667): Number of headers is = 2
[debug] jk_ajp_common.c (723): Header[0] [Content-Type] =
[text/html;charset=utf-8]
[debug] jk_ajp_common.c (723): Header[1] [Content-Length] = [1042]
[debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=1046 max=8192
[debug] jk_ajp_common.c (1336): 0000 03 04 12 3C 68 74 6D 6C 3E 3C 68 65
61 64 3E 3C - ...<html><head><
[debug] jk_ajp_common.c (1336): 0010 74 69 74 6C 65 3E 41 70 61 63 68 65
20 54 6F 6D - title>Apache.Tom
[debug] jk_ajp_common.c (1336): 0020 63 61 74 2F 35 2E 35 2E 32 39 20 2D
20 45 72 72 - cat/5.5.29.-.Err
[debug] jk_ajp_common.c (1336): 0030 6F 72 20 72 65 70 6F 72 74 3C 2F 74
69 74 6C 65 - or.report</title
[debug] jk_ajp_common.c (1336): 0040 3E 3C 73 74 79 6C 65 3E 3C 21 2D 2D
48 31 20 7B - ><style><!--H1.{
[debug] jk_ajp_common.c (1336): 0050 66 6F 6E 74 2D 66 61 6D 69 6C 79 3A
54 61 68 6F - font-family:Taho
[debug] jk_ajp_common.c (1336): 0060 6D 61 2C 41 72 69 61 6C 2C 73 61 6E
73 2D 73 65 - ma,Arial,sans-se
[debug] jk_ajp_common.c (1336): 0070 72 69 66 3B 63 6F 6C 6F 72 3A 77 68
69 74 65 3B - rif;color:white;
[debug] jk_ajp_common.c (1336): 0080 62 61 63 6B 67 72 6F 75 6E 64 2D 63
6F 6C 6F 72 - background-color
[debug] jk_ajp_common.c (1336): 0090 3A 23 35 32 35 44 37 36 3B 66 6F 6E
74 2D 73 69 - :#525D76;font-si
[debug] jk_ajp_common.c (1336): 00a0 7A 65 3A 32 32 70 78 3B 7D 20 48 32
20 7B 66 6F - ze:22px;}.H2.{fo
[debug] jk_ajp_common.c (1336): 00b0 6E 74 2D 66 61 6D 69 6C 79 3A 54 61
68 6F 6D 61 - nt-family:Tahoma
[debug] jk_ajp_common.c (1336): 00c0 2C 41 72 69 61 6C 2C 73 61 6E 73 2D
73 65 72 69 - ,Arial,sans-seri
[debug] jk_ajp_common.c (1336): 00d0 66 3B 63 6F 6C 6F 72 3A 77 68 69 74
65 3B 62 61 - f;color:white;ba
[debug] jk_ajp_common.c (1336): 00e0 63 6B 67 72 6F 75 6E 64 2D 63 6F 6C
6F 72 3A 23 - ckground-color:#
[debug] jk_ajp_common.c (1336): 00f0 35 32 35 44 37 36 3B 66 6F 6E 74 2D
73 69 7A 65 - 525D76;font-size
[debug] jk_ajp_common.c (1336): 0100 3A 31 36 70 78 3B 7D 20 48 33 20 7B
66 6F 6E 74 - :16px;}.H3.{font
[debug] jk_ajp_common.c (1336): 0110 2D 66 61 6D 69 6C 79 3A 54 61 68 6F
6D 61 2C 41 - -family:Tahoma,A
[debug] jk_ajp_common.c (1336): 0120 72 69 61 6C 2C 73 61 6E 73 2D 73 65
72 69 66 3B - rial,sans-serif;
[debug] jk_ajp_common.c (1336): 0130 63 6F 6C 6F 72 3A 77 68 69 74 65 3B
62 61 63 6B - color:white;back
[debug] jk_ajp_common.c (1336): 0140 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72
3A 23 35 32 - ground-color:#52
[debug] jk_ajp_common.c (1336): 0150 35 44 37 36 3B 66 6F 6E 74 2D 73 69
7A 65 3A 31 - 5D76;font-size:1
[debug] jk_ajp_common.c (1336): 0160 34 70 78 3B 7D 20 42 4F 44 59 20 7B
66 6F 6E 74 - 4px;}.BODY.{font
[debug] jk_ajp_common.c (1336): 0170 2D 66 61 6D 69 6C 79 3A 54 61 68 6F
6D 61 2C 41 - -family:Tahoma,A
[debug] jk_ajp_common.c (1336): 0180 72 69 61 6C 2C 73 61 6E 73 2D 73 65
72 69 66 3B - rial,sans-serif;
[debug] jk_ajp_common.c (1336): 0190 63 6F 6C 6F 72 3A 62 6C 61 63 6B 3B
62 61 63 6B - color:black;back
[debug] jk_ajp_common.c (1336): 01a0 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72
3A 77 68 69 - ground-color:whi
[debug] jk_ajp_common.c (1336): 01b0 74 65 3B 7D 20 42 20 7B 66 6F 6E 74
2D 66 61 6D - te;}.B.{font-fam
[debug] jk_ajp_common.c (1336): 01c0 69 6C 79 3A 54 61 68 6F 6D 61 2C 41
72 69 61 6C - ily:Tahoma,Arial
[debug] jk_ajp_common.c (1336): 01d0 2C 73 61 6E 73 2D 73 65 72 69 66 3B
63 6F 6C 6F - ,sans-serif;colo
[debug] jk_ajp_common.c (1336): 01e0 72 3A 77 68 69 74 65 3B 62 61 63 6B
67 72 6F 75 - r:white;backgrou
[debug] jk_ajp_common.c (1336): 01f0 6E 64 2D 63 6F 6C 6F 72 3A 23 35 32
35 44 37 36 - nd-color:#525D76
[debug] jk_ajp_common.c (1336): 0200 3B 7D 20 50 20 7B 66 6F 6E 74 2D 66
61 6D 69 6C - ;}.P.{font-famil
[debug] jk_ajp_common.c (1336): 0210 79 3A 54 61 68 6F 6D 61 2C 41 72 69
61 6C 2C 73 - y:Tahoma,Arial,s
[debug] jk_ajp_common.c (1336): 0220 61 6E 73 2D 73 65 72 69 66 3B 62 61
63 6B 67 72 - ans-serif;backgr
[debug] jk_ajp_common.c (1336): 0230 6F 75 6E 64 3A 77 68 69 74 65 3B 63
6F 6C 6F 72 - ound:white;color
[debug] jk_ajp_common.c (1336): 0240 3A 62 6C 61 63 6B 3B 66 6F 6E 74 2D
73 69 7A 65 - :black;font-size
[debug] jk_ajp_common.c (1336): 0250 3A 31 32 70 78 3B 7D 41 20 7B 63 6F
6C 6F 72 20 - :12px;}A.{color.
[debug] jk_ajp_common.c (1336): 0260 3A 20 62 6C 61 63 6B 3B 7D 41 2E 6E
61 6D 65 20 - :.black;}A.name.
[debug] jk_ajp_common.c (1336): 0270 7B 63 6F 6C 6F 72 20 3A 20 62 6C 61
63 6B 3B 7D - {color.:.black;}
[debug] jk_ajp_common.c (1336): 0280 48 52 20 7B 63 6F 6C 6F 72 20 3A 20
23 35 32 35 - HR.{color.:.#525
[debug] jk_ajp_common.c (1336): 0290 44 37 36 3B 7D 2D 2D 3E 3C 2F 73 74
79 6C 65 3E - D76;}--></style>
[debug] jk_ajp_common.c (1336): 02a0 20 3C 2F 68 65 61 64 3E 3C 62 6F 64
79 3E 3C 68 - .</head><body><h
[debug] jk_ajp_common.c (1336): 02b0 31 3E 48 54 54 50 20 53 74 61 74 75
73 20 34 30 - 1>*HTTP.Status.40*
[debug] jk_ajp_common.c (1336): 02c0 34 20 2D 20 2F 52 65 70 47 65 6E 2F
73 65 72 76 - *4.-./RepGen/serv*
[debug] jk_ajp_common.c (1336): 02d0 6C 65 74 2F 52 65 70 6F 72 74 52 65
6E 64 65 72 - *let/ReportRender*
[debug] jk_ajp_common.c (1336): 02e0 65 72 3C 2F 68 31 3E 3C 48 52 20 73
69 7A 65 3D - *er*</h1><HR.size=
[debug] jk_ajp_common.c (1336): 02f0 22 31 22 20 6E 6F 73 68 61 64 65 3D
22 6E 6F 73 - "1".noshade="nos
[debug] jk_ajp_common.c (1336): 0300 68 61 64 65 22 3E 3C 70 3E 3C 62 3E
74 79 70 65 - hade"><p><b>type
[debug] jk_ajp_common.c (1336): 0310 3C 2F 62 3E 20 53 74 61 74 75 73 20
72 65 70 6F - </b>.*Status.repo*
[debug] jk_ajp_common.c (1336): 0320 72 74 3C 2F 70 3E 3C 70 3E 3C 62 3E
6D 65 73 73 - *rt*</p><p><b>*mess*
[debug] jk_ajp_common.c (1336): 0330 61 67 65 3C 2F 62 3E 20 3C 75 3E 2F
52 65 70 47 - *age*</b>.<u>/*RepG*
[debug] jk_ajp_common.c (1336): 0340 65 6E 2F 73 65 72 76 6C 65 74 2F 52
65 70 6F 72 - *en/servlet/Repor*
[debug] jk_ajp_common.c (1336): 0350 74 52 65 6E 64 65 72 65 72 3C 2F 75
3E 3C 2F 70 - *tRenderer*</u></p
[debug] jk_ajp_common.c (1336): 0360 3E 3C 70 3E 3C 62 3E 64 65 73 63 72
69 70 74 69 - ><p><b>descripti
[debug] jk_ajp_common.c (1336): 0370 6F 6E 3C 2F 62 3E 20 3C 75 3E 54 68
65 20 72 65 - on</b>.<u>The.re
[debug] jk_ajp_common.c (1336): 0380 71 75 65 73 74 65 64 20 72 65 73 6F
75 72 63 65 - quested.resource
[debug] jk_ajp_common.c (1336): 0390 20 28 2F 52 65 70 47 65 6E 2F 73 65
72 76 6C 65 - .(*/RepGen/servle*
[debug] jk_ajp_common.c (1336): 03a0 74 2F 52 65 70 6F 72 74 52 65 6E 64
65 72 65 72 - *t/ReportRenderer*
[debug] jk_ajp_common.c (1336): 03b0 29 20 69 73 20 6E 6F 74 20 61 76 61
69 6C 61 62 - ).*is.not.availab*
[debug] jk_ajp_common.c (1336): 03c0 6C 65 2E 3C 2F 75 3E 3C 2F 70 3E 3C
48 52 20 73 - le.</u></p><HR.s
[debug] jk_ajp_common.c (1336): 03d0 69 7A 65 3D 22 31 22 20 6E 6F 73 68
61 64 65 3D - ize="1".noshade=
[debug] jk_ajp_common.c (1336): 03e0 22 6E 6F 73 68 61 64 65 22 3E 3C 68
33 3E 41 70 - "noshade"><h3>Ap
[debug] jk_ajp_common.c (1336): 03f0 61 63 68 65 20 54 6F 6D 63 61 74 2F
35 2E 35 2E - ache.Tomcat/5.5.
[debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=2 max=8192
[debug] jk_ajp_common.c (1336): 0000 05 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 - ................
[debug] jk_ajp_common.c (1940): AJP13 protocol: Reuse is OK
[debug] jk_ajp_common.c (757): (ajp13) resetting endpoint with sd = 11
[debug] jk_ajp_common.c (3010): recycling connection pool slot=0 for worker
ajp13
[debug] mod_jk.c (2410): Service finished with status=404 for worker=ajp13
[debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=82 max=8192
[debug] jk_ajp_common.c (1336): 0000 04 01 94 00 09 4E 6F 74 20 46 6F 75
6E 64 00 00 - *.....Not.Found..*
[debug] jk_ajp_common.c (1336): 0010 02 00 0C 43 6F 6E 74 65 6E 74 2D 54
79 70 65 00 - ...Content-Type.
[debug] jk_ajp_common.c (1336): 0020 00 17 74 65 78 74 2F 68 74 6D 6C 3B
63 68 61 72 - ..text/html;char
[debug] jk_ajp_common.c (1336): 0030 73 65 74 3D 75 74 66 2D 38 00 00 0E
43 6F 6E 74 - set=utf-8...Cont
[debug] jk_ajp_common.c (1336): 0040 65 6E 74 2D 4C 65 6E 67 74 68 00 00
04 31 30 34 - ent-Length...104
[debug] jk_ajp_common.c (1336): 0050 32 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 - 2...............
[debug] jk_ajp_common.c (660): status = 404
Does it error mean that servlet has bad PERMISSIONS?
If yes what permission should be there? 555 for directory?
What can be a problem now?
Best Regards
Petr Hracek
2010/4/27 André Warnier <[email protected]>
> Petr Hracek wrote:
>
>> Hello *,
>>
>> may be you already answered to my problem but I did not find any response
>> why the problem occurs.
>> On the UnixWare I have installed apache 1.3 together with tomcat 5.5.29
>> and
>> jre 1.4.2.
>> Package apache-tomcat-5.5.29-compat.tar.gz has been already installed as
>> well.
>>
>
> Maybe nothing to do with your problems, but if you are freshly installing
> this, maybe you should consider recent versions of these software ?
> - the currently-developed Apache version is 2.2.x
> 1.3 is only maintained for security, as far as I know.
> - the current version of Tomcat is 6.0. (24) ?
> - the current version of Java is 1.6 (rev 20). Java 1.4 is not even
> supported anymore.
>
> If you do not start with reasonably recent versions, you will find less and
> less people able or willing to help you on mailing lists.
> I am not saying that this is the case in this instance, but the problems
> you are having may be due to some bug that has been corrected a long time
> ago, and not many people will have the desire to go search for old bugs.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Best Regards / S pozdravem
Petr Hracek