尝试将64位ISAPI重定向程序安装到运行ISS 7.5的Windows 2008 Server上时出现问题。
似乎在ISS中正确设置了所有内容,但我在ISAPI日志文件中收到此错误。
我已将错误消息中的路径复制并粘贴到Windows资源管理器地址栏中,并显示正确的文件。
来自isapi日志文件
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [info] init_jk::jk_isapi_plugin.c (2653): Starting Jakarta/ISAPI/isapi_redirector/1.2.33
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2671): Detected IIS version 7.5
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2676): Using registry.
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2679): Using log file D:\IIS\IIS7_ISAPI\ISAPI\logs\isapi_redirect.log.
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2680): Using log level 1.
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2681): Using log rotation time 0 seconds.
[Thu Mar 29 00:58:25.848 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2682): Using log file size 0 bytes.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2684): Using extension uri /jakarta/isapi_redirect.dll.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2685): Using worker file D:\IIS\IIS7_ISAPI\ISAPI\conf\workers.properties.minimal.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2686): **Using worker mount file D:\IIS\IIS7_ISAPI\ISAPI\conf\uriworkermap.properties.**
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2688): Using rewrite rule file .
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2690): Using uri select 3.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2691): Using no chunked encoding.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2693): Using notification event SF_NOTIFY_AUTH_COMPLETE (0x04000000)
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2703): Using uri header TOMCATURI0000000180000000:.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2704): Using query header TOMCATQUERY0000000180000000:.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2705): Using worker header TOMCATWORKER0000000180000000:.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2706): Using worker index TOMCATWORKERIDX0000000180000000:.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2707): Using translate header TOMCATTRANSLATE0000000180000000:.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] [debug] init_jk::jk_isapi_plugin.c (2708): Using a default of 250 connections per pool.
[Thu Mar 29 00:58:25.864 2012] [2360:1132] **[error] uri_worker_map_load::jk_uri_worker_map.c (1229): Failed to load uri_worker_map file D:\IIS\IIS7_ISAPI\ISAPI\conf\uriworkermap.properties (errno=2, err=No such file or directory).
答案 0 :(得分:0)
您应该检查文件属性中的安全性部分。 添加为您的站点运行应用程序池的用户,以获得此文件的读取权限。默认情况下,这将是应用程序池标识,其用户名为“IIS APPPOOL {app pool name}'。