tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niki Diulgerov <ndiulge...@imx.fr>
Subject Re: mod_jk 1.2.26 jk_mount
Date Tue, 03 Jun 2008 14:51:45 GMT
web.xml is the default coming from tomcat 5.5.26

the strange thing is in mod_jk log file

in the beginning it says

[Tue Jun 03 17:32:40.640 2008] [22746:2934367456] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule 
'/app/*.jsp=ajp13' source 'JkMount' was
 added
[Tue Jun 03 17:32:40.640 2008] [22746:2934367456] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule 
'/app/*.do=ajp13' source 'JkMount' was
added
[Tue Jun 03 17:32:40.640 2008] [22746:2934367456] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule 
'/app/resources/*=ajp13' source 'JkMoun
t' was added


But then ...when I try to access /resources/ShowPDF.....      it says

[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (671): Header[0] [Location] = 
[https://myserver.com/app/resou
rces/showPDFLetter?format=pdf]
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (671): Header[1] [Content-Type] 
= [text/html]
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (671): Header[2] 
[Content-Length] = [0]
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1117): received from 
ajp13 pos=0 len=2 max=8192
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0000    05 01 00 
00 00 00 00 00 00 00 00 00
00 00 00 00  - ................
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_process_callback::jk_ajp_common.c (1661): AJP13 protocol: Reuse is OK
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_reset_endpoint::jk_ajp_common.c (691): (ajp13) resetting endpoint 
with sd = 20
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for 
worker ajp13
[Tue Jun 03 17:34:08.211 2008] [22749:2934367456] [debug] 
jk_handler::mod_jk.c (2348): Service finished with status=302 for 
worker=ajp13
[Tue Jun 03 17:34:08.241 2008] [22750:2934367456] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (682): Attempting to map URI 
'/app/resources/showPDFLetter' f
rom 2 maps
[Tue Jun 03 17:34:08.241 2008] [22750:2934367456] [debug] 
find_match::jk_uri_worker_map.c (503): Attempting to map context URI 
'/app/*.jsp=ajp13' source 'JkMo
unt'
[Tue Jun 03 17:34:08.241 2008] [22750:2934367456] [debug] 
find_match::jk_uri_worker_map.c (503): Attempting to map context URI 
'/app/*.do=ajp13' source 'JkMou
nt'
[Tue Jun 03 17:34:08.241 2008] [22750:2934367456] [debug] 
jk_map_to_storage::mod_jk.c (3211): no match for 
/app/resources/showPDFLetter found



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: ndiulgerov@imx.fr
Telephone : +33 4 89 87 77 77
Fax :       +33 4 89 87 77 00
Web: http://www.codix-france.com




Brian Martin wrote:
> Can you attach your web.xml file... I'm new to this too but I think you need to
> have appropriate url filters setup -- I might be using the wrong terminology
> here.,.,.
>
>
> On Tue, Jun 03, 2008 at 05:22:06PM +0300, Niki Diulgerov wrote:
>   
>> It's not because of missing or insufficient rights.
>> The connector just don't want to accept the rule
>>
>> JkMount /app/resources/* ajp13
>>
>> and to redirect the request to tomcat and gives the error
>>
>> [Tue Jun 03 17:04:23.021 2008] [22353:2934367456] [debug] 
>> jk_map_to_storage::mod_jk.c (3211): no match for 
>> /app/resources/showPDFLetter found
>>
>>
>>
>> maybe the syntax for JkMount is changed in 1.2.26?
>>
>>
>>
>> Best regards,
>>
>> Nikolay Diulgerov
>> Network Administrator
>> E-mail: ndiulgerov@imx.fr
>> Telephone : +33 4 89 87 77 77
>> Fax :       +33 4 89 87 77 00
>> Web: http://www.codix-france.com
>>
>>
>>
>>
>> Landon Fabbricino wrote:
>>     
>>> Could it be as simple as not having rights (permissions) to see the 
>>> /app/resources directory or the showPDFLetter file ?
>>>
>>> Landon Fabbricino
>>> IT Applications
>>>
>>> Phone: 403.225.7515
>>> Fax: 403.225.7604
>>> lfabbric@agrium.com
>>>
>>>  
>>>       
>>>>>> Niki Diulgerov <ndiulgerov@imx.fr> 6/3/2008 8:04:47 AM >>>
>>>>>>        
>>>>>>             
>>> Hello there,
>>> I compiled the mod_jk 1.2.26 from the source for Red hat 5.1x64
>>> The module works as intended except some strance gehaviour
>>>
>>> I have in my httpd.conf
>>> JkMount /app/*.jsp ajp13
>>> JkMount /app/*.do ajp13
>>>
>>> And this works OK
>>> but my application have a URLs like
>>> /app/resources/showPDFLetter?format=pdf
>>>
>>> Which was not described im JkMount and rejected
>>>
>>> I added
>>> JkMount /app/resources/* ajp13
>>> but still the same error
>>>
>>> [Tue Jun 03 17:04:23.021 2008] [22353:2934367456] [debug] 
>>> jk_map_to_storage::mod_jk.c (3211): no match for 
>>> /app/resources/showPDFLetter found
>>>
>>> can this be because of the version of mod_jk ?
>>>
>>>
>>>  
>>>       
>
> ---------------------------------------------------------------------
> 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
>
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message