TOMCAT, IIS 5 SSL - direction please.
If anyone on the list would be so kind as to direct me to the document/url where I can get a clue as to how I should go about using ssl with both IIS and Tomcat on the same machine without requiring client requests to go directly to non-default port. Thanks in advance Regards, Ernst Bekker [EMAIL PROTECTED] Coding Clerk +27 +11 489 4147 IS Services -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
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
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
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?
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.
RE: Similar Tomcat/IIS 5 problems
Further to my post yesterday, maybe I should just ask: Does ANYONE have the Tomcat isapi_redirect.dll working as an IIS 5 Filter on Windows 2000 Server with /examples/jsp/index.html??? The Tomcat site indicates testing was only up through WinNT 4. Maybe that's the issue. Thanks. Steve
Similar Tomcat/IIS 5 problems
I read the recent thread and also cannot get the Tomcat isapi_redirect.dll working with IIS 5.0. Specifically, http://localhost/examples/jsp/index.html returns a 500 error in the log in system32\LogFiles\W3SVC1. Adding port 8080 (a suggestion that worked for someone else) to the above URL also fails. I checked the setup extremely carefully and everything appears to be according to the documentation. My isapi.log in the Tomcat directory shows this: [jk_connect.c (143)]:jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed The examples url works fine with Tomcat 3.2.1 running standalone and as an NT Service. It's the ISAPI filter that has me stumped. It's probably something basic but I can't find it. Any help appreciated. Steve Holmlund Snippets Software
Tomcat/IIS 5 problems
Hello I'm having problems getting Tomcat to work with IIS 5.0 When executing the examples (as given in the Tomcat IIS How To document) I get a display of incomprehensible RUBBISH ! At least this is some improvement. I get the following in the log file : GET jakarta/isapi_redirect.dll 304 Also in the section Configuring the ISAPI Redirector point no 7.: While creating this new virtual directory assign it with execute access. I was not able to find this when looking at the properties of the jakarta virtual directory. This may even be the problem. Can someone please help,please please ! Many thanks Hamant -Original Message- From: Steve Holmlund [mailto:[EMAIL PROTECTED]] Sent: Thursday, 26 April 2001 10:00 To: [EMAIL PROTECTED] Subject: Similar Tomcat/IIS 5 problems I read the recent thread and also cannot get the Tomcat isapi_redirect.dll working with IIS 5.0. Specifically, http://localhost/examples/jsp/index.html returns a 500 error in the log in system32\LogFiles\W3SVC1. Adding port 8080 (a suggestion that worked for someone else) to the above URL also fails. I checked the setup extremely carefully and everything appears to be according to the documentation. My isapi.log in the Tomcat directory shows this: [jk_connect.c (143)]:jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed The examples url works fine with Tomcat 3.2.1 running standalone and as an NT Service. It's the ISAPI filter that has me stumped. It's probably something basic but I can't find it. Any help appreciated. Steve Holmlund Snippets Software