RE: IIS with Tomcat integration
i found this aswell. windows ;) when i moved to using virtual hosts with tomcat and iis with jk2 i found that only iis needed to be restarted and not windows. On Tue, 28 Sep 2004, Sng Wee Jim wrote: Date: Tue, 28 Sep 2004 09:48:54 +0800 From: Sng Wee Jim [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: IIS with Tomcat integration Solved. Need to restart windows, whenever the settings in uriworkermap.properties is modified. Seems like the isapi_redirect.dll can only get reloaded by windows restart and not by restarting the IIS website. - Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS with Tomcat integration
You can open a command prompt and type in iisreset to have it read the changes. Or you can open the services control panel and restart the IIS Admin and World Wide Web Publishing services. Either way you will force a reload of the properties file. Be aware that either one of these options will cause an interruption of service. -Brantley -Original Message- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 9:49 PM To: Tomcat Users List Subject: RE: IIS with Tomcat integration Solved. Need to restart windows, whenever the settings in uriworkermap.properties is modified. Seems like the isapi_redirect.dll can only get reloaded by windows restart and not by restarting the IIS website. - Jim -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 2:17 PM To: Tomcat Users List Subject: Re: IIS with Tomcat integration jk2 or jk adapter ? On Mon, 27 Sep 2004, Sng Wee Jim wrote: Date: Mon, 27 Sep 2004 14:31:28 +0800 From: Sng Wee Jim [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: IIS with Tomcat integration Hi, I am having some problems integrating IIS 5 with Tomcat 5.0.28 on Win2k. Basically, the redirection is working fine with the following configuration in my uriworkermap.properties The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS with Tomcat integration
Solved. Need to restart windows, whenever the settings in uriworkermap.properties is modified. Seems like the isapi_redirect.dll can only get reloaded by windows restart and not by restarting the IIS website. - Jim -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 2:17 PM To: Tomcat Users List Subject: Re: IIS with Tomcat integration jk2 or jk adapter ? On Mon, 27 Sep 2004, Sng Wee Jim wrote: Date: Mon, 27 Sep 2004 14:31:28 +0800 From: Sng Wee Jim [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: IIS with Tomcat integration Hi, I am having some problems integrating IIS 5 with Tomcat 5.0.28 on Win2k. Basically, the redirection is working fine with the following configuration in my uriworkermap.properties The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat
Yes, you can. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: 22 octobre, 2003 14:50 To: [EMAIL PROTECTED] Subject: IIS and Tomcat I've integrated Apache with Tomcat on numerous occasions, but never on IIS. We have the following scenario: 1. We want to have a domain name - i.e. www.myresort.com - that is serviced by IIS. 2. We want to map any requests to www.myresort.com to Tomcat's /myresort application. Is this possible? I know it is with Apache, but I'm not sure about IIS. From what I've seen from the documentation, IIS has to have some sort of indicator, i.e. /jk/* Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat
If you need to have IIS serve static pages as well, you must also create an IIS virtual directory (somewhere in the ~tomcat/webapps/myresort folder) which is apparently mentioned nowhere. -Original Message- From: Dionne, Patrice [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 5:57 AM To: Tomcat Users List Subject: RE: IIS and Tomcat Yes, you can. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: 22 octobre, 2003 14:50 To: [EMAIL PROTECTED] Subject: IIS and Tomcat I've integrated Apache with Tomcat on numerous occasions, but never on IIS. We have the following scenario: 1. We want to have a domain name - i.e. www.myresort.com - that is serviced by IIS. 2. We want to map any requests to www.myresort.com to Tomcat's /myresort application. Is this possible? I know it is with Apache, but I'm not sure about IIS. From what I've seen from the documentation, IIS has to have some sort of indicator, i.e. /jk/* Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS and Tomcat 4
If the Webserver offers a dynamic page for download, thats usually a sign for wrong configuration in the Webserver. Propably the ISAPI Filter is misconfigured. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html#Configuring%20the%20ISAPI%20Redirector and http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html#Troubleshooting At 15:37 15.07.2003 -0500, you wrote: Hi, I just installed Tomcat4 and IIS. I have set up IIS to redirect jsps to Tomcat with the isapi_redirect.dll and the arrow in the IIS property screen is up and green. When I accessed a jsp page in my localhost, I get a download confirmation screen instead of the page being served up. I can see the jsp ok in my localhost:8080. Could any one tell me what I am missing? Thanks very much. Baoha Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem - RESOLVED
Hi guys, Well, simply said, the Server Reboot magical solution made it work... (thanks David for that one) Now, did all the previous modifications (shm file, etc) also make the JK2 connector work too !? I don't know. In any case, all URLs are now working fine : http://localhost:8080/examples/ and http://localhost/examples/. Thanks to all of you who helped me, this is my 2nd day on this list and it really saved me a lot of time. For those still stuck with this problem, I would say : - follow the instructions (those on Apache's web site are complete. Just a note though : if you want to install the JK2 module, go to the last 2 chapters in the documentation that are -exclusively- reserved to the JK2 and not the JK1 module, as registry key/values are NOT the same for both modules ! This is something which is not very clear in the Apache documentation), - DOUBLE-CHECK the registry entries (the red arrow problem is mostly due to that), - REBOOT THE SERVER (guess this is IIS who requires it ? Or the Environment variable as Jason pointed out) !!! All this should (hopefully) make it work. I also just noticed that my tomcat installation path has spaces in it (I kept the initial proposed Apache Group\Tomcat 4.1 path), which some people say should be avoided. Well on Windows it doesn't seem to cause problem (maybe on Linux it would), and for me it works fine (for the moment...). Can someone confirm this ? Thanks a lot. Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
To answer your questions (maybe it might help others ?) : - No, no Firewall running - Yes, I created a blank workers2.properties file and copied the text into it - The error page was (don't know the HTTP Error code for it) : The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. etc Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 18:23 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Okay silly question time... Are you running any sort of firewall? Also when you added: [shm] file=C:\tomcat4\logs\shm.file size=1048576 Did you create a blank file for it or has Tomcat created one, if it has its hould contain lots of data? What error is it throwing when trying to access http://localhost/examples/ a 404 or something else? Regards, Jason ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Do you have an entry for [shm] in your workers2.properties file? It is essential that it is present for the JK2 connector to work correctly. This didn't appear in any documentation I found. Most of the error messages you mention are there even in working configurations so don't worry about them. Regards, David Legg Webmaster - 3Dlabs Phone: +44 (0)118 982 8254 http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:45 To: 'Tomcat Users List' Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi everybody, Seems like this problem is quite known, so I hope you can help me (after searching the web and reading Apache docs, I can't figure it out) : I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server computer : everything works fine, all pages work (http://localhost for IIS and http://localhost:8080 for Tomcat, as well as the JSP and Servlets examples). After that I followed the instructions on the jakarta web site to install the JK2 connector : after some trials (and some typo errors from my side in the Registry...), I finally got that green arrow in the IIS Console regarding the isapi_redirector2.dll ! Seems everything was working fine, but... 1) the http://localhost/examples/ page doesn't show up (web error page instead) 2) in the Event Log, the following error entries appear each time I try to access the upper URL : -- Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for ajp13:localhost:8009 Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error... --- I don't know what to do, I think all configuration is correct but still it doesn't work. Can anyone help me please ? Thanks a lot Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Hi David, No I don't have any, here is what I have in my workers2.properties file : #Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp - What is that [shm] entry you mentioned ? Thanks again, Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:23 À : 'Tomcat Users List' Objet : RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Do you have an entry for [shm] in your workers2.properties file? It is essential that it is present for the JK2 connector to work correctly. This didn't appear in any documentation I found. Most of the error messages you mention are there even in working configurations so don't worry about them. Regards, David Legg Webmaster - 3Dlabs Phone: +44 (0)118 982 8254 http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:45 To: 'Tomcat Users List' Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi everybody, Seems like this problem is quite known, so I hope you can help me (after searching the web and reading Apache docs, I can't figure it out) : I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server computer : everything works fine, all pages work (http://localhost for IIS and http://localhost:8080 for Tomcat, as well as the JSP and Servlets examples). After that I followed the instructions on the jakarta web site to install the JK2 connector : after some trials (and some typo errors from my side in the Registry...), I finally got that green arrow in the IIS Console regarding the isapi_redirector2.dll ! Seems everything was working fine, but... 1) the http://localhost/examples/ page doesn't show up (web error page instead) 2) in the Event Log, the following error entries appear each time I try to access the upper URL : -- Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 E rror: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for ajp13:localhost:8009 Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error... --- I don't know what to do, I think all configuration is correct but still it doesn't work. Can anyone help me please ? Thanks a lot Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 15:32 To: 'Tomcat Users List' Subject: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi David, No I don't have any, here is what I have in my workers2.properties file : #Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp - What is that [shm] entry you mentioned ? Thanks again, Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
No I didn't reboot W2K, but restarted Tomcat -and- IIS (stop IIS and Tomcat, Start Tomcat, wait, Start IIS, test the URL). Is it necessary to completely reboot the server !? -Message d'origine- De : Dominic Parry [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:45 À : Tomcat Users List Objet : Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Its a pain because: - the pool of people who understand the connectors from a development aspect is small - the pool of people who understand the connectors and have time to submit code is smaller still - the pool of people who understand the connectors, can submit code, and understand ISAPI is smaller still - the pool of people who understand the connectors, can submit code, understand ISAPI, and can build/test actual ISAPI filters using commercial Microsoft development environments instead of free open source environments is smaller still - the pool of people who can do all of the above as well as create and submit good documentation are just about nonexistent John On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain [EMAIL PROTECTED] wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commented out. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org On Wed, 25 Jun 2003 23:38, Hertenstein Alain wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file-- Jason Bainbridge http://jblinux.org size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Yes it does listen, here's a summary of netstat -a : Proto Local Address Foreign AddressState TCPweberi:8009weberi:0 LISTENING Even in the Tomcat command window, the following text appears : Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=C:\Program Files\Apache Group\Tomcat 4.1 \conf\jk2.properties Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:38 AM To: 'Tomcat Users List' Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Thanks for the explanation, John. I'm still at a loss on my similar problem from yesterday and have wondered the same thing: why is it so hard? This at least clarifies the problem a bit. Wish I could add something helpful myself. Ken -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:50 AM To: Tomcat Users List Subject: Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Its a pain because: - the pool of people who understand the connectors from a development aspect is small - the pool of people who understand the connectors and have time to submit code is smaller still - the pool of people who understand the connectors, can submit code, and understand ISAPI is smaller still - the pool of people who understand the connectors, can submit code, understand ISAPI, and can build/test actual ISAPI filters using commercial Microsoft development environments instead of free open source environments is smaller still - the pool of people who can do all of the above as well as create and submit good documentation are just about nonexistent John On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain [EMAIL PROTECTED] wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Okay silly question time... Are you running any sort of firewall? Also when you added: [shm] file=C:\tomcat4\logs\shm.file size=1048576 Did you create a blank file for it or has Tomcat created one, if it has it should contain lots of data? What error is it throwing when trying to access http://localhost/examples/ a 404 or something else? Regards, Jason On Wed, 25 Jun 2003 23:54, Hertenstein Alain wrote: Yes it does listen, here's a summary of netstat -a : Proto Local Address Foreign AddressState TCPweberi:8009weberi:0 LISTENING Even in the Tomcat command window, the following text appears : Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=C:\Program Files\Apache Group\Tomcat 4.1 \conf\jk2.properties Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
On Thu, 26 Jun 2003 00:20, Januski, Ken wrote: I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Mainly because the number of Apache Web Server + Tomcat users far out weigh the number of MS IIS + Tomcat users and when it comes to development I would say the numbers are even further apart. This means unfortunately for people that must use IIS that it isn't as well supported as the Apache Web Server. All I can suggest is that you scratch your own itch by either digging into the source and submitting patches to improve it or even just creating documentation based upon your experiences. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Yes, you're right, as John Turner mentioned in another response. Once I get it working I'll be happy to document it. I both wish I could avoid IIS and wish I could submit patches but I'm afraid neither of those will happen. When I get the thing working I will send the documentation for those few of us stuck with integrating IIS and Tomcat. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:27 PM To: Tomcat Users List Subject: Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem On Thu, 26 Jun 2003 00:20, Januski, Ken wrote: I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Mainly because the number of Apache Web Server + Tomcat users far out weigh the number of MS IIS + Tomcat users and when it comes to development I would say the numbers are even further apart. This means unfortunately for people that must use IIS that it isn't as well supported as the Apache Web Server. All I can suggest is that you scratch your own itch by either digging into the source and submitting patches to improve it or even just creating documentation based upon your experiences. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Regards, Joshua White -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:45 AM To: Tomcat Users List Subject: Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat
Hi, Umm, I think I'm correct in saying that saving .class files from one to the other will have no effect whatsoever. JSP _are_ servlets once they are compiled. You have a different and unrelated problem. Namely passing session information between entirely unrelated webapps. Traditionally you would look at using cookies to do this sort of session persistence. You may be able to use a low level firewall to do this. In any case I'm fairly sure that in order to implement this sort of funtionality you are going to be either: a) Writing custom code that can persist the information you need in a db between calls. b) Serializing the objects. c) Using cookies. I had a similar problem to this (communication between different webapps) and found the easiest solution to be a database driven one (they often are in my opinion :P) Maybe someone else can suggest alternatives? james James Lewis Java Developer www.goodtechnology.com -Original Message- From: Dolo [mailto:[EMAIL PROTECTED] Sent: 17 March 2003 12:05 To: [EMAIL PROTECTED] Subject: IIS and Tomcat Hi! I have Tomcat 3.3 installed. IIS passes all JSP calls on to Tomcat. The problem is that I have a servlet in Tomcat, and when it´s called from some JSP in IIS, the session is lost. I guess this happens because JSP .class files and servlet .class files don´t belong to the same webapp. Is there a way to make JSP from IIS and servlets from Tomcat share the same webapp? Something like making Tomcat save the .class generated as a result of the JSP files in the same folder as the .class from the servlets. I would be really grateful to receive any information about this issue. I have spent the last 2 days looking for information everywhere, a lot of people seem to have the same problem, but no solution is given. Thanks in advance. Dolores - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
Here's more info on the Tomcat/redirector bug we're trying to track down. Also, you suggested trying JK2. When attempting JK2 with IIS and Tomcat 4.1, a shm.init() : no file error is always generated in the Windows Event Log. It never seems to initialize properly. If ANYONE has a working configuration of JK2/IIS/Tomcat 4.X (with or without JNI), I'd love to get a copy of your jk2.properties, workers2.properties, and windows registry entries that work... Many thanks! - Rick stdout.log content: =12 34 01 2a 02 04 00 08 48 54 54 50 2f 31 2e 31 | .4.*HTTP/1.1 00 00 14 2f 73 65 72 76 6c 65 74 2f 49 6c 6c 75 | .../servlet/Illu 6d 69 6e 61 74 6f 72 00 00 09 31 32 37 2e 30 2e | minator...127.0. 30 2e 31 00 00 09 31 32 37 2e 30 2e 30 2e 31 00 | 0.1...127.0.0.1. 00 09 6c 6f 63 61 6c 68 6f 73 74 00 00 50 00 00 | ..localhost..P.. 08 a0 01 00 34 74 65 78 74 2f 68 74 6d 6c 2c 20 | .?..4text/html, 69 6d 61 67 65 2f 67 69 66 2c 20 69 6d 61 67 65 | image/gif, image 2f 6a 70 65 67 2c 20 2a 3b 20 71 3d 2e 32 2c 20 | /jpeg, *; q=.2, 2a 2f 2a 3b 20 71 3d 2e 32 00 a0 04 00 02 65 6e | */*; q=.2.?...en 00 a0 06 00 0a 4b 65 65 70 2d 41 6c 69 76 65 00 | .?...Keep-Alive. a0 0b 00 09 6c 6f 63 61 6c 68 6f 73 74 00 a0 0e | ?...localhost.?. 00 29 4d 6f 7a 69 6c 6c 61 2f 34 2e 30 20 28 63 | .)Mozilla/4.0 (c 6f 6d 70 61 74 69 62 6c 65 3b 20 4d 53 49 45 20 | ompatible; MSIE 36 2e 30 3b 20 57 69 6e 33 32 29 00 a0 08 00 03 | 6.0; Win32).?... 31 30 32 00 a0 07 00 21 61 70 70 6c 69 63 61 74 | 102.?..!applicat 69 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 | ion/x-www-form-u 72 6c 65 6e 63 6f 64 65 64 00 00 0d 63 61 63 68 | rlencoded...cach 65 2d 63 6f 6e 74 72 6f 6c 00 00 08 6e 6f 2d 63 | e-control...no-c 61 63 68 65 00 03 00 00 00 04 00 00 00 ff| ache.? = Iis_redirect.log content: = [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/servlet/Illuminator [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/servlet/Illuminator' [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /servlet/Illuminator [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/servlet/Illuminator' [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /servlet/ [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/servlet/Illuminator] is a servlet url - should redirect to ajp13 [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/servlet/Illuminator] is points to the web-inf directory [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Sun Mar 02 22:29:10 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Sun Mar 02 22:29:10 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (1391)]: Into jk_worker_t::get_endpoint [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (1435)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 27 seconds [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (1107)]: Into jk_endpoint_t::service [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (640)]: sending to ajp13 #530 [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (882)]: ajp_send_request 2: request body to send 59 - request body to resend 0 [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (514)]: Into jk_ws_service_t::read = With Tomcat 4.1.18 and the latest JK IIS redirector (on Windows XP Pro), HTTP POST requests to a servlet fail with what appears to be a socket timeout error. HTTP GET's work perfectly. The identical code runs perfectly (POST or GET) when using Apache 2.0.43 with JK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
Title: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Rick, I have the following environment working... Tomcat v4.0.6 IIS 5.0 JK2 isapi_redirector2.dll v. 2.0.1 in a distributed environment with Tomcat and IIS on separate machines. Notes: 1. Don't use v2.0.2 of the isapi_redirector2.dll. For some reason, it doesn't work. I haven't had time to figure out why, but other people are reporting the same thing. I tried to get it working, but had no success. v2.0.1 worked for me right away. 2. I've found that the shm.init() warning is really a red herring of sorts. My configuration worked even if the warning was logged during startup. In order to prevent the warning, make sure that there is a shm file listed in the workers2.properties file. The connector will create the file if it is missing. 3. Attached are my workers2.properties file, my jk2.properties file and my registry settings. The workers2.properties file and registry settings apply to the IIS server. The jk2.properties file (which has everything commented out) applies to the Tomcat Server. With this configuration we are having no problems with POST or GET requests. Steve The information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. -Original Message- From: Rick Bullotta [mailto:[EMAIL PROTECTED]] Sent: Monday, March 03, 2003 1:20 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Here's more info on the Tomcat/redirector bug we're trying to track down. Also, you suggested trying JK2. When attempting JK2 with IIS and Tomcat 4.1, a shm.init() : no file error is always generated in the Windows Event Log. It never seems to initialize properly. If ANYONE has a working configuration of JK2/IIS/Tomcat 4.X (with or without JNI), I'd love to get a copy of your jk2.properties, workers2.properties, and windows registry entries that work... Many thanks! - Rick stdout.log content: =12 34 01 2a 02 04 00 08 48 54 54 50 2f 31 2e 31 | .4.*HTTP/1.1 00 00 14 2f 73 65 72 76 6c 65 74 2f 49 6c 6c 75 | .../servlet/Illu 6d 69 6e 61 74 6f 72 00 00 09 31 32 37 2e 30 2e | minator...127.0. 30 2e 31 00 00 09 31 32 37 2e 30 2e 30 2e 31 00 | 0.1...127.0.0.1. 00 09 6c 6f 63 61 6c 68 6f 73 74 00 00 50 00 00 | ..localhost..P.. 08 a0 01 00 34 74 65 78 74 2f 68 74 6d 6c 2c 20 | .?..4text/html, 69 6d 61 67 65 2f 67 69 66 2c 20 69 6d 61 67 65 | image/gif, image 2f 6a 70 65 67 2c 20 2a 3b 20 71 3d 2e 32 2c 20 | /jpeg, *; q=.2, 2a 2f 2a 3b 20 71 3d 2e 32 00 a0 04 00 02 65 6e | */*; q=.2.?...en 00 a0 06 00 0a 4b 65 65 70 2d 41 6c 69 76 65 00 | .?...Keep-Alive. a0 0b 00 09 6c 6f 63 61 6c 68 6f 73 74 00 a0 0e | ?...localhost.?. 00 29 4d 6f 7a 69 6c 6c 61 2f 34 2e 30 20 28 63 | .)Mozilla/4.0 (c 6f 6d 70 61 74 69 62 6c 65 3b 20 4d 53 49 45 20 | ompatible; MSIE 36 2e 30 3b 20 57 69 6e 33 32 29 00 a0 08 00 03 | 6.0; Win32).?... 31 30 32 00 a0 07 00 21 61 70 70 6c 69 63 61 74 | 102.?..!applicat 69 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 | ion/x-www-form-u 72 6c 65 6e 63 6f 64 65 64 00 00 0d 63 61 63 68 | rlencoded...cach 65 2d 63 6f 6e 74 72 6f 6c 00 00 08 6e 6f 2d 63 | e-control...no-c 61 63 68 65 00 03 00 00 00 04 00 00 00 ff | ache.? = Iis_redirect.log content: = [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/servlet/Illuminator [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/servlet/Illuminator' [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /servlet/Illuminator [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/servlet/Illuminator' [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /servlet/ [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/servlet/Illuminator] is a servlet url - should redirect to ajp13 [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/servlet/Illuminator
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
Looks like my other two attachments didn't make it. So here they are pasted in: workers2.properties: [logger] level=ERROR [config:] file=D:/TomcatConnectors/jk2_isapi_2_0_1/workers2.properties debug=0 debugEnv=0 [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=D:/TomcatConnectors/jk2_isapi_2_0_1/jk2.shm size=100 debug=99 disabled=0 [uriMap:] info=Maps the requests. Options: debug debug=0 [workerEnv:] info=Global server options timing=1 debug=0 [channel.socket:IP_ADDRESS_OR_DNS_NAME_OF_TOMCAT_SERVER:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=IP_ADDRESS_OR_DNS_NAME_OF_TOMCAT_SERVER:8009 [status:] info=Status worker, displays runtime informations [uri:/MY_WEB_APPLICATION/*] info=Mapped Web Application (e.g. /examples/*) # jk2.properties: ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list # handler.list=apr,request,channelJni # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives: # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess Steven The information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. -Original Message- From: Kundrot, Steven [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:42 PM To: 'Tomcat Users List' Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Rick, I have the following environment working... Tomcat v4.0.6 IIS 5.0 JK2 isapi_redirector2.dll v. 2.0.1 in a distributed environment with Tomcat and IIS on separate machines. Notes: 1. Don't use v2.0.2 of the isapi_redirector2.dll. For some reason, it doesn't work. I haven't had time to figure out why, but other people are reporting the same thing. I tried to get it working, but had no success. v2.0.1 worked for me right away. 2. I've found that the shm.init() warning is really a red herring of sorts. My configuration worked even if the warning was logged during startup. In order to prevent the warning, make sure that there is a shm file listed in the workers2.properties file. The connector will create the file if it is missing. 3. Attached are my workers2.properties file, my jk2.properties file and my registry settings. The workers2.properties file and registry settings apply to the IIS server. The jk2.properties file (which has everything commented out) applies to the Tomcat Server. With this configuration we are having no problems with POST or GET requests. Steve The information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. -Original Message- From: Rick Bullotta [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, March 03, 2003 1:20 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Here's more info on the Tomcat/redirector bug we're trying to track down. Also, you suggested trying JK2. When attempting JK2 with IIS and Tomcat 4.1, a shm.init() : no file error is always generated in the Windows Event Log. It never seems to initialize properly. If ANYONE has a working configuration of JK2/IIS/Tomcat 4.X (with or without JNI), I'd love to get a copy of your jk2.properties, workers2.properties, and windows registry entries that work... Many thanks! - Rick stdout.log content: =12 34 01 2a 02 04 00 08 48 54 54 50 2f 31 2e 31 | .4.*HTTP/1.1 00 00 14 2f 73 65 72 76 6c 65 74 2f 49 6c 6c 75 | .../servlet/Illu 6d 69 6e 61 74 6f 72 00 00 09 31 32 37 2e 30 2e
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
See inline === -Original Message- From: Kundrot, Steven [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 2:17 PM To: 'Tomcat Users List' Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Looks like my other two attachments didn't make it. So here they are pasted in: workers2.properties: [logger] level=ERROR [config:] file=D:/TomcatConnectors/jk2_isapi_2_0_1/workers2.properties debug=0 debugEnv=0 [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=D:/TomcatConnectors/jk2_isapi_2_0_1/jk2.shm copy this fully-qualified file name to jk2.properties. size=100 debug=99 disabled=0 [uriMap:] info=Maps the requests. Options: debug debug=0 [workerEnv:] info=Global server options timing=1 debug=0 [channel.socket:IP_ADDRESS_OR_DNS_NAME_OF_TOMCAT_SERVER:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=IP_ADDRESS_OR_DNS_NAME_OF_TOMCAT_SERVER:8009 [status:] info=Status worker, displays runtime informations [uri:/MY_WEB_APPLICATION/*] info=Mapped Web Application (e.g. /examples/*) # jk2.properties: ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list # handler.list=apr,request,channelJni # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm === copied here # In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives: # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess Steven The information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. -Original Message- From: Kundrot, Steven [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:42 PM To: 'Tomcat Users List' Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Rick, I have the following environment working... Tomcat v4.0.6 IIS 5.0 JK2 isapi_redirector2.dll v. 2.0.1 in a distributed environment with Tomcat and IIS on separate machines. Notes: 1. Don't use v2.0.2 of the isapi_redirector2.dll. For some reason, it doesn't work. I haven't had time to figure out why, but other people are reporting the same thing. I tried to get it working, but had no success. v2.0.1 worked for me right away. 2. I've found that the shm.init() warning is really a red herring of sorts. My configuration worked even if the warning was logged during startup. In order to prevent the warning, make sure that there is a shm file listed in the workers2.properties file. The connector will create the file if it is missing. 3. Attached are my workers2.properties file, my jk2.properties file and my registry settings. The workers2.properties file and registry settings apply to the IIS server. The jk2.properties file (which has everything commented out) applies to the Tomcat Server. With this configuration we are having no problems with POST or GET requests. Steve The information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. -Original Message- From: Rick Bullotta [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, March 03, 2003 1:20 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Here's more info on the Tomcat/redirector bug we're trying to track down. Also, you suggested trying JK2. When attempting JK2 with IIS and Tomcat 4.1, a shm.init() : no file error is always generated in the Windows Event Log. It never seems to initialize properly. If ANYONE has a working configuration of JK2/IIS/Tomcat 4.X (with or without JNI), I'd love to get a copy of your jk2.properties, workers2
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
Here was the solution: Don't use JK2 build 2.0.2! It just plain doesn't seem to work on XP/Tomcat 4.1/JDK 1.4.1. Using build 2.0.1 seemed to do the trick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and tomcat 4.1.18 integration
JK = mod_jk (Apache) = isapi_redirector.dll (IIS) JK2 = mod_jk2 (Apache) = isapi_redirector2.dll (IIS) JK and JK2 are protocols for connecting a web server to Tomcat. Tomcat has Connectors. These are written in Java and accept requests from various sources depending on configuration. The typical Connector class is CoyoteConnector. CoyoteConnector can accept requests (and issue responses) for JK, JK2, HTTP, HTTPS, and probably others. You setup multiple connectors (or just one) in server.xml depending on what you want to do. By default, there are two connectors configured in server.xml: one on port 8080 (HTTP) and one on port 8009 (JK/JK2). Note that those connectors do nothing unless they receive requests. The one on port 8080 receives requests from web browsers, the one on 8009 receives requests from mod_jk/2.so or isapi_redirector/2.dll. AFAIK, none of the CoyoteConnector JAR files are missing from any recent Tomcat distribution, certainly not a binary distribution of 4.1.18. As I understand it, because IIS doesn't have a conf file like Apache, admins are limited to whatever configuration options are presented on the admin dialog boxes. Thus, the need for two files for JK where with Apache you only need httpd.conf + 1. The two files are worker.properties (tells the worker where Tomcat is) and uriworkermap.properties (tells the worker which requests should be sent to Tomcat). I'm not familiar with JK2 at all, so I can't tell you what files you need besides the DLL file. Not many people have written documentation for IIS with Tomcat. I have a few bookmarked, they are for older versions of Tomcat, though my guess is the setup is similar: http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm http://www.vacodi.com/howto/tomcat/iisnt/index.html Your intent to pray for success is a good one. Not much effort is spent on supporting IIS with Tomcat, for obvious reasons. Frankly, unless you must use IIS, you're much better off with Apache 2 on Windows, and you will get all kinds of help and support for that configuration here. With IIS, you might very well be on your own, or it might just seem like it. Once you get your configuration working, I'm sure people would appreciate it if you took the time to document the process and create a HOWTO. John -Original Message- From: Mark Clarke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 5:09 PM To: [EMAIL PROTECTED] Subject: FW: IIS and tomcat 4.1.18 integration Hi all, I have been searching high and low for a proper tutorial or explanation on how to integrate IIS with tomcat. The one on the apache site refers to files that don't exist in my download of tomcat4.1.18. Also I am thoroughly confused by the connector storey. This is what I understand so far. 1) Download the isapi_redirect.dll file (mod_jk), 2) hack the registry, 3) set up web application for dll 4) dumps worker.properties and uriworker.properties into conf, 5) some say copy j2k.properties into conf as well. 6) Figure out that there are some jar files missing that no-one tells you about and that are even harder to find on the apache site.(tomcat_coyote,tomcat_jk etc) ( I think this is where there coyote comes in) 6) pray and hope that it all works 7) pray some more The more I search the more confused I became because then I found isapi_redirector2.dll (not isapi_redirect2.dll). I also found some references to j2k. In the end I got it to work on my xp machine (development) but it doesn't work on production machine (win2k sp2). On this machine it causes inetinfo.exe to crash whenever a request is made to tomcat. It seems that the redirector works as its log file doesn't complain about it. I suspect that it has something to do with version conflict and what connector(?) to use. Please help this struggling soul. :( = Mark Clarke - Exotic Pets WWW: www.ExoticPets.co.za = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and tomcat 4.1.18 integration
I might add that the docs on the Tomcat site refer to files that don't exist in your download of Tomcat 4.1.18 because you have to create them, if by files you're referring to the .properties files. John -Original Message- From: Mark Clarke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 5:09 PM To: [EMAIL PROTECTED] Subject: FW: IIS and tomcat 4.1.18 integration Hi all, I have been searching high and low for a proper tutorial or explanation on how to integrate IIS with tomcat. The one on the apache site refers to files that don't exist in my download of tomcat4.1.18. Also I am thoroughly confused by the connector storey. This is what I understand so far. 1) Download the isapi_redirect.dll file (mod_jk), 2) hack the registry, 3) set up web application for dll 4) dumps worker.properties and uriworker.properties into conf, 5) some say copy j2k.properties into conf as well. 6) Figure out that there are some jar files missing that no-one tells you about and that are even harder to find on the apache site.(tomcat_coyote,tomcat_jk etc) ( I think this is where there coyote comes in) 6) pray and hope that it all works 7) pray some more The more I search the more confused I became because then I found isapi_redirector2.dll (not isapi_redirect2.dll). I also found some references to j2k. In the end I got it to work on my xp machine (development) but it doesn't work on production machine (win2k sp2). On this machine it causes inetinfo.exe to crash whenever a request is made to tomcat. It seems that the redirector works as its log file doesn't complain about it. I suspect that it has something to do with version conflict and what connector(?) to use. Please help this struggling soul. :( = Mark Clarke - Exotic Pets WWW: www.ExoticPets.co.za = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and Tomcat basic configuration questions
No, Tomcat and IIS can be on different machines (the redirector is on the IIS server, but it is simply a DLL). One of the entries in the properties file used to configure the redirector is the name of the machine where Tomcat is running. This is how the redirector knows where to redirect the request to. -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:48 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat basic configuration questions Hello all. I'm new to the entire concept of Tomcat and I have a question which I have not found a clear explanation for. Does Tomcat have to be installed on the webserver? In other words, can I not just install the redirect filter (and not Tomcat, per se) on the webserver and have it connect (using ajpv13) to a back-end Tomcat server? I only want to install the redirect filter on the webserver. Does a working JVM need to be in place for the filter to work properly? Brantley Hobbs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat basic configuration questions
-Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Hello all. I'm new to the entire concept of Tomcat and I have a question which I have not found a clear explanation for. Does Tomcat have to be installed on the webserver? No. In other words, can I not just install the redirect filter (and not Tomcat, per se) on the webserver and have it connect (using ajpv13) to a back-end Tomcat server? Yes. I only want to install the redirect filter on the webserver. Does a working JVM need to be in place for the filter to work properly? No, the JVM goes on the server running Tomcat, as Tomcat is the Java application that requires it. The redirector is just a DLL. Brantley Hobbs John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat basic configuration questions
Take a look at this site. It has step by step installation instructions http://www.onjava.com/pub/ct/33 Hari -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:48 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat basic configuration questions Hello all. I'm new to the entire concept of Tomcat and I have a question which I have not found a clear explanation for. Does Tomcat have to be installed on the webserver? In other words, can I not just install the redirect filter (and not Tomcat, per se) on the webserver and have it connect (using ajpv13) to a back-end Tomcat server? I only want to install the redirect filter on the webserver. Does a working JVM need to be in place for the filter to work properly? Brantley Hobbs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS 5.0 Tomcat Integration
Hi John Thanks for your prompt reply. In fact your second point was the problem in my case. The other developer who installed tomcat set the AJP13 port to 6009. So it was trying to communicate to wrong port (8009). In fact this sentence in the AJP connector documentation (URL: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html) prompted me to check server.xml file carefully. Make sure the Tomcat AJP connector is properly declared in the Catalina configuration file Thanks again Narayan At 07:43 PM 11/8/2002 -0500, Turner, John wrote: JK cannot open a socket to Tomcat would be my guess. Things to check: - what connector is enabled in server.xml, and do you have either AjpConnector or CoyoteConnector enabled on port 8009 - is your hostname resolvable by DNS or a hosts file - is your Host element in server.xml configured to the same value as host in workers.properties. I would also suggest taking everything out of workers.properties besides: # BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=your_host worker.ajp13.type=ajp13 # END workers.properties All of that load-balancing stuff and macro setup is not needed for a simple connection...there's no need to have that in there unless you are actually using it, and it will make things easier to debug. John
RE: IIS and Tomcat
Yes, many people are using it. If you would like some help, please post your configuration (with versions), and any error messages or log file portions that might be relevant. Please be as specific as possible. You will get faster and more accurate help the more specific you are. John -Original Message- From: Lee Chin Khiong [mailto:leeck;cmks.com.sg] Sent: Friday, November 01, 2002 1:05 AM To: 'Tomcat Users List' Subject: IIS and Tomcat Anybody using IIS isapi_redirect ? I just can't make it work enven I follow the instruction from apache.org site. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: IIS 5.0 + Tomcat 4.0.6 integration - getting Unable to read worker_file on start
Hi You might want to refere to this article .It worked for me. http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Yogesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: IIS 5.0 + Tomcat 4.0.6 integration - getting Unable to read worker_file on start Hi I have installed Tomcat 4.0.6 on a Windows 2000 machine running IIS 5.0. I followed the documentation to install isapi_redirect.dll for integrating Tomcat 4.0.6 with IIS. I have checked and rechecked my registry entries associated and they are correct. When I restarted IIS after adding the isapi_redirect.dll, isapi_redirect.dll is not loading (a red down arrow next to the isapi_redirect.dll in ISAPI_FILTERS tab in the website properties) and the iis_redirect.log file shows a message jk_isapi_plugin.c [jk_isapi_plugin.c (649)]: Unable to read worker_file E: \Progs\jakarta-tomcat-4.0.6\conf\workers.properties. Has anyone run into this problem and have a solution to fix it. Thanks in advance. Palamarneri Krishnan Email: [EMAIL PROTECTED] This email message and all attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Please DO NOT forward this email outside of the recipient's Company unless expressly authorized to do so herein. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this email message are those of the individual sender except where the sender specifically states them to be the views of Indus International, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)
Hello, Steve Burrus, which Apache HTTP Server are you using and on what platform? John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 3:52 PM To: Tomcat Users List Subject: Re: HTTP/1.1 standard/coyote performance Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)
Hi, John, this is steve burrus, and in direct response to your question of me, I am trying to use the 2.0.39 version of Apache, and I am on Win XP. --- Turner, John [EMAIL PROTECTED] wrote: Hello, Steve Burrus, which Apache HTTP Server are you using and on what platform? John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 3:52 PM To: Tomcat Users List Subject: Re: HTTP/1.1 standard/coyote performance Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)
Hello Steve Burrus, try this link: http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 4:15 PM To: Tomcat Users List Subject: RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance) Hi, John, this is steve burrus, and in direct response to your question of me, I am trying to use the 2.0.39 version of Apache, and I am on Win XP. --- Turner, John [EMAIL PROTECTED] wrote: Hello, Steve Burrus, which Apache HTTP Server are you using and on what platform? John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 3:52 PM To: Tomcat Users List Subject: Re: HTTP/1.1 standard/coyote performance Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)
Steve, try this link to get mod_jk.dll http://www.acg-gmbh.de/mod_jk/ - Andrew -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 4:15 PM To: Tomcat Users List Subject: RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance) Hi, John, this is steve burrus, and in direct response to your question of me, I am trying to use the 2.0.39 version of Apache, and I am on Win XP. --- Turner, John [EMAIL PROTECTED] wrote: Hello, Steve Burrus, which Apache HTTP Server are you using and on what platform? John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 3:52 PM To: Tomcat Users List Subject: Re: HTTP/1.1 standard/coyote performance Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus ** ** *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help
Check the names of the extension_uri and the real dll, are the same? The error you are getting it's related to that issue mainly, so the trobuleshooting directions you got in that doc.. Can you send the complete list of files from jakarta virtual dir, export and post your registry settings or post your properties file ( isapi_redirector.properties ) , whtever methood you choosed to configure the i_r.dll Saludos , Ignacio J. Ortega msg54538/bin0.bin Description: application/ms-tnef -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help
The default registry entries have a typo. Check the value for: HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi Redirector\1.0\extension_uri The default value is isapi_redirect.dll, but the DLL name is isapi_redirector.dll. Also check the name of your worker.properties file. The documentation uses workers.properties and worker.properties interchangeably. Pick one or the other and make sure everything is configured to use this name. -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:00 PM To: [EMAIL PROTECTED] Subject: IIS and Tomcat: I am stuck with this for last two days : Can somebody help Hi All, I am using win2k professional, IIS 5.0 and Tomcat4.0.3 I want to configure IIS and tomcat. I followed the instructions and setup the ISAPI filer on IIS. I see a green arrow against the ISAPI filter. When I send in a request I see the following entry made in the IIS log: 07:30:30 127.0.0.1 GET /jakarta/isapi_redirect.dll 500. i dont see any entries in my redirector log though I have increased the log level to info Subsequently the tomcat ISAPI redirector is not forwarding the request to my tomcat worker (I am monitoring for any activity on the port on which tomcat ajp connector is listening). The trouble shooting section in doc says http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html If the number following GET /... is 500, check the following: Make sure the virtual directory created was called jakarta. Make sure that the extension_uri setting is correct. Check the workers.properties file and make sure the port setting for workers used is the same as the port specified in the server.xml for the ajp13 or ajp12 connectors, normally this ports are 8007 for ajp12 and 8009 for ajp13. I check all three and all of them are fine, infact apache works my tomcat ajp connector using the same workers.properties file. Has anybody got this configuration to work? Any pointers to what I should do further will be greatly appreciated. Thanx Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help
Wagoner Ignacio, you guys were indeed right - the extension_uri registry entry had the dll name wrong! It works after I fixed that. Thanx a bunch! Regards Ganesh -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:07 PM To: 'Tomcat Users List' Subject: RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help The default registry entries have a typo. Check the value for: HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi Redirector\1.0\extension_uri The default value is isapi_redirect.dll, but the DLL name is isapi_redirector.dll. Also check the name of your worker.properties file. The documentation uses workers.properties and worker.properties interchangeably. Pick one or the other and make sure everything is configured to use this name. -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:00 PM To: [EMAIL PROTECTED] Subject: IIS and Tomcat: I am stuck with this for last two days : Can somebody help Hi All, I am using win2k professional, IIS 5.0 and Tomcat4.0.3 I want to configure IIS and tomcat. I followed the instructions and setup the ISAPI filer on IIS. I see a green arrow against the ISAPI filter. When I send in a request I see the following entry made in the IIS log: 07:30:30 127.0.0.1 GET /jakarta/isapi_redirect.dll 500. i dont see any entries in my redirector log though I have increased the log level to info Subsequently the tomcat ISAPI redirector is not forwarding the request to my tomcat worker (I am monitoring for any activity on the port on which tomcat ajp connector is listening). The trouble shooting section in doc says http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html If the number following GET /... is 500, check the following: Make sure the virtual directory created was called jakarta. Make sure that the extension_uri setting is correct. Check the workers.properties file and make sure the port setting for workers used is the same as the port specified in the server.xml for the ajp13 or ajp12 connectors, normally this ports are 8007 for ajp12 and 8009 for ajp13. I check all three and all of them are fine, infact apache works my tomcat ajp connector using the same workers.properties file. Has anybody got this configuration to work? Any pointers to what I should do further will be greatly appreciated. Thanx Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and Tomcat
Saludos , Ignacio J. Ortega -Mensaje original- De: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Enviado el: sábado 18 de mayo de 2002 0:49 Para: [EMAIL PROTECTED] Asunto: IIS and Tomcat Hi All, What are the possible ways to configure IIS and Tomcat. Can the two be made to work using a WARP connector? The Only way uis to use Ajp13 and isapi_redirector, no Warp protocol support for now FOr IIS, may be in the future, may be jk2 will get Warp protocol.. but until then.. Thanx Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] msg54129/bin0.bin Description: application/ms-tnef -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: iis 5.0/tomcat 4.0.3 Please Help me!!!
hi jc, did u follow the steps properly as mentioned in http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html! ct. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 April 2002 4:18 PM To: Tomcat Users List Subject: iis 5.0/tomcat 4.0.3 Please Help me!!! Hi, I'm trying to run .jsp with IIS 5.0 and an isapi redirector for tomcat 4.0.3 . Tomcat can run jsp pages correctly, the green arrow of isapi filter is good. When i run a jsp from iis, only the html content was printed in IE ( for example with date.jsp). I've followed howTo, but in my uriworkermap.properties i haven't the line /*.jsp=ajp13. How can i put this? I can't write it because this file is generated when tomcat start. here is a copy of my iis_redirect.log : [Tue Apr 16 08:03:32 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Tue Apr 16 08:03:32 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/ [Tue Apr 16 08:03:32 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 16 08:03:32 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/' [Tue Apr 16 08:03:33 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 16 08:03:33 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of / [Tue Apr 16 08:03:33 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 16 08:03:33 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/' [Tue Apr 16 08:03:33 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 16 08:03:33 2002] [jk_isapi_plugin.c (638)]: HttpFilterProc [/] is not a servlet url [Tue Apr 16 08:03:33 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/] is points to the web-inf directory [Tue Apr 16 08:03:42 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Tue Apr 16 08:03:42 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/date.jsp [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/date.jsp' [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 16 08:03:42 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /date.jsp [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/date.jsp' [Tue Apr 16 08:03:42 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 16 08:03:42 2002] [jk_isapi_plugin.c (638)]: HttpFilterProc [/date.jsp] is not a servlet url [Tue Apr 16 08:03:42 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/date.jsp] is points to the web-inf directory If you have an idea, please answer me, i was trying it for 4 days. Thanks Jc -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: IIS and Tomcat 4.0
I am running basically the same setup and I don't have this problem. It may be a database connection getting stale. Check out the lifetime of an Oracle connection or check the settings on your connection pool r, Hugh - Original Message - From: Tore Skogly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 12, 2002 10:09 AM Subject: IIS and Tomcat 4.0 I have been running Tomcat 4.0 and IIS 5 on a Windows 2000 server with Suns JDK 1.3.1_01 for a while, and I experience quite often that I have to restart the Tomcat service to make my servlets work. The servlets extract data from, and update an Oracle database. Is there a known bug that causes this? After restarting Tomcat it can run for several days before it needs another restart. Today I installed Tomcat 4.0.3 - is there a chance this might solve the problem, or do I need to do something else to make my configuration more stable? (i.e. upgrade to Java 1.4.0?) Regards, Tore Skogly -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: IIS and Tomcat 4.0
- Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 12, 2002 5:40 PM Subject: AW: IIS and Tomcat 4.0 Can you describe the symptoms of 'not working' ? Do you see any error messages ? There is a bunch of possible problem that are resolved by restarting: - There may be deadlocks in your database access code - There may be locks for synchronized - The database connection may be timed out - .. Thanks for your hints on what might be causing the problems. Unfortunately I don't have the error message shown by the servlet, but in the back of my head I felt I had seen reports on problems with JKD 1.3 and IIS. I might be wrong - but I will check out the error message and come back to this forum if more help is needed. Regards, ToreS -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: IIS 5 Tomcat Configuration
did you add the directory to your uriworkermap.properties file? now that the jsp files are in the root directory of your web server (since the root directory is /examples) you'll have to add /*.jsp=ajp13 -- or /*.jsp=default.worker -- to your list of sites to be redirected. -katherine -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Tomcat works fine using port 8080 on localhost. IIS integration works fine. I can use mydomain/examples/, and they all work good. Next I wanted to setup a custom domain under IIS and have that point to the examples area. I setup a new web site, gave it my static ip address, and pointed it to the examples folder in the tomcat area. The problem is that when i go point my browser to http://mycustomdomain/ the pages are only rendering html, any jsp tags do not seem to be being processed by tomcat. Maybe i shouldn't have pointed the new website to the examples area? any suggestions? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: IIS 5 Tomcat Configuration
Which node was the isapi_redirect.dll filter added. If added to just a web site, remove it and add it to the computer node so it applies to all web sites. I assume this will make a difference, though I have not yet actually tried it. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Tomcat works fine using port 8080 on localhost. IIS integration works fine. I can use mydomain/examples/, and they all work good. Next I wanted to setup a custom domain under IIS and have that point to the examples area. I setup a new web site, gave it my static ip address, and pointed it to the examples folder in the tomcat area. The problem is that when i go point my browser to http://mycustomdomain/ the pages are only rendering html, any jsp tags do not seem to be being processed by tomcat. Maybe i shouldn't have pointed the new website to the examples area? any suggestions? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: IIS 5 Tomcat Configuration
I tried Katherine's advice, in another post, and am getting a little further (THANKS!). I'm now seeing a Tomcat 404 error thrown for jakarta/isapi_reirect.dll when asking for any page. Nice to see errors from tomcat, that shows that IIS is giving up the pages. The isapi_redirect filter is on both the default web site, and my customdomain site. I'll try to remove it from my customdomain and see how that helps. Also, The documents mention adding a virtual directory in the default website (pointing to the native folder). I had this on the default website, but moved it to my customdomain. Does this make a difference where this virtual directory should be placed? -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:57 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration Which node was the isapi_redirect.dll filter added. If added to just a web site, remove it and add it to the computer node so it applies to all web sites. I assume this will make a difference, though I have not yet actually tried it. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Tomcat works fine using port 8080 on localhost. IIS integration works fine. I can use mydomain/examples/, and they all work good. Next I wanted to setup a custom domain under IIS and have that point to the examples area. I setup a new web site, gave it my static ip address, and pointed it to the examples folder in the tomcat area. The problem is that when i go point my browser to http://mycustomdomain/ the pages are only rendering html, any jsp tags do not seem to be being processed by tomcat. Maybe i shouldn't have pointed the new website to the examples area? any suggestions? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: IIS 5 Tomcat Configuration
If you see jakarta/isapi_redirect.dll being requested as if it were a page, it means that isapi_redirect.dll is being called recursively. It may only be used as a filter once for it to work correctly. I don't have time to actually test the following right now, but you are welcome to try these. If you want both sites to access the same instance of Tomcat, I believe you can move the filter up one level to the computer node. That way the single isapi_redirect.dll will be used by both sites. If you want to have each access a separate version of Tomcat or use a different configuration, there is a not yet documented feature in the Tomcat 3.3 version of isapi_redirect.dll to allow you to pull this off. When the isapi_redirect.dll is loaded, it will try to determine its full path. It will then try to read a properties file with the same full path but an extension of .properties instead of .dll. If this file exists, it will be used to obtain the settings instead of the registry. Thus, add the filter to the first site in the usual way. Then for the second site, make a copy of the isapi_redirect.dll in the same directory and rename it, for example isapi_redirect2.dll. Create a file named isapi_redirect2.properties in the same directory containing: extension_uri=/jakarta/isapi_redirect2.dll log_file=path to log file log_level=desired level worker_file=path to worker.properties worker_mount_file=path to uriworkermap.properties Add isapi_redirect2.dll to the second site as a filter. You could set up the first isapi_redirect.dll to use a properties file too, if desired. The result of this is that you get two instances of the filter rather than one which calls itself recursively. This is supposed to work. However, I haven't yet actually tried this, which is why it isn't yet documented. Let me know if you try this and you have problems. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:52 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration I tried Katherine's advice, in another post, and am getting a little further (THANKS!). I'm now seeing a Tomcat 404 error thrown for jakarta/isapi_reirect.dll when asking for any page. Nice to see errors from tomcat, that shows that IIS is giving up the pages. The isapi_redirect filter is on both the default web site, and my customdomain site. I'll try to remove it from my customdomain and see how that helps. Also, The documents mention adding a virtual directory in the default website (pointing to the native folder). I had this on the default website, but moved it to my customdomain. Does this make a difference where this virtual directory should be placed? -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:57 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration Which node was the isapi_redirect.dll filter added. If added to just a web site, remove it and add it to the computer node so it applies to all web sites. I assume this will make a difference, though I have not yet actually tried it. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Tomcat works fine using port 8080 on localhost. IIS integration works fine. I can use mydomain/examples/, and they all work good. Next I wanted to setup a custom domain under IIS and have that point to the examples area. I setup a new web site, gave it my static ip address, and pointed it to the examples folder in the tomcat area. The problem is that when i go point my browser to http://mycustomdomain/ the pages are only rendering html, any jsp tags do not seem to be being processed by tomcat. Maybe i shouldn't have pointed the new website to the examples area? any suggestions? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: IIS 5 Tomcat Configuration
I was able to get the site up and running. Here's what I ended up doing: - put virtual directory Jakarta as per the document, but under my customdomain instead of under the default website. - put the isapi_redirect.dll filter on the customdomain. (both these ultimately caused problems with other asp sites on the box when they were on the default web site). - updated the web.xml file to have a reference to / to get the requests. - updated the urlproperties to also have reference to / for the requests. Thanks for all the help! -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 1:47 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration If you see jakarta/isapi_redirect.dll being requested as if it were a page, it means that isapi_redirect.dll is being called recursively. It may only be used as a filter once for it to work correctly. I don't have time to actually test the following right now, but you are welcome to try these. If you want both sites to access the same instance of Tomcat, I believe you can move the filter up one level to the computer node. That way the single isapi_redirect.dll will be used by both sites. If you want to have each access a separate version of Tomcat or use a different configuration, there is a not yet documented feature in the Tomcat 3.3 version of isapi_redirect.dll to allow you to pull this off. When the isapi_redirect.dll is loaded, it will try to determine its full path. It will then try to read a properties file with the same full path but an extension of .properties instead of .dll. If this file exists, it will be used to obtain the settings instead of the registry. Thus, add the filter to the first site in the usual way. Then for the second site, make a copy of the isapi_redirect.dll in the same directory and rename it, for example isapi_redirect2.dll. Create a file named isapi_redirect2.properties in the same directory containing: extension_uri=/jakarta/isapi_redirect2.dll log_file=path to log file log_level=desired level worker_file=path to worker.properties worker_mount_file=path to uriworkermap.properties Add isapi_redirect2.dll to the second site as a filter. You could set up the first isapi_redirect.dll to use a properties file too, if desired. The result of this is that you get two instances of the filter rather than one which calls itself recursively. This is supposed to work. However, I haven't yet actually tried this, which is why it isn't yet documented. Let me know if you try this and you have problems. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:52 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration I tried Katherine's advice, in another post, and am getting a little further (THANKS!). I'm now seeing a Tomcat 404 error thrown for jakarta/isapi_reirect.dll when asking for any page. Nice to see errors from tomcat, that shows that IIS is giving up the pages. The isapi_redirect filter is on both the default web site, and my customdomain site. I'll try to remove it from my customdomain and see how that helps. Also, The documents mention adding a virtual directory in the default website (pointing to the native folder). I had this on the default website, but moved it to my customdomain. Does this make a difference where this virtual directory should be placed? -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:57 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration Which node was the isapi_redirect.dll filter added. If added to just a web site, remove it and add it to the computer node so it applies to all web sites. I assume this will make a difference, though I have not yet actually tried it. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Tomcat works fine using port 8080 on localhost. IIS integration works fine. I can use mydomain/examples/, and they all work good. Next I wanted to setup a custom domain under IIS and have that point to the examples area. I setup a new web site, gave it my static ip address, and pointed it to the examples folder in the tomcat area. The problem is that when i go point my browser to http://mycustomdomain/ the pages are only rendering html, any jsp tags do not seem to be being processed by tomcat. Maybe i shouldn't have pointed the new website to the examples area? any
RE: IIS 5 Tomcat Configuration
It's almost true :) My setup for virtual servers ( not followed th thread completely but may be i can help :) 1) Add the filter *only* to th default configuration.. 2) Add a jakarta virtual dir in every subdomain you want to have tomcat in it.. 3) if you want to to use different log and uw.p files for each siyte you must point th virtual dir to a different phisical dir.. and change the isapi_redirecto.properties file in each dir accordingly.. or 4) you can use a unique uw.p file common to all you virtual servers, ( my actual config but tested in the other way ) 5) if you use a common uw.p file you can fine tune which tomcat context are mount in which virtual server throug the uw.p file..: /www.mysubdomain/mycontext/*=$(my.worker) for mounting a context only in one vs or /mycontext/*=$(my.worker) for mounting a tomcat context in every vs.. i have the tested the 2 different setup wuith success.. but use second , it less verbose to maintain when using a short number of vs.. Saludos , Ignacio J. Ortega -Mensaje original- De: Larry Isaacs [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 5 de diciembre de 2001 19:47 Para: 'Tomcat Users List' Asunto: RE: IIS 5 Tomcat Configuration If you see jakarta/isapi_redirect.dll being requested as if it were a page, it means that isapi_redirect.dll is being called recursively. It may only be used as a filter once for it to work correctly. I don't have time to actually test the following right now, but you are welcome to try these. If you want both sites to access the same instance of Tomcat, I believe you can move the filter up one level to the computer node. That way the single isapi_redirect.dll will be used by both sites. If you want to have each access a separate version of Tomcat or use a different configuration, there is a not yet documented feature in the Tomcat 3.3 version of isapi_redirect.dll to allow you to pull this off. When the isapi_redirect.dll is loaded, it will try to determine its full path. It will then try to read a properties file with the same full path but an extension of .properties instead of .dll. If this file exists, it will be used to obtain the settings instead of the registry. Thus, add the filter to the first site in the usual way. Then for the second site, make a copy of the isapi_redirect.dll in the same directory and rename it, for example isapi_redirect2.dll. Create a file named isapi_redirect2.properties in the same directory containing: extension_uri=/jakarta/isapi_redirect2.dll log_file=path to log file log_level=desired level worker_file=path to worker.properties worker_mount_file=path to uriworkermap.properties Add isapi_redirect2.dll to the second site as a filter. You could set up the first isapi_redirect.dll to use a properties file too, if desired. The result of this is that you get two instances of the filter rather than one which calls itself recursively. This is supposed to work. However, I haven't yet actually tried this, which is why it isn't yet documented. Let me know if you try this and you have problems. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:52 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration I tried Katherine's advice, in another post, and am getting a little further (THANKS!). I'm now seeing a Tomcat 404 error thrown for jakarta/isapi_reirect.dll when asking for any page. Nice to see errors from tomcat, that shows that IIS is giving up the pages. The isapi_redirect filter is on both the default web site, and my customdomain site. I'll try to remove it from my customdomain and see how that helps. Also, The documents mention adding a virtual directory in the default website (pointing to the native folder). I had this on the default website, but moved it to my customdomain. Does this make a difference where this virtual directory should be placed? -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:57 PM To: 'Tomcat Users List' Subject: RE: IIS 5 Tomcat Configuration Which node was the isapi_redirect.dll filter added. If added to just a web site, remove it and add it to the computer node so it applies to all web sites. I assume this will make a difference, though I have not yet actually tried it. Cheers, Larry -Original Message- From: Lybarger, Mark E. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:41 AM To: '[EMAIL PROTECTED]' Subject: IIS 5 Tomcat Configuration I've hit a snag setting up tomcat 4.0.1 and iis 5.0. I followed the directions for Tomcat 3.3 and also used the following guide: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html
RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200
note the line: jk_open_socket, connect() failed errno = 61 it appears that your workers are not configured on the same port in workers.properties and server.xml Charlie -Original Message- From: Vara Prashanth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:16 AM To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200 Hi I am not 100% sure i what I am going to say will be the right approach or notbut here's what happened to me when I was trying to set up tomcat on my machine. The manual for setting up tomcat says that we should make registry entries for the the isapi redirector and the same in Internet service manager console. When I did that I could not invoke the dll(same as you). I was then told by someone that we dont need to have the redirector in the ISAPI filters of the Internet service manager console. So just try and removing this entry and test it out. This is my first posting to someone else's problem...i just hope I was right! All the best Prashanth -Original Message- From: Johan Hellstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200 Dear Sirs, Am trying to configure IIS under Windows 2000 Server to use TomCat 3.2.3 as a servlet engine. Since it doesn't work very well, after reading and following the advice in you your howto file, I would appreciate if you had any input in the matter. Everything is registered properly. The isapi.log file is created, the redictor green up arrow is there and the PWS log file entries show up nicely. Since I get a 200 error in this log file (as can be seen below) I took a second look at the /jakarta virtual directory, which has all proper authorities applied (actually *all* permissions ;-)). Can you see anything weird from the following output? Would be grateful for any input. Regards Johan Hellstrom -- -- From the Tomcat CMD Window: Starting tomcat. Check logs/tomcat.log for error messages 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( ) 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( /test ) 2001-10-03 10:00:48 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-10-03 10:00:48 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 2001-10-03 10:01:09 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null 2001-10-03 10:06:37 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null -- -- From the PWS log: 2001-10-03 08:51:25 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) -- -- From the isapi.log: [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [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 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200
Hi I am not 100% sure i what I am going to say will be the right approach or notbut here's what happened to me when I was trying to set up tomcat on my machine. The manual for setting up tomcat says that we should make registry entries for the the isapi redirector and the same in Internet service manager console. When I did that I could not invoke the dll(same as you). I was then told by someone that we dont need to have the redirector in the ISAPI filters of the Internet service manager console. So just try and removing this entry and test it out. This is my first posting to someone else's problem...i just hope I was right! All the best Prashanth -Original Message- From: Johan Hellstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200 Dear Sirs, Am trying to configure IIS under Windows 2000 Server to use TomCat 3.2.3 as a servlet engine. Since it doesn't work very well, after reading and following the advice in you your howto file, I would appreciate if you had any input in the matter. Everything is registered properly. The isapi.log file is created, the redictor green up arrow is there and the PWS log file entries show up nicely. Since I get a 200 error in this log file (as can be seen below) I took a second look at the /jakarta virtual directory, which has all proper authorities applied (actually *all* permissions ;-)). Can you see anything weird from the following output? Would be grateful for any input. Regards Johan Hellstrom From the Tomcat CMD Window: Starting tomcat. Check logs/tomcat.log for error messages 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( ) 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( /test ) 2001-10-03 10:00:48 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-10-03 10:00:48 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 2001-10-03 10:01:09 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null 2001-10-03 10:06:37 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null From the PWS log: 2001-10-03 08:51:25 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) From the isapi.log: [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [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 [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: IIS - HTTPS - Tomcat
Hello, I'm working with Tomcat and IIS using the redirector ispi_redirect.dll (worker used = ajp12). (Windows 2000 server) It's works very well for the requests in HTTP. Now, I need to securise the site with HTTPS. How can I do ? May I use the ajp13 worker ? In this case, how to declare it in the server.xml ? And what about iis ? Thanks, Delphine
Re: IIS and Tomcat
On Tuesday 24 July 2001 17:21 pm, you wrote: On Tuesday 24 July 2001 17:13 pm, you wrote: Hi all, I don't know why ppl have issues with IIS. I followed the jakarta docs to the ltter and had it working within an hour! Downloaded the 4.0beta6.zip and I'm looking for the docs. Where are they :-) Does this work with IIS4? -- John Baker, BSc CS. Java developer, Linux lover. I don't wanna rock, DJ.
Re: IIS and Tomcat
Hi all, I don't know why ppl have issues with IIS. I followed the jakarta docs to the ltter and had it working within an hour! Adam. John Baker wrote: Hello. Anyone got a handy url of 'how to get tomcat 4 working with IIS'? I actually hate IIS, but I'm being forced to do this. Sob. John Baker
Re: IIS and Tomcat
On Tuesday 24 July 2001 17:13 pm, you wrote: Hi all, I don't know why ppl have issues with IIS. I followed the jakarta docs to the ltter and had it working within an hour! Ahh, I havent downloaded the Win32 version yet. I'm just wondering if there were known issues. And my main issue with IIS is the fact it's totally insecure. And if it isn't IIS, it's IE. If it isn't IE it's Windows. John -- John Baker, BSc CS. Java developer, Linux lover. I don't wanna rock, DJ.
Re: IIS and Tomcat
Windoze = pants IIS = pants Tomcat = amazing 8o) windoze + iis + tomcat = amazing sitting on two pairs of pants...not gonna work really is it 8o) He he. Just use Mandrake - much better Penguins 8o) Adam. John Baker wrote: On Tuesday 24 July 2001 17:13 pm, you wrote: Hi all, I don't know why ppl have issues with IIS. I followed the jakarta docs to the ltter and had it working within an hour! Ahh, I havent downloaded the Win32 version yet. I'm just wondering if there were known issues. And my main issue with IIS is the fact it's totally insecure. And if it isn't IIS, it's IE. If it isn't IE it's Windows. John
Re: IIS and Tomcat
Hi, where in IIS have u installed isapi_filter? I assume that it is in the IIS Management Console right-click on your machine name (not the root web) and select properties.Click the Edit button next to the Master Properties for the WWW Service. Visit http://www.verysimple.com/scripts/support_tc_iis.html for more hint Good Luck Manju From: Ian Dodds [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: IIS and Tomcat Date: Wed, 18 Jul 2001 10:34:58 +0100 Hi, I am trying to use Tomcat 3.2.3 with IIS 5.0 and Windows 2000. I have followed the installation steps, defined in the Tomcat IIS HowTo file and have confirmed that the Filter is installed correctly in IIS. When I try and go to http://localhost/examples/jsp/index.html or http://localhost/examples/jsp/num/numguess.jsp It just doesn't work. If I run in Tomcat standalone mode (using http://localhost:8080) then it works fine. I looked in the IIS log file and the last entry is as follows: 09:27:58 127.0.0.1 GET /jakarta/isapi_redirect.dll+ 404 I have attached the ISAPI log file. I ran it with debug mode in case it is more helpful? I have looked through the Troubleshooting and followed all the instructions in there. Do you have any idea what the problem is? I even went as far as to remove the installation of Tomcat and reinstall it. I would appreciate any pointers. Thanks Ian isapi.log _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: IIS and tomcat
Following up on this question...do you need to add that key for just win98, or should win2k have an entry there too? please post the reply to his question on the list as well. thank you dave On Sat, 21 Jul 2001, Daniel Balaguer Yagan wrote: hi there, I'm troubleshooting the ISAPI redirector. I have followed all the instructions in the Tomcat IIS HowTo document, but I'm still struggling to figure out what's wrong. Just one question: In the following key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Filter DLLs How do I really specify the full path to isapi_redirect.dll ? Is this a string value in the above key? if yes, is it the Default string? Or do I need to create another string (which I don't know what name should I give) and give the value of the full path to the required dll ? a simple reply would do, thanks daniel
RE: IIS and tomcat
Check the CaPiTaLiZaTiOn...The Windows Registry is Very picky... I know... I was where you are now yesterday. -Original Message-From: Daniel Balaguer Yagan [mailto:[EMAIL PROTECTED]]Sent: Friday, July 20, 2001 11:01 AMTo: '[EMAIL PROTECTED]'Subject: IIS and tomcat hi there, I'm troubleshooting the ISAPI redirector. I have followed all the instructions in the Tomcat IIS HowTo document, but I'm still struggling to figure out what's wrong. Just one question: In the following key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Filter DLLs How do I really specify the full path to isapi_redirect.dll ? Is this a string value in the above key? if yes, is it the "Default" string? Or do I need to create another string (which I don't know what name should I give) and give the value of the full path to the required dll ? a simple reply would do, thanks daniel
RE: IIS + SSL + tomcat configuration
Is there anything I need to do with tomcat 3.2 configuration when I turn on SSL in Win2k IIS 5? All of the supposely https://server/... are changed to http://server:443/... https://server/ should be use instead of http://server:443/ Did you install IIS connector and did you try IIS/Tomcat in non-ssl mode to verify if IIS redirector works ? The only thing I did with IIS was to go thru its wizard to configure and use server certificate. This works fine for sample IIS applications, so I know SSL works. I did nothing with tomcat's configuration. The above problem occurs as soon as I started tomcat and ran my previously running application, except changing http to https. Pls help.
RE: IIS + SSL + tomcat configuration
Yes, IIS/Tomcat works well in non-ssl mode. Are there any required tomcat configurations to use SSL with IIS? -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 2:25 AM To: [EMAIL PROTECTED] Subject: RE: IIS + SSL + tomcat configuration Is there anything I need to do with tomcat 3.2 configuration when I turn on SSL in Win2k IIS 5? All of the supposely https://server/... are changed to http://server:443/... https://server/ should be use instead of http://server:443/ Did you install IIS connector and did you try IIS/Tomcat in non-ssl mode to verify if IIS redirector works ? The only thing I did with IIS was to go thru its wizard to configure and use server certificate. This works fine for sample IIS applications, so I know SSL works. I did nothing with tomcat's configuration. The above problem occurs as soon as I started tomcat and ran my previously running application, except changing http to https. Pls help.
RE: IIS and Tomcat 3.3
I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) Does anyone have any suggestion? (The Registry entriesare 100% correct!) I have read the How-To many times trying to figure out where I am wrong. I have looked at the logs for any meaning. As far as I can see the ISAPI redircetor starts and picks up all the uri_worker_maps but then when I try to bwoser a Tomcat page through IIS it gives me a 404 error. Again I have looked at the ISAPI Redirector logs and it seems to pick up that it is a Servlet directory and sends the request to ajp12. But the ajp12 does not find the file. Here is an example for this request: http://localhost/examples/jsp/index.html -Ruairi ISAPI.log for the above request: [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/isapi_redirect.dll [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/isapi_redirect.dll] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2680 [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on [jk_connect.c (140)]: jk_open_socket, return, sd = 2680 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2680 [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark [jk_ajp12_worker.c (477)]: ajpv12_handle_request done [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not Found [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type: text/html [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Type=text/html [jk_ajp12_worker.c (547)]: ajpv12_handle_response, allocating header arrays [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Length: 198 [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=198 [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web Server/3.3 Milestone 4 ( JSP 1.1; Servlet 2.2 ) [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web Server/3.3 Milestone 4 ( JSP 1.1; Servlet 2.2 ) [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read [jk_ajp12_worker.c (509)]: ajpv12_handle_response, headers are done [jk_ajp12_worker.c (568)]: ajpv12_handle_response, starting response [jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response [jk_ajp12_worker.c (579)]: ajpv12_handle_response, reading response body [jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write [jk_ajp12_worker.c (595)]: ajpv12_handle_response, response body is done [jk_ajp12_worker.c (607)]: ajpv12_handle_response done [jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done ___ _ _ ISAPI.log entry at start: [jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open [jk_uri_worker_map.c (211)]:
RE: IIS and Tomcat 3.3
Here is the registry settings for ISAPI rediector from a .reg file: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server\1.3.14] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=C:\\tomcat\\logs\\isapi.log log_level=debug worker_file=C:\\tomcat\\conf\\jk\\workers.properties worker_mount_file=C:\\tomcat\\conf\\jk\\uriworkermap.properties Regards, -Ruairi Ruairi O'Donnell Rutland Systems www.rutlands.com Alcalde Lorenzo 16 2A Tel +34 981 884108 15220 Bertamirans, Ames Fax +34 981 884108 Spain Mobile +44 7801141801 The contents of this message should be read in conjunction with the document found at: http://www.rutlands.com/signature.htm -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 12:47 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat 3.3 I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) Does anyone have any suggestion? (The Registry entriesare 100% correct!) I have read the How-To many times trying to figure out where I am wrong. I have looked at the logs for any meaning. As far as I can see the ISAPI redircetor starts and picks up all the uri_worker_maps but then when I try to bwoser a Tomcat page through IIS it gives me a 404 error. Again I have looked at the ISAPI Redirector logs and it seems to pick up that it is a Servlet directory and sends the request to ajp12. But the ajp12 does not find the file. Here is an example for this request: http://localhost/examples/jsp/index.html -Ruairi ISAPI.log for the above request: [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/isapi_redirect.dll [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/isapi_redirect.dll] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2680 [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on [jk_connect.c (140)]: jk_open_socket, return, sd = 2680 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2680 [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark [jk_ajp12_worker.c (477)]: ajpv12_handle_request done [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not Found [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type: text/html [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Type=text/html [jk_ajp12_worker.c (547)]: ajpv12_handle_response, allocating header arrays [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Length: 198 [jk_ajp12_worker.c (535
Re: IIS and Tomcat 3.3
Hi, Toward the bottom of your isapi.log it says ajp23 did you make a typo when changing between ajp12/ajp13? Adam. On Thursday 12 July 2001 12:50, you wrote: Here is the registry settings for ISAPI rediector from a .reg file: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server\1.3.14] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=C:\\tomcat\\logs\\isapi.log log_level=debug worker_file=C:\\tomcat\\conf\\jk\\workers.properties worker_mount_file=C:\\tomcat\\conf\\jk\\uriworkermap.properties Regards, -Ruairi Ruairi O'Donnell Rutland Systems www.rutlands.com Alcalde Lorenzo 16 2A Tel +34 981 884108 15220 Bertamirans, Ames Fax +34 981 884108 Spain Mobile +44 7801141801 The contents of this message should be read in conjunction with the document found at: http://www.rutlands.com/signature.htm -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 12:47 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat 3.3 I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) Does anyone have any suggestion? (The Registry entriesare 100% correct!) I have read the How-To many times trying to figure out where I am wrong. I have looked at the logs for any meaning. As far as I can see the ISAPI redircetor starts and picks up all the uri_worker_maps but then when I try to bwoser a Tomcat page through IIS it gives me a 404 error. Again I have looked at the ISAPI Redirector logs and it seems to pick up that it is a Servlet directory and sends the request to ajp12. But the ajp12 does not find the file. Here is an example for this request: http://localhost/examples/jsp/index.html -Ruairi ISAPI.log for the above request: [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/isapi_redirect.dll [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/isapi_redirect.dll] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2680 [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on [jk_connect.c (140)]: jk_open_socket, return, sd = 2680 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2680 [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark [jk_ajp12_worker.c (477)]: ajpv12_handle_request done [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not Found [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content
RE: IIS and Tomcat
Hi Where is the redirector - I think there is am ISAPI filters tab on the proeprties for the jakarta virtual directory but you need to use the one on the properties off the Internet Information Services branch of IIS (I think). Anyway, when I had the redirector on the former it didn'twork, on the latter it did. That was the mistake I made. Also I had to reboot the machine to get it enabled. Restarting Tomcat and IIS wouldn't enable it. Chris -Original Message- From: Winer, Matthew [mailto:[EMAIL PROTECTED]] Sent: 07 June 2001 20:01 To: '[EMAIL PROTECTED]' Subject: IIS and Tomcat I am trying to get Tomcat 3.2.2 and IIS in Win2000 to work. I have gone through the registry and made sure everything is correct. I installed JDK 1.3.1. But I am still not getting a green arrow in IIS for the redirector. If anybody could give me a hand it would be appreciated. Thank you for your help -Matt Winer
RE: IIS and Tomcat
Hi, If you want to stop tomcat acting as a standalone web server just delete these lines in server.xml: !-- Normal HTTP -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8080/ /Connector This works for 3.2.1 and 3.2.2 . Don't know about other versions though. hope this helps, Kenneth Westelinck From: Chris Faulkner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat Date: Tue, 5 Jun 2001 07:13:03 +0100 Hi Thanks, this pretty much confirms what I thought. The crucial question, though, is whether I can have Tomcat functioning in harness with IIS to serve my servlets but not have it operation as a web server. When its running in support of IIS, I also have the Tomcat web server running on port 8080. Maybe I've overdone my install ! The other bit I'm stuck on is how to install a jar and access the classes in it. Thanks very much Chris -Original Message- From: Todd Sussman [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 07:36 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat The messages show you are running IIS as the webserver and it is redirecting the servlets to tomcat. When you shutdown tomcat, IIS can no longer redirect the servlets to tomcat and therefor you get an error. I have never set Tomcat as a stand alone server, but it can be done. Todd -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 12:50 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat Hi I am just trying to get my servlets tested on IIS (windows 2000) and Tomcat. I have done all the set-up steps, the isapi_redirect stuff seems to be functioning. I have IIS on W2K with Tomcat 3.2.2 and JDK 1.3.0_02. IIS is on the usual port 80. If I start up tomcat run, tomcat starts and initialises everything (IIS is also running at this time) http://localhost:8080/examples/servlet/SnoopServlet I can see that its coming from Tomcat. If I hit http://localhost/examples/servlet/SnoopServlet This also works and it tells me that the port is 80 and the server is Tomcat. However, I know that the port 80 is being served by IIS and I can see the request in the IIS logs, being redirected to /jakarta/isapi_redirect.dll. Why is it telling me that the web server is Tomcat ? So it all looks good, except that if I do a tomcat stop, then the servlet requests to IIS start to fail. Is this expected ? If so, can I run tomcat without opening up that 8080 port ? Maybe I'm a bit confused but I'd like to have tomcat managing my servlets without essentially having a second web server running. Secondly, how do I get a jar loaded and get access to the classes within that jar ? Where do I put it and how can classes in it be aliased ? Thirdly, and probably related, how can I use the servlet tag in my .shtml web pages. I was using Apache JSSI previously. Thanks very much Chris Faulkner _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: IIS and Tomcat
Thank you very much for that information. This is just what I needed to know to fix one of the last problems I was having. I have Tomcat installed on a development box that has several Web servers running on it, one on port 8080 of the default IP. The Tomcat server would crash every time I tried to start it when this server was running, by commenting out those lines from the server.xml file, the two now live in harmony. Aaron [EMAIL PROTECTED] 06/06/01 01:27AM Hi, If you want to stop tomcat acting as a standalone web server just delete these lines in server.xml: !-- Normal HTTP -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8080/ /Connector This works for 3.2.1 and 3.2.2 . Don't know about other versions though. hope this helps, Kenneth Westelinck From: Chris Faulkner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat Date: Tue, 5 Jun 2001 07:13:03 +0100 Hi Thanks, this pretty much confirms what I thought. The crucial question, though, is whether I can have Tomcat functioning in harness with IIS to serve my servlets but not have it operation as a web server. When its running in support of IIS, I also have the Tomcat web server running on port 8080. Maybe I've overdone my install ! The other bit I'm stuck on is how to install a jar and access the classes in it. Thanks very much Chris -Original Message- From: Todd Sussman [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 07:36 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat The messages show you are running IIS as the webserver and it is redirecting the servlets to tomcat. When you shutdown tomcat, IIS can no longer redirect the servlets to tomcat and therefor you get an error. I have never set Tomcat as a stand alone server, but it can be done. Todd -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 12:50 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat Hi I am just trying to get my servlets tested on IIS (windows 2000) and Tomcat. I have done all the set-up steps, the isapi_redirect stuff seems to be functioning. I have IIS on W2K with Tomcat 3.2.2 and JDK 1.3.0_02. IIS is on the usual port 80. If I start up tomcat run, tomcat starts and initialises everything (IIS is also running at this time) http://localhost:8080/examples/servlet/SnoopServlet I can see that its coming from Tomcat. If I hit http://localhost/examples/servlet/SnoopServlet This also works and it tells me that the port is 80 and the server is Tomcat. However, I know that the port 80 is being served by IIS and I can see the request in the IIS logs, being redirected to /jakarta/isapi_redirect.dll. Why is it telling me that the web server is Tomcat ? So it all looks good, except that if I do a tomcat stop, then the servlet requests to IIS start to fail. Is this expected ? If so, can I run tomcat without opening up that 8080 port ? Maybe I'm a bit confused but I'd like to have tomcat managing my servlets without essentially having a second web server running. Secondly, how do I get a jar loaded and get access to the classes within that jar ? Where do I put it and how can classes in it be aliased ? Thirdly, and probably related, how can I use the servlet tag in my .shtml web pages. I was using Apache JSSI previously. Thanks very much Chris Faulkner _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
RE: IIS and Tomcat
The messages show you are running IIS as the webserver and it is redirecting the servlets to tomcat. When you shutdown tomcat, IIS can no longer redirect the servlets to tomcat and therefor you get an error. I have never set Tomcat as a stand alone server, but it can be done. Todd -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 12:50 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat Hi I am just trying to get my servlets tested on IIS (windows 2000) and Tomcat. I have done all the set-up steps, the isapi_redirect stuff seems to be functioning. I have IIS on W2K with Tomcat 3.2.2 and JDK 1.3.0_02. IIS is on the usual port 80. If I start up tomcat run, tomcat starts and initialises everything (IIS is also running at this time) http://localhost:8080/examples/servlet/SnoopServlet I can see that its coming from Tomcat. If I hit http://localhost/examples/servlet/SnoopServlet This also works and it tells me that the port is 80 and the server is Tomcat. However, I know that the port 80 is being served by IIS and I can see the request in the IIS logs, being redirected to /jakarta/isapi_redirect.dll. Why is it telling me that the web server is Tomcat ? So it all looks good, except that if I do a tomcat stop, then the servlet requests to IIS start to fail. Is this expected ? If so, can I run tomcat without opening up that 8080 port ? Maybe I'm a bit confused but I'd like to have tomcat managing my servlets without essentially having a second web server running. Secondly, how do I get a jar loaded and get access to the classes within that jar ? Where do I put it and how can classes in it be aliased ? Thirdly, and probably related, how can I use the servlet tag in my .shtml web pages. I was using Apache JSSI previously. Thanks very much Chris Faulkner
RE: IIS and Tomcat
Hi Thanks, this pretty much confirms what I thought. The crucial question, though, is whether I can have Tomcat functioning in harness with IIS to serve my servlets but not have it operation as a web server. When its running in support of IIS, I also have the Tomcat web server running on port 8080. Maybe I've overdone my install ! The other bit I'm stuck on is how to install a jar and access the classes in it. Thanks very much Chris -Original Message- From: Todd Sussman [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 07:36 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat The messages show you are running IIS as the webserver and it is redirecting the servlets to tomcat. When you shutdown tomcat, IIS can no longer redirect the servlets to tomcat and therefor you get an error. I have never set Tomcat as a stand alone server, but it can be done. Todd -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 12:50 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat Hi I am just trying to get my servlets tested on IIS (windows 2000) and Tomcat. I have done all the set-up steps, the isapi_redirect stuff seems to be functioning. I have IIS on W2K with Tomcat 3.2.2 and JDK 1.3.0_02. IIS is on the usual port 80. If I start up tomcat run, tomcat starts and initialises everything (IIS is also running at this time) http://localhost:8080/examples/servlet/SnoopServlet I can see that its coming from Tomcat. If I hit http://localhost/examples/servlet/SnoopServlet This also works and it tells me that the port is 80 and the server is Tomcat. However, I know that the port 80 is being served by IIS and I can see the request in the IIS logs, being redirected to /jakarta/isapi_redirect.dll. Why is it telling me that the web server is Tomcat ? So it all looks good, except that if I do a tomcat stop, then the servlet requests to IIS start to fail. Is this expected ? If so, can I run tomcat without opening up that 8080 port ? Maybe I'm a bit confused but I'd like to have tomcat managing my servlets without essentially having a second web server running. Secondly, how do I get a jar loaded and get access to the classes within that jar ? Where do I put it and how can classes in it be aliased ? Thirdly, and probably related, how can I use the servlet tag in my .shtml web pages. I was using Apache JSSI previously. Thanks very much Chris Faulkner
RE: IIS with Tomcat 3.2.1 on Windows 2000
You didn't mention that you'd defined the virtual directory /jakarta to IIS. Did you do that? -Original Message- From: LUN [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 27, 2001 4:07 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: IIS with Tomcat 3.2.1 on Windows 2000 Hi, I have checked the setting many times, My app is based on C:\tomcat\bin\. I have try both \ and \\, but no luck for this. the filter still cannot get work. Do you have any hints Thanks On Sat, 26 May 2001, Will Thien wrote: Check for Typo's in registry. Also check check your virtual directory spelling. Restart all IIS services after changing registry. Below is a layout of what I used with tomcat being in H:\apps. You do not include the // only a /. Will Thien [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=H:\\apps\\tomcat\\logs\\iis_redirect.log log_level=debug worker_file=H:\\apps\\tomcat\\conf\\workers.properties worker_mount_file=H:\\apps\\tomcat\\conf\\uriworkermap.properties -Original Message- From: LUN [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 26, 2001 12:25 PM To: tomcat-user Subject: IIS with Tomcat 3.2.1 on Windows 2000 Hi all, I have installed IIS with Tomcat 3.2.1 on Windows 2000 Server English. but I found that the filter cannot show the green up arrow. I have checked the setting and restart the server many times. Since I have do that succssfully with the same OS. Anyone have recommendation Thanks in Advanced
RE: IIS with Tomcat 3.2.1 on Windows 2000
Hi, I have checked the setting many times, My app is based on C:\tomcat\bin\. I have try both \ and \\, but no luck for this. the filter still cannot get work. Do you have any hints Thanks On Sat, 26 May 2001, Will Thien wrote: Check for Typo's in registry. Also check check your virtual directory spelling. Restart all IIS services after changing registry. Below is a layout of what I used with tomcat being in H:\apps. You do not include the // only a /. Will Thien [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=H:\\apps\\tomcat\\logs\\iis_redirect.log log_level=debug worker_file=H:\\apps\\tomcat\\conf\\workers.properties worker_mount_file=H:\\apps\\tomcat\\conf\\uriworkermap.properties -Original Message- From: LUN [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 26, 2001 12:25 PM To: tomcat-user Subject: IIS with Tomcat 3.2.1 on Windows 2000 Hi all, I have installed IIS with Tomcat 3.2.1 on Windows 2000 Server English. but I found that the filter cannot show the green up arrow. I have checked the setting and restart the server many times. Since I have do that succssfully with the same OS. Anyone have recommendation Thanks in Advanced
RE: IIS with Tomcat 3.2.1 on Windows 2000
Check for Typo's in registry. Also check check your virtual directory spelling. Restart all IIS services after changing registry. Below is a layout of what I used with tomcat being in H:\apps. You do not include the // only a /. Will Thien [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=H:\\apps\\tomcat\\logs\\iis_redirect.log log_level=debug worker_file=H:\\apps\\tomcat\\conf\\workers.properties worker_mount_file=H:\\apps\\tomcat\\conf\\uriworkermap.properties -Original Message- From: LUN [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 26, 2001 12:25 PM To: tomcat-user Subject: IIS with Tomcat 3.2.1 on Windows 2000 Hi all, I have installed IIS with Tomcat 3.2.1 on Windows 2000 Server English. but I found that the filter cannot show the green up arrow. I have checked the setting and restart the server many times. Since I have do that succssfully with the same OS. Anyone have recommendation Thanks in Advanced
RE: IIS+Coldfusion+Tomcat?
In short, not very easily. In JSPs the includes must be other valid JSPs. What you could do is to write a JSP include that makes a request back to the web server (using some of the java.net classes) for the appropriate file, passing the correct variables. Your included file would then print out the results that it received. Its not very clean or easy to do, but I believe that its the only way that you can get this to work. Randy -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 12:07 PM To: TomCat Subject: IIS+Coldfusion+Tomcat? Has anyone used these in conjunction? We want to add JSP/Servlet capability to Coldfusion, and don't want to necessarily use JRun. I have a .jsp file I'd like to include ColdFusion headers and footers, and have them work. Right now, the server is configured as follows: IIS redirects requests to ColdFusion to handle ColdFusion's proprietary tags, and redirects requests to .jsp files to Tomcat. If I include the headers and footers I mentioned above in this .jsp file, it does not work - as can be expected. Is there a way to have this work? Thanks in advance, Sean
RE: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000)
Hello again. Forgot to mention that I get the dreaded error 404 - has anyone esle had this problem , how was it solved ? Many thanks Hamant -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Friday, 11 May 2001 11:32 To: '[EMAIL PROTECTED]' Subject: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000) Hello all Can anyone please help ? I seem to be going backwards on all this. I did have the examples working before but something has gone wrong. I have been through the how to document (troubleshooting sections etc) but no luck. I have not amended the uriworkermap.properties file. Has anybody had any luck getting it to work on Windows 2000 ? Any pointers, things to watch out for or tips ? Can somebody please help !!! Many thanks Hamant
Re: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000)
TC3.2.1 has worked successfully, in Win2K IIS5. try my post date 9/5/01 hope ot helps sachin - Original Message - From: test test [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 7:02 AM Subject: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000) Hello all Can anyone please help ? I seem to be going backwards on all this. I did have the examples working before but something has gone wrong. I have been through the how to document (troubleshooting sections etc) but no luck. I have not amended the uriworkermap.properties file. Has anybody had any luck getting it to work on Windows 2000 ? Any pointers, things to watch out for or tips ? Can somebody please help !!! Many thanks Hamant
RE: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000)
Did you use the zips or the dll's. The zips have a different build date than the dlls -Original Message- From: Sachin Phatak [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 10:02 PM To: tomcat-user Subject: Re: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000) TC3.2.1 has worked successfully, in Win2K IIS5. try my post date 9/5/01 hope ot helps sachin - Original Message - From: test test [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 7:02 AM Subject: IIS 5.0 TOMCAT ISAPI REDIRECTOR (Win 2000) Hello all Can anyone please help ? I seem to be going backwards on all this. I did have the examples working before but something has gone wrong. I have been through the how to document (troubleshooting sections etc) but no luck. I have not amended the uriworkermap.properties file. Has anybody had any luck getting it to work on Windows 2000 ? Any pointers, things to watch out for or tips ? Can somebody please help !!! Many thanks Hamant
RE: IIS and Tomcat
Hi Noel, I tried http://localhost:8080 and http://myserverIP:8080 Harry -Original Message- From: Noel E. Lecaros [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 12:07 AM To: [EMAIL PROTECTED] Subject: Re: IIS and Tomcat Hi, Harry Exactly what did you type to access the page? Regards, Noel Lecaros RMC - Harry Duong wrote: I'm installing tomcat and jdk1.3 onto an NT 4.0 web development server. It seems that I'm getting error when trying to load up tomcat default index.jsp page: The protocol specified in this address is not valid. Make sure the address is valid and try again. I've successfully install tomcat on windows2K professional. Is there additional configurations to get tomcat to work in an IIS environment on an NT server? Any help is very much appreciated! Harry
RE: IIS and Tomcat
Hello Sujith, Thanks for the lead. I think I have scan over the documentation as you described. Is it necessary to make tomcat to work with IIS? can I just run my jsp apps from http://myserverIP:8080/WebApps/myApp and everything else from http://myserverIP/myHTML ? Harry -Original Message- From: Sujith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 1:15 AM To: [EMAIL PROTECTED] Subject: Re: IIS and Tomcat Harry, To run Tomcat with IIS server you have to modify registry as explained in Tomcat - IIS How to. Create a new virtual directory in IIS, right click Default website tab, from properties select ISAPI filters add isapi_redirect.dll located in the bin directory, restart IIS, Add necessory installation paths in the wrapper.properties file .. thats all. Wish this will help bye - Original Message - From: RMC - Harry Duong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 9:00 AM Subject: IIS and Tomcat I'm installing tomcat and jdk1.3 onto an NT 4.0 web development server. It seems that I'm getting error when trying to load up tomcat default index.jsp page: The protocol specified in this address is not valid. Make sure the address is valid and try again. I've successfully install tomcat on windows2K professional. Is there additional configurations to get tomcat to work in an IIS environment on an NT server? Any help is very much appreciated! Harry
Re: IIS and Tomcat
Hi, Harry Have you tried excluding the port number? You do have both IIS and Tomcat running, don't you? Regards, Noel Lecaros RMC - Harry Duong wrote: Hi Noel, I tried http://localhost:8080 and http://myserverIP:8080 Harry -Original Message- From: Noel E. Lecaros [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 12:07 AM To: [EMAIL PROTECTED] Subject: Re: IIS and Tomcat Hi, Harry Exactly what did you type to access the page? Regards, Noel Lecaros RMC - Harry Duong wrote: I'm installing tomcat and jdk1.3 onto an NT 4.0 web development server. It seems that I'm getting error when trying to load up tomcat default index.jsp page: The protocol specified in this address is not valid. Make sure the address is valid and try again. I've successfully install tomcat on windows2K professional. Is there additional configurations to get tomcat to work in an IIS environment on an NT server? Any help is very much appreciated! Harry
Re: IIS and Tomcat
Hi, Harry Exactly what did you type to access the page? Regards, Noel Lecaros RMC - Harry Duong wrote: I'm installing tomcat and jdk1.3 onto an NT 4.0 web development server. It seems that I'm getting error when trying to load up tomcat default index.jsp page: The protocol specified in this address is not valid. Make sure the address is valid and try again. I've successfully install tomcat on windows2K professional. Is there additional configurations to get tomcat to work in an IIS environment on an NT server? Any help is very much appreciated! Harry
Re: IIS and Tomcat
Harry, To run Tomcat with IIS server you have to modify registry as explained in Tomcat - IIS How to. Create a new virtual directory in IIS, right click Default website tab, from properties select ISAPI filters add isapi_redirect.dll located in the bin directory, restart IIS, Add necessory installation paths in the wrapper.properties file .. thats all. Wish this will help bye - Original Message - From: RMC - Harry Duong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 9:00 AM Subject: IIS and Tomcat I'm installing tomcat and jdk1.3 onto an NT 4.0 web development server. It seems that I'm getting error when trying to load up tomcat default index.jsp page: The protocol specified in this address is not valid. Make sure the address is valid and try again. I've successfully install tomcat on windows2K professional. Is there additional configurations to get tomcat to work in an IIS environment on an NT server? Any help is very much appreciated! Harry
RE: IIS and Tomcat Trouble!
OKAY I got it to work.. I added the c:\jdk1.3\bin to my classpath and the arrow went green... HOW DID I COME TO THIS: http://www.jguru.com/jguru/faq/view.jsp?EID=275211 JGURU HELPED ME Christopher Cowan SalesRepCentral.com Phone: 480.444.2016 Fax: 480.922.8477 -Original Message- From: Christopher J Cowan [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 1:11 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat Trouble! I'm trying to install the ISAPI Redirect DLL so it will work with IIS and Tomcat but I seem to be getting nowhere. I've followed the instructions to the T. My system consists of : Window NT 4.0 with SP6 IIS 4.0 Option Pack 4.0 MMC 1.2 Tomcat 3.2.1 Java 2 - JDK1.3 JK_NT_SERVICE I got Tomcat running as a stand-alone. It's serving JSP and Servlets. I also have TOMCAT running as a service. But I can't get the ISAPI filter to even load with the green arrow. I've run through the worker.properties files and the uriworkermap.properties files until my eyes started to bleed. I even configured Tomcat exactly the way the instructions suggests TOMCAT_HOME = c:\Jakarta-tomcat\. I followed the troubleshooting at the end of the install document. And I used the auto REGEDIT file. BUT STILL I GET THE RED ARROW...I'm totally open for suggestions... Christopher Cowan SalesRepCentral.com Phone: 480.444.2016 Fax: 480.922.8477 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: IIS and Tomcat integration on Windows 2000?
Title: RE: IIS and Tomcat integration on Windows 2000? I have successfully installed Tomcat on W2k. Here are the steps that I followed. These are based on the IIS HowTo doc. Running Tomcat on Windows 2000 Server Document Conventions and Assumptions %TOMCAT_HOME% is the root directory of Tomcat. Your Tomcat installation should have the following subdirectories: %TOMCAT_HOME%\conf - Where you can place various configuration files %TOMCAT_HOME%\webapps - Containing example applications %TOMCAT_HOME%\bin - Where you place web server plugins In all the examples in this document %TOMCAT_HOME% will be D:\app\tomcat. %JAVA_HOME% is the directory where JDK1.3 has been installed. For all examples that require a path I will be using D:\app\java\j2sdk_1.3 A worker is defined to be a tomcat process that accepts work from the IIS server. Installation Tomcat Downloads Tomcat 3.2.1 for win32 Tomcat 3.2.1 Servlet API isapi_redirect.dll nsapi_redirect.dll ApacheModuleJServ.dll jk_nt_service.exe jni_connect.dll Installation steps Install Tomcat Install optional files Modify environment variables Modify Tomcat configuration files Modify registry Create a virtual directory Install Tomcat 3.2.1 Download Tomcat 3.2.1 for win32 Unzip jakarta-tomcat-3.2.1.zip Move the directories and files into %TOMCAT_HOME% Install optional files Move isapi_redirect.dll to %TOMCAT_HOME%\lib Move ApacheModuleJServ.dll to %TOMCAT_HOME%\lib Move jni_connect.dll to %TOMCAT_HOME%\lib Move nsapi_redirect.dll to %TOMCAT_HOME%\lib Move jk_nt_service.exe to %TOMCAT_HOME%\bin Modify environment variables Goto your desktop Right click on My Computer Click Properties Click on the Advanced tab Click the Environment Variables button Click the New button in the System Variables group to create a new system wide environment variable Create the following variables name = JAVA_HOME value = D:\app\java\j2sdk_1.3 name = TOMCAT_HOME value = D:\app\tomcat Modify Tomcat configuration files Modify the following files as indicated %TOMCAT_HOME%\conf\jni_workers.properties Replace all instances of c:\jdk1.2.2 with the value of JAVA_HOME Replace all instances of c:\jakarta_tomcat with the value of TOMCAT_HOME %TOMCAT_HOME%\conf\jni_server.xml Replace all instances of c:\jdk1.2.2 with the value of JAVA_HOME Replace all instances of c:\jakarta_tomcat with the value of TOMCAT_HOME %TOMCAT_HOME%\conf\wrapper.properties wrapper.tomcat_home = the value of TOMCAT_HOME wrapper.tomcat_home = the value of JAVA_HOME %TOMCAT_HOME%\conf\obj.conf Replace all instances of c:/jakarta-tomcat/bin/win32/i386 with D:/app/tomcat/lib Replace all instances of c:/jakarta-tomcat with D:/app/tomcat Replace all instances of d:/web-servers/ent3.6/ with d:/inetpub/wwwroot/ %TOMCAT_HOME%\tomcat.properties security.selfservlet=false Modify registry In the registry, create a new registry key named HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0 Add a string value with the name extension_uri and a value of /jakarta/isapi_redirect.dll Add a string value with the name log_file and a value pointing to where you want your log file to be (for example d:\\app\\tomcat\\logs\\isapi.log). Add a string value with the name log_level and a value for your log level (can be debug, info, error or emerg). Add a string value with the name worker_file and a value which is the full path to your workers.properties file (for example D:\\app\\tomcat\\conf\\workers.properties) Add a string value with the name worker_mount_file and a value which is the full path to your uriworkermap.properties file (for example D:\\app\\tomcat\\conf\\uriworkermap.properties) Create a virtual directory Open the Internet Services Manger [Start | Programs | Administrative Tools | Internet Services Manager] Right click on the Default Web Site node Select New from the popup menu Select Virtual Directory from the apos;Newapos; popup menu Click the Next button Enter jakarta for the value of alias Click Next Enter the full path of the location where the isapi_redirect.dll file is located. For example: D:\app\tomcat\lib\isapi_redirect.dll Click Next Check Read, Run scripts (such as ASP), Execute (such as ISAPI or CGI) Uncheck Write and Browse Click Next Click Finish Right click on the jakarta virtual directory Select Properties from the popup menu Click the Directory Security tab Check Anonymous access Uncheck Basic Authentication (password is sent in clear text) Uncheck Integrated Windows Authentication Click the Edit button in the Anonymous access group Click Browse Select the TOMCAT account Click Ok Change the username from MACHINE\TOMCAT to TOMCAT Check Allow IIS to control password Click Ok Click on the HTTP Headers tab Check Enable Content Expiration Select the Expire Immediately option Click Ok Right click on the Default Web Site Select Properties from the popup menu Click on the ISPAI
RE: IIS and Tomcat integration on Windows 2000?
I have installed it without any problems. I followed the IIS HowTo (available from the WebCVS) and didn't encounter any problems. (The docs say IIS 4/WinNT, but they work just fine with IIS 5/Win2000 and Win2000SP1) Randy -Original Message- From: Mike McFadden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 12:27 PM To: [EMAIL PROTECTED] Subject: IIS and Tomcat integration on Windows 2000? Has anyone tried to integrate IIS and Tomcat on the Win 2000 platform. I am using Tomcat 3.2.1. If so, what versions did you use and were there any unexpected challenges? Thanks, = Mike McFadden [EMAIL PROTECTED] __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: IIS and Tomcat
Have you given /jakarta execute (including scripting) permissions ?? -- Vctor A. Rodrguez ( http://www.bit-man.com.ar http://www.bit-man.com.ar/ ) Telefnica de Argentina - http://www.Telefonica.com.ar http://www.telefonica.com.ar/ Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680 -Mensaje original- De: Lori Edelen [mailto:[EMAIL PROTECTED]] Enviado el: Tuesday, February 27, 2001 10:23 Para: [EMAIL PROTECTED] Asunto: IIS and Tomcat I am having a lot of problems getting this working! I am getting this error in the log file: #Software: Microsoft Internet Information Server 4.0 #Version: 1.0 #Date: 2001-02-27 13:20:25 #Fields: time c-ip cs-method cs-uri-stem sc-status 13:20:25 127.0.0.1 GET /jakarta/isapi_redirect.dll 401 Any advice? Lori Edelen Web Application Developer Lattestone.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: IIS and Tomcat
yep, and every time I try localhost/examples it stops the ftp, smtp, and www services. Lori Edelen Web Application Developer Lattestone.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: IIS 5, Tomcat 3.2 and port problem...
Isn't there some constraint about NT not letting you start services on ports 1024 unless you are an administrator? I know UNIX says you have to be root; I've an idea that NT has a similar security measure. Chris - Original Message - From: "Andreas Holmer" [EMAIL PROTECTED] To: "tomcat-User" [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 3:40 PM Subject: IIS 5, Tomcat 3.2 and port problem... Hi! I have a little problem with Tomcat and IIS 5. Every time I try to access servlets from another machine, I get an error message telling me 'Access denied'. If I try to connect to Tomcat via Port 8080 (like in server.xml configured) it works. I already had the port commented out, but then I could not connect at all. Is there a possibility to configure IIS in a way which enables servlet execution directly via some URI? I already have altered uriworkermap.properties to handle this URI, but nothing happens. Or better: I get the message that I am not allowed to. Looks like this: ip:8080/pm works ip/pm does not, but should Any suggestions? I know this has been asked quite often, but none of the answers up to now did solve my problem... Or at least I didn't get the point ;) Thanks Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: IIS 5, Tomcat 3.2 and port problem...
My machine is a Win2000 Server, and I am admin... I already set up another Win2000 Server but there I tried with Allaire's JRun. Works fine, but I need something less expensive :) Any other ideas? - Original Message - From: "Chris Haynes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 5:16 PM Subject: Re: IIS 5, Tomcat 3.2 and port problem... Isn't there some constraint about NT not letting you start services on ports 1024 unless you are an administrator? I know UNIX says you have to be root; I've an idea that NT has a similar security measure. Chris - Original Message - From: "Andreas Holmer" [EMAIL PROTECTED] To: "tomcat-User" [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 3:40 PM Subject: IIS 5, Tomcat 3.2 and port problem... Hi! I have a little problem with Tomcat and IIS 5. Every time I try to access servlets from another machine, I get an error message telling me 'Access denied'. If I try to connect to Tomcat via Port 8080 (like in server.xml configured) it works. I already had the port commented out, but then I could not connect at all. Is there a possibility to configure IIS in a way which enables servlet execution directly via some URI? I already have altered uriworkermap.properties to handle this URI, but nothing happens. Or better: I get the message that I am not allowed to. Looks like this: ip:8080/pm works ip/pm does not, but should Any suggestions? I know this has been asked quite often, but none of the answers up to now did solve my problem... Or at least I didn't get the point ;) Thanks Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: IIS and Tomcat (3.2.1)
That depends, did you tell IIS to redirect to Tomcat for /*.jsp? (Chcek the uriworkermap.properties file for your settings, read through the isapi.log file to find out what is currently happening) Randy -Original Message- From: Tin Ngoc Doan [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: IIS and Tomcat (3.2.1) I installed Tomcat and everything seems to work great. Then I installed IIS Isapi, all examples seem to run great. But I went ahead to create my own TEST.JSP under .\webapps\ROOT\ I can load it by http://localhost:8080/test.jsp but http://localhost/test.jsp does not work. Doesn't IIS suppose to route all JSP to Tomcat? (i tried using machine name as well). Any suggestion? Thanks, Tin Doan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: IIS 5.0+Tomcat
200 is the success status code. What problem are you having? Have you checked the tocat logs? Randy -Original Message- From: Omar Diego Vera Ustariz [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 10:11 AM To: [EMAIL PROTECTED] Subject: IIS 5.0+Tomcat Hello to everybody. I am configuring Tomcat with IIS 5.0 under Windows 2000 Professional and It doesn't work , the last line in my IIS log file is: 14:35:36 127.0.0.1 GET /jakarta/isapi_redirect.dll 200 I checked if the "jakarta" virtual directory has the execution right, I hope you can help me with this problem. Kind Regards. Omar Vera. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]