RE: tomcat + IIS 5
First, I would suggest that you only post using Plain Text email messages. A number of readers on this list don't have HTML enabled email readers and will simply skip your message because its to difficult to decipher, which you probably don't want. Your issue seems to be that the URL requested (/jakarta/teste.jsp) doesn't match anything in your uriworkermap.properties file. I would suggest you look at the file to verify that it matches some mapping in there. Also, changes to this file are not reloaded until the inetinfo process is restarted (in other words, you must use the Services control panel and not the Internet Manager application). Randy -Original Message- From: Francisco Areas Guimaraes [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 5:04 PM To: Lista tomcat User Subject: tomcat + IIS 5 I have win2k, tomcat 3.2, and IIS5. I have done everything that the IIS-tomcat-Howto says, including the Filter DLLs option, got the green arrow in the IIS ISAPI filters, but when I open a page, it simply doesn´t compile the code. Here´s what has been writen in the log file: [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/teste.jsp [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/teste.jsp] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/teste.jsp] is points to the web-inf directory Anyone have a clue on what´s happening? Please, help me, because i´m tottaly clueless... thanks, Francisco [EMAIL PROTECTED]
RE: Tomcat/IIS 5 /examples solution?
Can you point me to Eric's post? Thanks. -Original Message- From: Steve Holmlund [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 6:08 PM To: [EMAIL PROTECTED] Subject: Tomcat/IIS 5 /examples solution? Ok, it was a trip to jGuru and a post by Eric M. from December that may have provided the answer to my problem. Eric reiterated the isapi_redirect.dll install procedure in 28 steps. Step #26 was to start Tomcat. I didn't think this was necessary as I thought that IIS started Tomcat by having it installed as a filter. Then I re-read the tomcat-iis-howto and lo and behold, after Configuring the ISAPI Redirector Step 9, there is the following: That's all, you should now start Tomcat and ask IIS to serve you the /examples context. So I fire up the Jakarta NT Service on the server and test from another machine. With IIS running, this works: http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP) If I stop IIS, that URL no longer works and I must enter: http://192.168.1.2:8080/examples/jsp/index.html which I presume is the standalone Tomcat working??? Can someone confirm that this is correct? If you know and have the time, I would appreciate understanding why you must both add the filter and start Tomcat separately. I don't really understand the theory of operation. Thanks! Steve
RE: Tomcat/IIS 5 /examples solution?
-Original Message- From: David McCormick [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 5:40 AM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat/IIS 5 /examples solution? Can you point me to Eric's post? Gladly, http://jguru.com/faq/view.jsp?EID=275211 Ignore my response below his, where I start to tell him he's mistaken, and then eat my words. Steve
RE: Tomcat/IIS 5 /examples solution?
Steve, FWIW the person to whom you owe this help is an Erin (and thus presumably a she), not an Eric. Yet more words to eat. -dsb -Original Message- From: Steve Holmlund [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 1:34 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat/IIS 5 /examples solution? -Original Message- From: David McCormick [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 5:40 AM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat/IIS 5 /examples solution? Can you point me to Eric's post? Gladly, http://jguru.com/faq/view.jsp?EID=275211 Ignore my response below his, where I start to tell him he's mistaken, and then eat my words. Steve
RE: Tomcat/IIS 5 /examples solution?
ugh, my apologies to Erin. Steve -Original Message- From: Boyce, David [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 12:16 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat/IIS 5 /examples solution? Steve, FWIW the person to whom you owe this help is an Erin (and thus presumably a she), not an Eric. Yet more words to eat. -dsb
Re: Tomcat/IIS 5 /examples solution?
If it works as you described then you have it all working (yes the response to port 8080 is tomcat standalone working, you can turn off responses to port 8080 in server.xml if you wish). The reason you have to start Tomcat is beause the isapi redirector only redirects requests to tomcat over the ajp port (8007 by default) the redirector doesn't run tomcat unless you run tomcat as an in process server see the manual on that one. Steve Holmlund wrote: Ok, it was a trip to jGuru and a post by Eric M. from December that may have provided the answer to my problem. Eric reiterated the isapi_redirect.dll install procedure in 28 steps. Step #26 was to start Tomcat. I didn't think this was necessary as I thought that IIS started Tomcat by having it installed as a filter. Then I re-read the tomcat-iis-howto and lo and behold, after Configuring the ISAPI Redirector Step 9, there is the following: That's all, you should now start Tomcat and ask IIS to serve you the /examples context. So I fire up the Jakarta NT Service on the server and test from another machine. With IIS running, this works: http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP) If I stop IIS, that URL no longer works and I must enter: http://192.168.1.2:8080/examples/jsp/index.html which I presume is the standalone Tomcat working??? Can someone confirm that this is correct? If you know and have the time, I would appreciate understanding why you must both add the filter and start Tomcat separately. I don't really understand the theory of operation. Thanks! Steve
RE: Tomcat/IIS 5 /examples solution?
ISAPI applications are called only on demand, if a request explicitly points to the DLL. Hence, in the most common case - of processing all normal requests, the additional overhead of a filter will not be incurred. ISAPI Filters provide call backs at each stage of the processing. Realize that what is being installed is a filter, not an application and therefore IIS doesn't know (or even need to know) how to start Tomcat. The ISAPI filter simply forwards items to Tomcat for processing. At least, this is what I am told...=P Darrell -Original Message- From: Steve Holmlund [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 3:08 PM To: [EMAIL PROTECTED] Subject: Tomcat/IIS 5 /examples solution? Ok, it was a trip to jGuru and a post by Eric M. from December that may have provided the answer to my problem. Eric reiterated the isapi_redirect.dll install procedure in 28 steps. Step #26 was to start Tomcat. I didn't think this was necessary as I thought that IIS started Tomcat by having it installed as a filter. Then I re-read the tomcat-iis-howto and lo and behold, after Configuring the ISAPI Redirector Step 9, there is the following: That's all, you should now start Tomcat and ask IIS to serve you the /examples context. So I fire up the Jakarta NT Service on the server and test from another machine. With IIS running, this works: http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP) If I stop IIS, that URL no longer works and I must enter: http://192.168.1.2:8080/examples/jsp/index.html which I presume is the standalone Tomcat working??? Can someone confirm that this is correct? If you know and have the time, I would appreciate understanding why you must both add the filter and start Tomcat separately. I don't really understand the theory of operation. Thanks! Steve
RE: Tomcat/IIS 5 /examples solution?
Thanks, Steve and Jeff, for the explanations. It's all starting to make sense now. Steve H. If it works as you described then you have it all working (yes the response to port 8080 is tomcat standalone working, you can turn off responses to port 8080 in server.xml if you wish). The reason you have to start Tomcat is beause the isapi redirector only redirects requests to tomcat over the ajp port (8007 by default) the redirector doesn't run tomcat unless you run tomcat as an in process server see the manual on that one.