Hi, I'm trying to set up IIS and Tomcat to work together.
I read nearly every thread about it, and it's still not working !! NTFS rights are set to r/w for IUSR and IIS_USRSR in Tomcat directory as well as in the connector-DLLs place. I tried the registry-way to tell Tomcat about the Isapi-DLL as well as the isapi_redirector.properties-way (but where to place that file?).
I'm getting an 500.0 error, code 0x80070001 from IsapiFilterModul notification AuthenticateRequest, details see below. Looks like an authenification problem, but rights are all lowered in the concerning directories. A conflict with other handlers? Just a bug in isapi_redirector.dll ?
What's wrong? Need help!
Here's my setup:
uriworkermap.properties:
/myapp=myworker
/myapp/*=myworker
workers.properties:
ps=\
worker.list=myworker
worker.myworker.type=ajp13
worker.myworker.host=127.0.0.1
worker.myworker.port=800
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\connector\\isapi_redirect.log"
"log_level"="debug"
"worker_file"="C:\\connector\\workers.properties"
"worker_mount_file"="C:\\connector\\uriworkermap.properties"
applicationHost.config
<location path="apps">
<system.webServer>
<isapiFilters>
<filter name="jkfilter" path="C:\connector\isapi_redirect.dll" />
</isapiFilters>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
<windowsAuthentication enabled="false" />
<basicAuthentication enabled="false" />
</authentication>
</security>
<handlers accessPolicy="Read, Execute, Script">
<clear />
<add name="ISAPI-dll" path="*.dll" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\connector\isapi_redirect.dll" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="" responseBufferLimit="4194304" />
<add name="PHP_via_FastCGI" path="*.php" verb="*" type="" modules="FastCgiModule" scriptProcessor="C:\Program Files\PHP\php-cgi.exe" resourceType="Either" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
<add name="CGI-exe" path="*.exe" verb="*" type="" modules="CgiModule" scriptProcessor="" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="" responseBufferLimit="4194304" />
<add name="TRACEVerbHandler" path="*" verb="TRACE" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
<add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
<add name="StaticFile" path="*" verb="*" type="" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" scriptProcessor="" resourceType="Either" requireAccess="Read" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
</handlers>
</system.webServer>
</location>
| Modul |
IsapiFilterModule |
| Benachrichtigung |
AuthenticateRequest |
| Handler |
StaticFile |
| Fehlercode |
0x80070001 |
| Angeforderte URL |
http://apps.myserver.local:80/ |
| Physikalischer Pfad |
C:\inetpub\apps |
| Anmeldemethode |
Anonym |
| Angemeldeter Benutzer |
Anonym |