Comments in-line.
On 02/04/2019 04:43, Charles Mulvany wrote:
C:/inetpub/wwwroot/test.jsp
This is the home for the default web site.I gave IIS app pool the running user
modify, read, execute. Also gave everone full access this is only for testing
purposes. Also, tomcat usergave them full access as well.
That is the IIS web root. Tomcat won't look for files there unless you
explicitly configure it to do so.
Isapi Logs
<snip/>
TOMCAT LOGS
<snip/>
01-Apr-2019 22:31:49.329 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=C:\Tomcat
If Tomcat is installed at C:\Tomcat why install the redirector to
D:\Tomcat ? This isn't a problem. It is just unusual.
<snip/>
01-Apr-2019 22:31:50.423 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [C:\Tomcat\webapps\Root]
01-Apr-2019 22:31:50.673 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory [C:\Tomcat\webapps\Root] has finished in [250] ms
I know Windows is case insensitive but that is expected to be ROOT, not
Root. I don't think (based on the info you provided) it will matter but
I'd rename it anyway.
This is the directory where you need to put your test.jsp file, not the
IIS root.
Mark
<snip/>
On Mon, Apr 1, 2019 at 9:02 AM, Mark Thomas<ma...@apache.org> wrote: 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org