You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/04/23 17:26:40 UTC

[Bug 54596] Relative path functionality truncates last character of configuration parameters preventing connector from working.

https://issues.apache.org/bugzilla/show_bug.cgi?id=54596

--- Comment #3 from Thomas Hoffmann <Th...@speed4trade.com> ---
I have also encountered this problem.
Testet with 1.2.40.0 of isapi_redirect.dll
The relative paths are not taken into account. Line-breaks are CR+LF
Neither \ nor / are working. 

Sample Config-File with relevant entries:
log_file=iis_redirect.log
worker_file=..\..\conf\worker.properties
worker_mount_file=..\..\conf\uriworkermap.properties


Logfile is written with the following messages:
[Wed Apr 23 17:20:34.695 2014] [6716:13964] [debug] jk_set_time_fmt::jk_util.c
(480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S.000 %Y] '
[Wed Apr 23 17:20:34.699 2014] [6716:13964] [info] init_jk::jk_isapi_plugin.c
(2689): Starting Jakarta/ISAPI/isapi_redirector/1.2.40
[Wed Apr 23 17:20:34.702 2014] [6716:13964] [debug] init_jk::jk_isapi_plugin.c
(2700): Detected IIS version 8.0
[Wed Apr 23 17:20:34.705 2014] [6716:13964] [debug] init_jk::jk_isapi_plugin.c
(2702): Using ini file D:\Programme\Apache Software Foundation\Tomcat
7.0.53\bin\win32\isapi_redirect.properties.
[Wed Apr 23 17:20:34.707 2014] [6716:13964] [debug] init_jk::jk_isapi_plugin.c
(2708): Using log file D:\Programme\Apache Software Foundation\Tomcat
7.0.53\bin\win32\iis_redirect.lo.
...
[Wed Apr 23 17:20:34.724 2014] [6716:13964] [debug] init_jk::jk_isapi_plugin.c
(2714): Using worker file D:\Programme\Apache Software Foundation\Tomcat
7.0.53\bin\win32\conf\worker.properties.
[Wed Apr 23 17:20:34.727 2014] [6716:13964] [debug] init_jk::jk_isapi_plugin.c
(2715): Using worker mount file D:\Programme\Apache Software Foundation\Tomcat
7.0.53\bin\win32\conf\uriworkermap.properties.
...
[Wed Apr 23 17:20:34.752 2014] [6716:13964] [error]
uri_worker_map_load::jk_uri_worker_map.c (1280): Failed to load uri_worker_map
file D:\Programme\Apache Software Foundation\Tomcat
7.0.53\bin\win32\conf\uriworkermap.properties (errno=2, err=No such file or
directory).


This shows that the dots for the relative paths are truncated and not taken
into account. The conversion from relative path to absolute path seems to fail.


Tested under Win 8.1 64 Bit, Connector version 1.2.40.0
Hope this informations helps to narrow down the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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