Hello Experts,

I have configured IIS website (port 8128) with ISAPI Redirector and deployed 
.war files on Tomcat as per instructions from this Tomcat website URL:  
https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

When I run the Tomcat examples using  http://localhost:8128/examples on the 
same host where IIS and tomcat is configured, the tomcat examples are 
successfully executed.

But when I try to access the /examples from another computer in the same domain 
with url http://myCompHost:8128/examples, I cannot execute tomcat examples, but 
a file named "examples" is downloaded.

IIS log shows that the, the URL is being forwarded to worker "node1" over 
isapi_redirect.dll. But no further actions take place.  Node1 is a worker 
defined as below:

worker.list=node1
worker.node1.port=8009
worker.node1.host=tc10test-bb
worker.node1.type=ajp13

The IIS log messages:

[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
find_match::jk_uri_worker_map.c (1003): Found an exact match '/examples=node1'
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (1898): check if [/examples] points to 
the web-inf directory
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (1915): [/examples] is a servlet url - 
should redirect to node1
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (2026): forwarding to : 
/jakarta/isapi_redirect.dll
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (2028): forward URI   : 
TOMCATURI0000000180000000:/examples
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (2033): forward worker: 
TOMCATWORKER0000000180000000:node1
[Thu Apr 27 14:56:36.636 2017] [4988:4380] [debug] 
handle_notify_event::jk_isapi_plugin.c (2035): worker index  : 
TOMCATWORKERIDX0000000180000000:4

Any idea what's wrong ?


Amol Gulhane

Reply via email to