This is a review of your post against the Tomcat install docs.
On 30/03/2019 15:12, Charles Mulvany wrote:
You are right. Sorry that is what it set to.
/*=tomcat01
Thanks
Sent from Yahoo Mail on Android
On Sat, Mar 30, 2019 at 6:40 AM, Mark Thomas<ma...@apache.org> wrote: On 30/03/2019 00:56, Charles Mulvany wrote:
Issue:
When trying to open a JSP page in IIS it appears that the isapi_redirect.dll
cannot find the file to convert. I have checked several sights that confirm my
configuration below but none could find that had this condition, Has anybody
got this to work in the below configuration.
Below is my configuration.
Windows 2016 Server 64-bit
IIS 10.0
Tomcat 9.0.16
Page Requests
http://<site>/ Tomcat Default Page
http://<site>:8080/ Tomcat Default Page
Those two are expected.
http://<site>/test.jsp 404.0 Page not found
Where have you created this file? Does D:\Tomcat\webapps\ROOT\test.jsp
exist? Is it readable by the user running the Tomcat process?
http://<site>/iisstart.htm 404.0 Page not found
That is expected.
Isapi Redirect Configuration [according to
https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html ]
1) Path: D:\Tomcat\isapi
2) Ran ACL on D:\Tomcat\isapi
icacls "D:\Tomcat\isapi" /grant "IIS APPPOOL\DefaultAppPool":(OI)(CI)M
3) Copied isapi_redirect.dll (64-bit, 1.2.46) [Tried all versions all the way
down to 27.]
4) Created isapi_redirect.properties file (have tried registry as well)
- D:\Tomcat\isapi\isapi_redirect.properties
extension_uri=/jakarta/isapi_redirect.dll
log_file=D:\Tomcat\isapi\isapi_redirect.log
log_level=trace
worker_file=D:\Tomcat\isapi\workers.properties
worker_mount_file=D:\Tomcat\isapi\uriworkermap.properties
5) Created workers.properties
- D:\Tomcat\isapi\workers.properties
worker.list=tomcat01
worker.tomcat01.type=ajp13
worker.tomcat01.host=localhost
worker.tomcat01.port=8009
6) Created uriworkermap.properties
- D:\Tomcat\isapi\
\*=tomcat01
Shouldn't that be:
/*=tomcat01
?
Mark
7) Creatd Virtual Directory in IIS under Default Web Site
Alias: jakarta
path: D:\Tomcat\isapi
8) Select newly created virtual directory. (jakarta)
- Selected ISAPI-dll (checked all to enable.
9) Selected Default Web Site - Isapi Filters
- Filter Name: tomcat
- Path: D:\Tomcat\isapi\isapi_redirect.dll
10) Selected Server --> ISAPI and CGI Restrictions
- Isapi or CGI path: D:\Tomcat\isapi\isapi_redirect.dll
- Description: tomcat
- Checked Allow extension path to execute
Notes
Other Notes:
- Application Pool
- Integrated, V4.0
- Enable 32-bit Application = false
- FailedReqLogFiles
- 233. MODULE_SET_RESPONSE_ERROR_STATUS
Warning
ModuleName="IsapiModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="404",
HttpReason="404", HttpSubStatus="0", ErrorCode="The operation completed successfully.
(0x0)", ConfigExceptionInfo=""
Thanks for any help in advance, been trying to fix this for a couple of weeks now.
Stop Tomcat.
Stop IIS.
Delete all the Tomcat log files.
Start Tomcat.
Start IIS.
Try accessing your test JSP.
What do you see in the Tomcat log files? Particularly isapi_redirect.log?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org