RE : Tomcat behind IIS
In fact, what I really want is to prevent any other IIS or Apache to connect to my 8009 connector port, for my IIS machine is used for authentication. I don't want that someone can bypass this. I tried to use a Request Filter valve by adding this in my server.xml : Valve className=org.apache.catalina.valves.RemoteAddrValve allow=ip_address_of_my_iis_server/ But it doesn't work. Even if my clients don't connect directly to my Tomcat server (only my IIS server does, and i can verify this by using the netstat command), they are blocked by this valve. It seems that my IIS tells Tomcat that its IP adress is my client's one. Maybe that's why my clients IP addresses are logged in Tomcat when this valve is disabled. So now this valve is not enabled anymore, and if someone installs a web connector pointing to my Tomcat server, it will have access to my webapps... Any help will be appreciated. Fred -Message d'origine- De : SANTOS, DANIEL (SBCSI) [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mars 2005 18:22 À : Tomcat Users List Cc : MAES NICOLAS Objet : RE: Tomcat behind IIS sure, just go into your server.xml and remove the web connector Connector port=8080 / I'm using the minimal server.xml (slightly modified) so there may be more parameters in yours. This element is contained with in the Service tag which is in the Server tag. Daniel -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 10:58 AM To: tomcat-user@jakarta.apache.org Cc: MAES NICOLAS Subject: Tomcat behind IIS Hi all, I installed a tomcat 5.0 behind an IIS server. Everything works fine with the connector. Now, I would like that Tomcat only accepts connections from this IIS server and not from others computers (still accessible from http://myhost:8080/myApplication http://myhost:8080/myApplication ). Is there a simple way to do this in server.xml (or other tomcat config files) or do I have to install a firewall ? Thanks in advance. Fred. Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : Tomcat behind IIS
Why not try blocking traffic at the router level? Your network router should allow you to configure which machine can connect to your tomcat. - Jim -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 5:36 PM To: SANTOS, DANIEL (SBCSI); Tomcat Users List Cc: MAES NICOLAS Subject: RE : Tomcat behind IIS In fact, what I really want is to prevent any other IIS or Apache to connect to my 8009 connector port, for my IIS machine is used for authentication. I don't want that someone can bypass this. I tried to use a Request Filter valve by adding this in my server.xml : Valve className=org.apache.catalina.valves.RemoteAddrValve allow=ip_address_of_my_iis_server/ But it doesn't work. Even if my clients don't connect directly to my Tomcat server (only my IIS server does, and i can verify this by using the netstat command), they are blocked by this valve. It seems that my IIS tells Tomcat that its IP adress is my client's one. Maybe that's why my clients IP addresses are logged in Tomcat when this valve is disabled. So now this valve is not enabled anymore, and if someone installs a web connector pointing to my Tomcat server, it will have access to my webapps... Any help will be appreciated. Fred -Message d'origine- De : SANTOS, DANIEL (SBCSI) [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mars 2005 18:22 À : Tomcat Users List Cc : MAES NICOLAS Objet : RE: Tomcat behind IIS sure, just go into your server.xml and remove the web connector Connector port=8080 / I'm using the minimal server.xml (slightly modified) so there may be more parameters in yours. This element is contained with in the Service tag which is in the Server tag. Daniel -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 10:58 AM To: tomcat-user@jakarta.apache.org Cc: MAES NICOLAS Subject: Tomcat behind IIS Hi all, I installed a tomcat 5.0 behind an IIS server. Everything works fine with the connector. Now, I would like that Tomcat only accepts connections from this IIS server and not from others computers (still accessible from http://myhost:8080/myApplication http://myhost:8080/myApplication ). Is there a simple way to do this in server.xml (or other tomcat config files) or do I have to install a firewall ? Thanks in advance. Fred. Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. 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: Tomcat behind IIS
sure, just go into your server.xml and remove the web connector Connector port=8080 / I'm using the minimal server.xml (slightly modified) so there may be more parameters in yours. This element is contained with in the Service tag which is in the Server tag. Daniel -Original Message- From: VAN DER MARLIERE FREDERIC [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 10:58 AM To: tomcat-user@jakarta.apache.org Cc: MAES NICOLAS Subject: Tomcat behind IIS Hi all, I installed a tomcat 5.0 behind an IIS server. Everything works fine with the connector. Now, I would like that Tomcat only accepts connections from this IIS server and not from others computers (still accessible from http://myhost:8080/myApplication http://myhost:8080/myApplication ). Is there a simple way to do this in server.xml (or other tomcat config files) or do I have to install a firewall ? Thanks in advance. Fred. Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS Authorization
Hi, Sorry, I thought you had it setup and wanted only to know how to pass NTLM to Tomcat. For IIS-Tomcat in general you will need to install and configure the JK1.2.8 connector. http://jakarta.apache.org/tomcat/connectors-doc/ Cheers, Allistair. -Original Message- From: Denny Lee [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 18:45 To: tomcat-user@jakarta.apache.org Subject: Re: Tomcat and IIS Authorization Hello Allistair, I looked at your blog but I am still lost as to how to setup IIS and Tomcat. I saw that you mentioned you have it setup but did not specify how to do so. -Original Message- Check out the NTLM part in my Tomcat 5.5 blog www.adcworks.com/blog Cheers, Allistair. -Original Message- From: Denny Lee [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 17:26 To: tomcat-user@jakarta.apache.org Subject: Tomcat and IIS Authorization Hello All, I am creating a web app that has users and admins and I need to limit certain configuration pages only to admins. I must use NTLM to authenticate users into the web site and somehow get the credential to determine if the user has sufficient access or not. How can I do this? Can I do this through IIS? So far I got authentication part working using jcfis but I can't seem to get the role of the user. I tried tagish JAAS but keep getting missing LoginModule error. Any help would be great. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS Authorization
Check out the NTLM part in my Tomcat 5.5 blog www.adcworks.com/blog Cheers, Allistair. -Original Message- From: Denny Lee [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 17:26 To: tomcat-user@jakarta.apache.org Subject: Tomcat and IIS Authorization Hello All, I am creating a web app that has users and admins and I need to limit certain configuration pages only to admins. I must use NTLM to authenticate users into the web site and somehow get the credential to determine if the user has sufficient access or not. How can I do this? Can I do this through IIS? So far I got authentication part working using jcfis but I can't seem to get the role of the user. I tried tagish JAAS but keep getting missing LoginModule error. Any help would be great. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS Authorization
Hello Allistair, I looked at your blog but I am still lost as to how to setup IIS and Tomcat. I saw that you mentioned you have it setup but did not specify how to do so. -Original Message- Check out the NTLM part in my Tomcat 5.5 blog www.adcworks.com/blog Cheers, Allistair. -Original Message- From: Denny Lee [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 17:26 To: tomcat-user@jakarta.apache.org Subject: Tomcat and IIS Authorization Hello All, I am creating a web app that has users and admins and I need to limit certain configuration pages only to admins. I must use NTLM to authenticate users into the web site and somehow get the credential to determine if the user has sufficient access or not. How can I do this? Can I do this through IIS? So far I got authentication part working using jcfis but I can't seem to get the role of the user. I tried tagish JAAS but keep getting missing LoginModule error. Any help would be great. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS Authorization
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat with IIS 6 on Win 2003
Vakulenko, Andrey V wrote: Do you know if a new isapi_redirect.dll is available to run Tomcat under IIS 6 (without switching in IIS 5 isolation mode)? No. Neither it will. We'll probably develop a new connector for IIS6 using new proxy_ajp code base. There are just too many differences between IIS5 and IIS6 modes. MT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat with IIS 6 on Win 2003
Any timetable? -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:40 AM To: Tomcat Users List Subject: Re: Tomcat with IIS 6 on Win 2003 Vakulenko, Andrey V wrote: Do you know if a new isapi_redirect.dll is available to run Tomcat under IIS 6 (without switching in IIS 5 isolation mode)? No. Neither it will. We'll probably develop a new connector for IIS6 using new proxy_ajp code base. There are just too many differences between IIS5 and IIS6 modes. MT. - 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: Tomcat with IIS 6 on Win 2003
Vakulenko, Andrey V wrote: Any timetable? Not this year for sure :). I think by the end of February next year. MT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat with IIS 6 on Win 2003
Thanks a lot -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 10:54 AM To: Tomcat Users List Subject: Re: Tomcat with IIS 6 on Win 2003 Vakulenko, Andrey V wrote: Any timetable? Not this year for sure :). I think by the end of February next year. MT. - 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: Tomcat 5.0 + IIS 6 + Windows 2003
Hi My responses: 1. Where does the dll reside (full folder path) d:\tomcat5\bin\win32\i386\isapi_redirector2.dll 2. What is the virtual directory name in IIS and what the physical folder pointing to. The virtual directory: jakarta the directory path it is pointing to is: d:\tomcat5\bin\win32\i386\ 3. What is the registry entry value for workers2.properties workersFile d:\tomcat5\conf\workers2.properties 4. Is the isapi-director.dll is for the version compatible to tomcat Now how do I determine this? Any help will be most welcome. Regards Srini -Original Message- From: Kannan Sundararajan [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 6:57 PM To: '[EMAIL PROTECTED]' Subject: Re: Tomcat 5.0 + IIS 6 + Windows 2003 I went thru this and it just an misdocumented feature gives interesting results. Focus on the isapi-director.dll 1. Where does the dll reside (full folder path) 2. What is the virtual directory name in IIS and what the physical folder pointing to. 3. What is the registry entry value for workers2.properties 4. Is the isapi-director.dll is for the version compatable to tomcat When you provide answer for this, try as much as possible the correct value of folder instead of generic. -- Sent from my BlackBerry Wireless Handheld - 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: Tomcat 5.0 + IIS 6 + Windows 2003
1. Create direcotry/folder d:\tomcat 2. Copy to d:\tomcat .. isapi_redirector2.dll, 3. Register and map this dll... {Please mention the values in it) 4. Virtual Directory-jakarta should point to d:\tomcat 5. Workers2.properties should be in IIS website directory 6. Finding the version compatabile is difficult, since there is no site refers to it. You can find in tomcat or newsgroups to find the properdll, which is compatable with IIS and Tomcat. -Original Message- From: Srinivas Kotapally [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 1:30 PM To: 'Tomcat Users List'; Kannan Sundararajan Subject: RE: Tomcat 5.0 + IIS 6 + Windows 2003 Hi My responses: 1. Where does the dll reside (full folder path) d:\tomcat5\bin\win32\i386\isapi_redirector2.dll 2. What is the virtual directory name in IIS and what the physical folder pointing to. The virtual directory: jakarta the directory path it is pointing to is: d:\tomcat5\bin\win32\i386\ 3. What is the registry entry value for workers2.properties workersFile d:\tomcat5\conf\workers2.properties 4. Is the isapi-director.dll is for the version compatible to tomcat Now how do I determine this? Any help will be most welcome. Regards Srini -Original Message- From: Kannan Sundararajan [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 6:57 PM To: '[EMAIL PROTECTED]' Subject: Re: Tomcat 5.0 + IIS 6 + Windows 2003 I went thru this and it just an misdocumented feature gives interesting results. Focus on the isapi-director.dll 1. Where does the dll reside (full folder path) 2. What is the virtual directory name in IIS and what the physical folder pointing to. 3. What is the registry entry value for workers2.properties 4. Is the isapi-director.dll is for the version compatable to tomcat When you provide answer for this, try as much as possible the correct value of folder instead of generic. -- Sent from my BlackBerry Wireless Handheld - 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: Tomcat 5.0 + IIS 6 + Windows 2003
I am running Tomcat 5 on IIS 6. However I am running into a performance issue. Whenever I try to download a file, it is extremely slow. It appears there is a limit in IIS 6 with how much data can be transferred through an ISAPI filter. So far I have been unable to figure out how to remove the filter. If you are working with only a small web site or file transfers (100k) then the performace won't be an issue. Alex -Original Message- From: Kannan Sundararajan [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 3:57 PM To: '[EMAIL PROTECTED]' Subject: Re: Tomcat 5.0 + IIS 6 + Windows 2003 I went thru this and it just an misdocumented feature gives interesting results. Focus on the isapi-director.dll 1. Where does the dll reside (full folder path) 2. What is the virtual directory name in IIS and what the physical folder pointing to. 3. What is the registry entry value for workers2.properties 4. Is the isapi-director.dll is for the version compatable to tomcat When you provide answer for this, try as much as possible the correct value of folder instead of generic. -- Sent from my BlackBerry Wireless Handheld - 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: Tomcat 5.0 + IIS 6 + Windows 2003
I went thru this and it just an misdocumented feature gives interesting results. Focus on the isapi-director.dll 1. Where does the dll reside (full folder path) 2. What is the virtual directory name in IIS and what the physical folder pointing to. 3. What is the registry entry value for workers2.properties 4. Is the isapi-director.dll is for the version compatable to tomcat When you provide answer for this, try as much as possible the correct value of folder instead of generic. -- Sent from my BlackBerry Wireless Handheld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS Web Server
IIS will handle the https. That means that actually the connection between IIS and tomcat is not secure, so take that into consideration as you make your decision. Varley, Roger wrote: Hi I have Tomcat running behind Microsofts IIS Web server. All requests go first to IIS and IIS forwards any URL specified in workers.properties to Tomcat. All standard stuff and it works well. I now need to use HTTPS to send a request to IIS which is going to be forwarded to Tomcat. My question is where does the authentication take place? Does IIS handle the authentication and certificates *before* it passes the request to Tomcat or does IIS pass control to Tomcat expecting it to handle the authentication and certificates? Or do I need to configure both IIS and Tomcat to handle HTTPS? Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. __ - 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: Tomcat and IIS Web Server
IIS will handle the https. That means that actually the connection between IIS and tomcat is not secure, so take that into consideration as you make your decision. Thanks Daniel. Both the IIS server and Tomcat are located on the same server behind a firewall - so that really shouldn't be an issue should it? Even if they were on different servers behind a firewall given that I'm not worried about internal snooping it's still not an issue - or am I missing something important here? Regards Roger Varley, Roger wrote: Hi I have Tomcat running behind Microsofts IIS Web server. All requests go first to IIS and IIS forwards any URL specified in workers.properties to Tomcat. All standard stuff and it works well. I now need to use HTTPS to send a request to IIS which is going to be forwarded to Tomcat. My question is where does the authentication take place? Does IIS handle the authentication and certificates *before* it passes the request to Tomcat or does IIS pass control to Tomcat expecting it to handle the authentication and certificates? Or do I need to configure both IIS and Tomcat to handle HTTPS? Regards Roger _ _ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. _ _ - 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] __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS Web Server
You're right. If you can trust your machine(s) and the users on them, then you should be secure enough. Varley, Roger wrote: IIS will handle the https. That means that actually the connection between IIS and tomcat is not secure, so take that into consideration as you make your decision. Thanks Daniel. Both the IIS server and Tomcat are located on the same server behind a firewall - so that really shouldn't be an issue should it? Even if they were on different servers behind a firewall given that I'm not worried about internal snooping it's still not an issue - or am I missing something important here? Regards Roger Varley, Roger wrote: Hi I have Tomcat running behind Microsofts IIS Web server. All requests go first to IIS and IIS forwards any URL specified in workers.properties to Tomcat. All standard stuff and it works well. I now need to use HTTPS to send a request to IIS which is going to be forwarded to Tomcat. My question is where does the authentication take place? Does IIS handle the authentication and certificates *before* it passes the request to Tomcat or does IIS pass control to Tomcat expecting it to handle the authentication and certificates? Or do I need to configure both IIS and Tomcat to handle HTTPS? Regards Roger _ _ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. _ _ - 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] __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. __ - 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: Tomcat 5.0.19, IIS, Windows XP
After scrounging around in the Event Viewer and lots of other places, I have come up with the idea that the load balancer was having problems. This was in the event log: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/14/2004 Time: 2:49:02 PM User: N/A Computer: OCEAN Description: Error: [jk_worker_lb.c (427)]: lb.service() worker failed 12 for ajp13:localhost:8009 My solution was to remove the load balancer from the worker2.properties file (removing all lb references from the file listed below) and things started working. -Original Message- From: Jay Rutten [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: Tomcat 5.0.19, IIS, Windows XP I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the directory (changed to C:\Java\tomcat5.0.19) and installing as a service. It appears to be working as going to http://localhost:8080 brings up the manager appropriately. I can also get to the examples with http://localhost:8080/jsp-examples. 3) JK2 redirector installed using the install4iis.js script included in the zip file. I made a minor change to the script to create the Filters for the default web site, which I am confident is correct. You don't need the change if you have a Filter currently set up at that level. I copied the workers2.properties.sample to my TOMCAT\conf area (killing the .samples). I did have to change it slightly since the examples changed. Here are the current contents: [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] group=lb [uri:/jsp-examples/*] group=lb [uri:/servlets-examples/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: I can successfully go to http://localhost/jkstatus. However, when I go to http://localhost/jsp-examples, the browser just hangs. It doesn't even time out. I also notice that in the application event log, there is the following warning: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/1/2004 Time: 10:33:11 AM User: N/A Computer: OCEAN Description: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL - Is the default server.xml sufficient to getting to these examples? Do I have to uncomment the invoker servlet? - What are the possible values that go in workers2.properties? I have noticed in several examples on the web that a tomcatid value is used for the uri entries, but it typically goes go localhost:8009. Do I need a worker specification for each uri entry? Any direction on where I could look would be greatly appreciated... - 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: Tomcat 5.0.19, IIS, Windows XP
I may be off base but do you have a webapp.exl file with a context? ref: www.dynamichostings.com/TomCat5IIS5.do -Original Message- From: Jay Rutten [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.0.19, IIS, Windows XP I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the directory (changed to C:\Java\tomcat5.0.19) and installing as a service. It appears to be working as going to http://localhost:8080 brings up the manager appropriately. I can also get to the examples with http://localhost:8080/jsp-examples. 3) JK2 redirector installed using the install4iis.js script included in the zip file. I made a minor change to the script to create the Filters for the default web site, which I am confident is correct. You don't need the change if you have a Filter currently set up at that level. I copied the workers2.properties.sample to my TOMCAT\conf area (killing the .samples). I did have to change it slightly since the examples changed. Here are the current contents: [shm] info=Scoreboard. Required for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] group=lb [uri:/jsp-examples/*] group=lb [uri:/servlets-examples/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: I can successfully go to http://localhost/jkstatus. However, when I go to http://localhost/jsp-examples, the browser just hangs. It doesn't even time out. I also notice that in the application event log, there is the following warning: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 4/1/2004 Time: 10:33:11 AM User: N/A Computer: OCEAN Description: Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL - Is the default server.xml sufficient to getting to these examples? Do I have to uncomment the invoker servlet? - What are the possible values that go in workers2.properties? I have noticed in several examples on the web that a tomcatid value is used for the uri entries, but it typically goes go localhost:8009. Do I need a worker specification for each uri entry? Any direction on where I could look would be greatly appreciated... - 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: Tomcat and IIS question
-Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 3:43 PM To: Tomcat Users List Subject: Re: Tomcat and IIS question I imagine that you've got Tomcat and IIS communicating behind a firewall, if not on the same machine. If only IIS is exposed to the internet, why would you need communication between the two to be encrypted? We are producing a medical app. As part of the new HIPAA requirements, we are to take all precautions necessary to ensure that personal health information is securely transmitted electronically. If someone should break through all other security measures, the data will still be encrypted, and we have reduced our liability. Also, If you aren't relying on IIS for encryption, why use it at all? Why not just use Tomcat as a stand alone and install the certificate there? IIS needs to run so that our clients can continue to administer their other apps (which could be ASP) in the same manner as they are used too, without having our app interfere. What we need is roundtrip encryption - yes it will be slow through IIS- but if you have any other ideas for this kind of scenario, please tell me as I am not an sys admin. I am a humble software engineer Are you running ASP apps too? On Thursday 26 February 2004 06:51 pm, you wrote: I believe there is a misunderstanding (I think???)... I already have tomcat talking to IIS, and IIS talking securely with the client. The problem is that IIS decrypts ssl requests to process them. In the case of a servlet request, it forwards the decrypted request to Tomcat and Tomcat sends the response decrypted back to IIS (I think???). I want all requests and responses to be encrypted. How can I have all communication secure??? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:58 PM To: Tomcat Users List Subject: Re: Tomcat and IIS question http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html On Thursday 26 February 2004 05:19 pm, you wrote: Can I be running IIS and Tomcat concurrently and have specific webapps directed to each for processing. I am assuming that Tomcat will be running as a web server as well as servlet container and that IIS is of course running as a web server. The goal is to elminate the port number from the address window for all requests, to use tomcat/ssl for dynamic webapps, and for other static webapss, have them run through IIS. The general question is--how can I accomplish this goal??? - 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] - 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: Tomcat and IIS question
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html On Thursday 26 February 2004 05:19 pm, you wrote: Can I be running IIS and Tomcat concurrently and have specific webapps directed to each for processing. I am assuming that Tomcat will be running as a web server as well as servlet container and that IIS is of course running as a web server. The goal is to elminate the port number from the address window for all requests, to use tomcat/ssl for dynamic webapps, and for other static webapss, have them run through IIS. The general question is--how can I accomplish this goal??? - 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: Tomcat and IIS question
I believe there is a misunderstanding (I think???)... I already have tomcat talking to IIS, and IIS talking securely with the client. The problem is that IIS decrypts ssl requests to process them. In the case of a servlet request, it forwards the decrypted request to Tomcat and Tomcat sends the response decrypted back to IIS (I think???). I want all requests and responses to be encrypted. How can I have all communication secure??? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:58 PM To: Tomcat Users List Subject: Re: Tomcat and IIS question http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html On Thursday 26 February 2004 05:19 pm, you wrote: Can I be running IIS and Tomcat concurrently and have specific webapps directed to each for processing. I am assuming that Tomcat will be running as a web server as well as servlet container and that IIS is of course running as a web server. The goal is to elminate the port number from the address window for all requests, to use tomcat/ssl for dynamic webapps, and for other static webapss, have them run through IIS. The general question is--how can I accomplish this goal??? - 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: Tomcat and IIS question
I imagine that you've got Tomcat and IIS communicating behind a firewall, if not on the same machine. If only IIS is exposed to the internet, why would you need communication between the two to be encrypted? Also, If you aren't relying on IIS for encryption, why use it at all? Why not just use Tomcat as a stand alone and install the certificate there? Are you running ASP apps too? On Thursday 26 February 2004 06:51 pm, you wrote: I believe there is a misunderstanding (I think???)... I already have tomcat talking to IIS, and IIS talking securely with the client. The problem is that IIS decrypts ssl requests to process them. In the case of a servlet request, it forwards the decrypted request to Tomcat and Tomcat sends the response decrypted back to IIS (I think???). I want all requests and responses to be encrypted. How can I have all communication secure??? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:58 PM To: Tomcat Users List Subject: Re: Tomcat and IIS question http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html On Thursday 26 February 2004 05:19 pm, you wrote: Can I be running IIS and Tomcat concurrently and have specific webapps directed to each for processing. I am assuming that Tomcat will be running as a web server as well as servlet container and that IIS is of course running as a web server. The goal is to elminate the port number from the address window for all requests, to use tomcat/ssl for dynamic webapps, and for other static webapss, have them run through IIS. The general question is--how can I accomplish this goal??? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Hi, After not able to connect IIS5.0 on Win2K with Tomcat 4.0, JDK 1.4 using JK1.2 I tried to connect IIS 5 on Win2K with Tomcat 3.2, JDK 1.3. This configuration used to worked on my system in the past. But today I am not able run even this. The contents of my isapi.log are given below. Any clue will be helpful. P.S. Both Tomcat and IIS run fine and JSP page is served fine if run without IIS. Isapi.log: [Fri Nov 28 19:54:30 2003] [jk_uri_worker_map.c (464)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Fri Nov 28 19:54:30 2003] [jk_uri_worker_map.c (529)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp12 - *.jsp [Fri Nov 28 19:54:30 2003] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp12 [Fri Nov 28 19:54:30 2003] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] 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 = 2440 [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 = 2440 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2440 [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: 201 [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=201 [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [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 Thanks Bhavdeep -Original Message- From: Wendell Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 2:04 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Looks like you've set up a worker for ajp12 instead of ajp13. [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint Wendell -Original Message- From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:21 AM To: Tomcat Users List Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Thanks all (especially Walter do Valle, Wendell Holmes, Stphane Brogi) for the help. I will check on the link and try what they suggest. Just an update that now I am getting the following error. /jakarta/isapi_redirect_1.2.5.dll type Status report message /jakarta/isapi_redirect_1.2.5.dll description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is not available. regards, Bhavdeep -Original Message- From: Stphane Brogi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:29 PM To: Tomcat Users List Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoy : mercredi 26 novembre 2003 12:48 : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on jk_open_socket, connect() failed errno = 61. Got similarly faced problem but not able to get/understand the solution that will work for me
Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Hi Bhavdeep Sharma, I tested the sample given at the link http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm. I downloaded the zip file and configured IIS as specified in the docs. It works fine. But I dont know it is JK2 or JK. One thing to remember is you have to put the DLL in the bin directory. Putting it at other places wont work. After this I configured as per the docs in http://localhost/tomcat-docs/jk2/jk/iishowto.html. Again here you have to put the DLL in win32\i386 directory. Antony Paul - Original Message - From: Bhavdeep Sharma [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 27, 2003 6:06 PM Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Thanks all (especially Walter do Valle, Wendell Holmes, Stphane Brogi) for the help. I will check on the link and try what they suggest. Just an update that now I am getting the following error. /jakarta/isapi_redirect_1.2.5.dll type Status report message /jakarta/isapi_redirect_1.2.5.dll description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is not available. regards, Bhavdeep -Original Message- From: Stphane Brogi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:29 PM To: Tomcat Users List Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoy : mercredi 26 novembre 2003 12:48 : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect
Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on jk_open_socket, connect() failed errno = 61. Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoy : mercredi 26 novembre 2003 12:48 : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on jk_open_socket, connect() failed errno = 61. Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - 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: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Looks like you've set up a worker for ajp12 instead of ajp13. [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint Wendell -Original Message- From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:21 AM To: Tomcat Users List Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error Page cannot be displayed The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on jk_open_socket, connect() failed errno = 61. Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat + jk + IIS
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html -Original Message- From: Marco Shimomoto [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 15:52 To: Tomcat Users List Subject: Tomcat + jk + IIS Hello, I want to get running a test server with Tomcat (4.x) and IIS on a Windows 2000. Ive read all JK documentation at Jakarta, tried unsuccessfully to get them working. Does anybody know another source of information guide on doing this? Thanks in advance, Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Tomcat and IIS + Index Server - possible ?
Hi Marco, Thanks for your answer. I'm using pure JSPs (no Struts or the like), but indeed most of the content come from other sources (Database, java classes output). So parsing the JSP files themselves is not a solution for my case (as indicated in the Lucene documentation anyway). So I tried to parse the content retrieved from the url of the file (by creating an HttpUrlConnection to it, therefore the web application must be running while creating the index) and I can get the HTML output from the JSP file, then create the index out of it. It seems to work for the moment... See ya Alain -Message d'origine- De : Marco Tedone [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 10. septembre 2003 22:26 À : Tomcat Users List Objet : Re: Tomcat and IIS + Index Server - possible ? Hi Alain, I'm developing the same functionality for my site. Limiting the problems to JSPs (as if you are using Struts are more and if you're using Struts + Tiles are a lot more...Guess...which one am I using??) the only real activity you need to do is to manipulate the path returned by Lucene, which refers to your JSPs, in a web-context manner, so that you can give those pages as links to the user. The content it's not a problem, at least in my case, because Lucene build an index of all significant words in your JSPs and the correct JSPs are returned if you run a query for any of the words contained in your JSP. You may have additional problems if your JSPs are used as pure views, letting the hard-work to servlets (which any possible background) which act as proxies. The reason is that, even if a possible search engine would return to you the path to a JSP page, this page could not be accessible directly, because for instance, it displays some JavaBean content which has been prepared by some background work. Rather, you will want the user to link to the relevant action which eventually will forward the control to the JSP, therefore even if the content is contained in JSPs, what you should show to the user to click on, is a link to the action bound with that JSP. I solved all those problems so far; unfortunately, I'm running with Tiles, and the JSPs which actually contains the content of interest, is not the JSP bound with the action I want to show to the user. The JSP bound with the action has got the following code (snippet): %@ page language=java % %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert definition=tiles.administer flush=true / As you can see, there is not a lot of content here for a search engine to find :| Good luck, Marco - Original Message - From: Hertenstein Alain [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 12:45 PM Subject: RE : Tomcat and IIS + Index Server - possible ? Hi, Just asking about this topic again, since nobody answered or seems to have an idea... Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I need without -too much- setup and code work. I managed to make it work and search local files, but I don't know if it can search JSP files, i.e. what the JSPs generate in HTML... It seems like one has to re-code the whole index creation process to achive this ! Anyone has done that before ? Can anybody recommend me what to do to implement that search engine with IIS and Tomcat ? Thanks for your help, I'm really stuck here... Alain -Message d'origine- De : Hertenstein Alain Envoyé : lundi, 1. septembre 2003 18:24 À : 'Tomcat Users List' Objet : Tomcat and IIS + Index Server - possible ? Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking of adding a Search site button in our web application. The problem is that we have content coming from numerous places in our JSP pages : inside the pages (stored either as HTML or in Java String variables) or in MS SQL Server tables. We thought of using Index Server to do that, since it should normally handle most of the work easily... Is this possible in such configuration ? In other words, can Index Server access text retrieved in any way by JSPs ? Another issue is that there's no virtual directory configured in IIS other than the redirector directory (pointing to the isapi_redirector2.dll file). So I'n not sure IIS/Index Server can access JSPs at all anyway... Has anyone already tried this before ? Or maybe is there another better way to achieve this ? Please let me know, thank you very much ! 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
RE : Tomcat and IIS + Index Server - possible ?
Hi, Just asking about this topic again, since nobody answered or seems to have an idea... Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I need without -too much- setup and code work. I managed to make it work and search local files, but I don't know if it can search JSP files, i.e. what the JSPs generate in HTML... It seems like one has to re-code the whole index creation process to achive this ! Anyone has done that before ? Can anybody recommend me what to do to implement that search engine with IIS and Tomcat ? Thanks for your help, I'm really stuck here... Alain -Message d'origine- De : Hertenstein Alain Envoyé : lundi, 1. septembre 2003 18:24 À : 'Tomcat Users List' Objet : Tomcat and IIS + Index Server - possible ? Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking of adding a Search site button in our web application. The problem is that we have content coming from numerous places in our JSP pages : inside the pages (stored either as HTML or in Java String variables) or in MS SQL Server tables. We thought of using Index Server to do that, since it should normally handle most of the work easily... Is this possible in such configuration ? In other words, can Index Server access text retrieved in any way by JSPs ? Another issue is that there's no virtual directory configured in IIS other than the redirector directory (pointing to the isapi_redirector2.dll file). So I'n not sure IIS/Index Server can access JSPs at all anyway... Has anyone already tried this before ? Or maybe is there another better way to achieve this ? Please let me know, thank you very much ! 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: Tomcat and IIS + Index Server - possible ?
Hi Alain, I'm developing the same functionality for my site. Limiting the problems to JSPs (as if you are using Struts are more and if you're using Struts + Tiles are a lot more...Guess...which one am I using??) the only real activity you need to do is to manipulate the path returned by Lucene, which refers to your JSPs, in a web-context manner, so that you can give those pages as links to the user. The content it's not a problem, at least in my case, because Lucene build an index of all significant words in your JSPs and the correct JSPs are returned if you run a query for any of the words contained in your JSP. You may have additional problems if your JSPs are used as pure views, letting the hard-work to servlets (which any possible background) which act as proxies. The reason is that, even if a possible search engine would return to you the path to a JSP page, this page could not be accessible directly, because for instance, it displays some JavaBean content which has been prepared by some background work. Rather, you will want the user to link to the relevant action which eventually will forward the control to the JSP, therefore even if the content is contained in JSPs, what you should show to the user to click on, is a link to the action bound with that JSP. I solved all those problems so far; unfortunately, I'm running with Tiles, and the JSPs which actually contains the content of interest, is not the JSP bound with the action I want to show to the user. The JSP bound with the action has got the following code (snippet): %@ page language=java % %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert definition=tiles.administer flush=true / As you can see, there is not a lot of content here for a search engine to find :| Good luck, Marco - Original Message - From: Hertenstein Alain [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 12:45 PM Subject: RE : Tomcat and IIS + Index Server - possible ? Hi, Just asking about this topic again, since nobody answered or seems to have an idea... Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I need without -too much- setup and code work. I managed to make it work and search local files, but I don't know if it can search JSP files, i.e. what the JSPs generate in HTML... It seems like one has to re-code the whole index creation process to achive this ! Anyone has done that before ? Can anybody recommend me what to do to implement that search engine with IIS and Tomcat ? Thanks for your help, I'm really stuck here... Alain -Message d'origine- De : Hertenstein Alain Envoyé : lundi, 1. septembre 2003 18:24 À : 'Tomcat Users List' Objet : Tomcat and IIS + Index Server - possible ? Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking of adding a Search site button in our web application. The problem is that we have content coming from numerous places in our JSP pages : inside the pages (stored either as HTML or in Java String variables) or in MS SQL Server tables. We thought of using Index Server to do that, since it should normally handle most of the work easily... Is this possible in such configuration ? In other words, can Index Server access text retrieved in any way by JSPs ? Another issue is that there's no virtual directory configured in IIS other than the redirector directory (pointing to the isapi_redirector2.dll file). So I'n not sure IIS/Index Server can access JSPs at all anyway... Has anyone already tried this before ? Or maybe is there another better way to achieve this ? Please let me know, thank you very much ! 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS 6 - Please HELP
I don't know if the following can be useful to someone having the same problem, but I observed the following strange behavior in IIS 6: 1) when addressing with the client a filename with extension, say zzz, like myfile.zzz, IIS answers with 404 (of course the file is where it is requested; you can try also allowing directory browsing and then clicking on the file); 2) even putting the extension zzz in the mime types list doesn't affect this result; 3) the same for the extension dll By Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603 _ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: mercoledì 27 agosto 2003 17.32 To: Tomcat Users List Subject: Re: Tomcat and IIS 6 - Please HELP Many people have the same problem (archives!). As far as I know, there is no redirector built and available for IIS 6. You either have to build it yourself, or wait for someone else to build it. Even if you build it, there's no guarantee the source that works with IIS 5 will work unmodified for IIS 6, so you will then need to wait for someone savvy enough in IIS 6 internals to make the appropriate changes and post the changes to CVS. Economic incentives might speed this process up...I doubt anything else will. John Renato Romano wrote: I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18): the configuration works fine with IIS 5, but with IIS 6, though I don't get error messages, and the ISAPI filter shows the green upward arrow, the browsere gets a 404 error. I'm pretty sure there is no config error, because I copied the configuration from a working installation with IIS 5, so I think the problem is the IIS version. I could not find any help on the net... Does anyone had the same problem ?? Thanks Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603 _ - 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: Tomcat and IIS 6 - Please HELP
Hi, I also have a similar question. Where is the documentation for making IIS 5. work with Tomcat 4.1.18 or 4.1.27? The documentation I was able to find reference 3.X. My Tomcat 4.X installation does not include any files such as workers2.properties. Thank you for your help. From: Renato Romano [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Tomcat and IIS 6 - Please HELP Date: Wed, 27 Aug 2003 17:33:19 +0200 I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18): the configuration works fine with IIS 5, but with IIS 6, though I don't get error messages, and the ISAPI filter shows the green upward arrow, the browsere gets a 404 error. I'm pretty sure there is no config error, because I copied the configuration from a working installation with IIS 5, so I think the problem is the IIS version. I could not find any help on the net... Does anyone had the same problem ?? Thanks Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603 _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS 6 - Please HELP
Many people have the same problem (archives!). As far as I know, there is no redirector built and available for IIS 6. You either have to build it yourself, or wait for someone else to build it. Even if you build it, there's no guarantee the source that works with IIS 5 will work unmodified for IIS 6, so you will then need to wait for someone savvy enough in IIS 6 internals to make the appropriate changes and post the changes to CVS. Economic incentives might speed this process up...I doubt anything else will. John Renato Romano wrote: I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18): the configuration works fine with IIS 5, but with IIS 6, though I don't get error messages, and the ISAPI filter shows the green upward arrow, the browsere gets a 404 error. I'm pretty sure there is no config error, because I copied the configuration from a working installation with IIS 5, so I think the problem is the IIS version. I could not find any help on the net... Does anyone had the same problem ?? Thanks Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603 _ - 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: Tomcat and IIS 6 - Please HELP
FAQ http://jakarta.apache.org/tomcat/faq/connectors.html and http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=tomcat+iis+5btnG=Google+Search which would eventually lead you to: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html John J Raf wrote: Hi, I also have a similar question. Where is the documentation for making IIS 5. work with Tomcat 4.1.18 or 4.1.27? The documentation I was able to find reference 3.X. My Tomcat 4.X installation does not include any files such as workers2.properties. Thank you for your help. From: Renato Romano [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Tomcat and IIS 6 - Please HELP Date: Wed, 27 Aug 2003 17:33:19 +0200 I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18): the configuration works fine with IIS 5, but with IIS 6, though I don't get error messages, and the ISAPI filter shows the green upward arrow, the browsere gets a 404 error. I'm pretty sure there is no config error, because I copied the configuration from a working installation with IIS 5, so I think the problem is the IIS version. I could not find any help on the net... Does anyone had the same problem ?? Thanks Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603 _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - 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: Tomcat and IIS
How far along the installation are you? Are you seeing the index.jsp page when starting up tomcat through localhost:8080/index.jsp? Nicholas Camilleri [EMAIL PROTECTED] wrote: I am using tomcat 4.1.12 and windows XP with IIS 5 and I am trying to secure the virutal directory (named Jakarta) which I created to redirect requests to the tomcat containerThanks Again - Original Message - All email is scanned by Keyworld against known Viruses. This service is offered to all Keyworld subscribers and hosted domains and does not carry any warranty. You are advised to protect your PC with updated antivirus software at all times. ATTACHMENT part 2 message/rfc822 From: Kannan Sundararajan To: 'Tomcat Users List' Subject: RE: Tomcat and IIS The instruction set given is so confusing. After sometime, i could able to do the connectivity. But the documents is not to the standards. -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:26 PM To: Tomcat Users List Subject: Re: Tomcat and IIS What version of Tomcat? Windows? And are you trying to use windows security on the virtual directory? Nicholas Camilleri wrote: Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net which indicates that I should give anonimous user right on the vitual directory, I could not configure it with IIS an now each time the page is accessed, a security dialog is displayed indicating that the user should enter the username and password. Thanks Alot Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! - 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] - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: Tomcat and IIS
What version of Tomcat? Windows? And are you trying to use windows security on the virtual directory? Nicholas Camilleri [EMAIL PROTECTED] wrote: Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net which indicates that I should give anonimous user right on the vitual directory, I could not configure it with IIS an now each time the page is accessed, a security dialog is displayed indicating that the user should enter the username and password. Thanks Alot Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
RE: Tomcat and IIS
The instruction set given is so confusing. After sometime, i could able to do the connectivity. But the documents is not to the standards. -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:26 PM To: Tomcat Users List Subject: Re: Tomcat and IIS What version of Tomcat? Windows? And are you trying to use windows security on the virtual directory? Nicholas Camilleri [EMAIL PROTECTED] wrote: Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net which indicates that I should give anonimous user right on the vitual directory, I could not configure it with IIS an now each time the page is accessed, a security dialog is displayed indicating that the user should enter the username and password. Thanks Alot Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and IIS
I am using tomcat 4.1.12 and windows XP with IIS 5 and I am trying to secure the virutal directory (named Jakarta) which I created to redirect requests to the tomcat containerThanks Again - Original Message - All email is scanned by Keyworld against known Viruses. This service is offered to all Keyworld subscribers and hosted domains and does not carry any warranty. You are advised to protect your PC with updated antivirus software at all times.---BeginMessage--- The instruction set given is so confusing. After sometime, i could able to do the connectivity. But the documents is not to the standards. -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:26 PM To: Tomcat Users List Subject: Re: Tomcat and IIS What version of Tomcat? Windows? And are you trying to use windows security on the virtual directory? Nicholas Camilleri [EMAIL PROTECTED] wrote: Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net which indicates that I should give anonimous user right on the vitual directory, I could not configure it with IIS an now each time the page is accessed, a security dialog is displayed indicating that the user should enter the username and password. Thanks Alot Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS 6.0??
Thanks, many members? Have you tried the IIS 5 Isolation Mode? I had no luck :( /cn -- Original Message -- Welcome to the club I had the same problem, but no response up til now Hope you will be more lucky Vince -Message d'origine- I've been trying this, with out luck. The connector does not work between the two, maybe it's enough to build it on win2003... I'm hoping someone will take a look at this soon. Bye -reynir -Original Message- Hi! Is it possible to combine Tomcat with IIS 6.0 (Win 2003)? I've tried without luck. Do I do something wrong or is it impossible. Can I use the same isapi_redirect.dll as for IIS 5.0 (everything works fine on IIS 5) /cn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS 6.0??
I've been trying this, with out luck. The connector does not work between the two, maybe it's enough to build it on win2003... I'm hoping someone will take a look at this soon. Bye -reynir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16. júní 2003 16:11 To: [EMAIL PROTECTED] Subject: Tomcat and IIS 6.0?? Hi! Is it possible to combine Tomcat with IIS 6.0 (Win 2003)? I've tried without luck. Do I do something wrong or is it impossible. Can I use the same isapi_redirect.dll as for IIS 5.0 (everything works fine on IIS 5) /cn - 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: Tomcat and IIS 6.0??
Welcome to the club I had the same problem, but no response up til now Hope you will be more lucky Vince -Message d'origine- De : Reynir Hübner [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2003 18:10 À : Tomcat Users List Objet : RE: Tomcat and IIS 6.0?? I've been trying this, with out luck. The connector does not work between the two, maybe it's enough to build it on win2003... I'm hoping someone will take a look at this soon. Bye -reynir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16. júní 2003 16:11 To: [EMAIL PROTECTED] Subject: Tomcat and IIS 6.0?? Hi! Is it possible to combine Tomcat with IIS 6.0 (Win 2003)? I've tried without luck. Do I do something wrong or is it impossible. Can I use the same isapi_redirect.dll as for IIS 5.0 (everything works fine on IIS 5) /cn - 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: Tomcat and IIS ( PROBLEM SOLVED )
Yes your right, I unfortunately I have to keep asp for that reason. Anyway I solved the problem I was ranting about yesterday very easily I, made the top file an asp page in INETPUB. And did a response redirect to my webapps folder in tomcat to the jsp. I got the referrer after all, not the index.asp as referrer. I'm thinking it just saved the session and passed it right on over to tomcat no big deal. Also, I visited the below link and it's a dead one. Thanks for all the comments -wiley Simply install the isapi filter into iis and you can run Jsp/servlets in conjunction with other asp sites. Its the non-cludge solution!! http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html It all good and well to suggest that we simply uninstall IIS and install Apache but we often don't have the luxury of choice when it comes to these things as it os dependant on client's needs! - 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: Tomcat and IIS
AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I dont want to use an ASP stats program. Hopefully it makes sense -wiley - 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: Tomcat and IIS
Or, just screw IIS and go to Apache. With Apache, you can tell it what pages to serve if no page is put into the url. (DirectoryIndex index.html index.html.var default.htm) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I dont want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I dont want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
I might do that. thanks -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Or, just screw IIS and go to Apache. With Apache, you can tell it what pages to serve if no page is put into the url. (DirectoryIndex index.html index.html.var default.htm) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - 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: Tomcat and IIS
Yes, but this doesn't work if you use index.jsp as the DirectoryIndex, unless someone has figured out how to do it in the last couple of months. It's an FAQ, or at least it was last fall, there were threads once a week or more for awhile. It has to do with the sequence of checking the URL to see if the request should be passed to mod_jk...it seems to happen before Apache consults DirectoryIndex, so as the request is sent to Tomcat, it doesn't have index.jsp attached to it yet. The sequence should be: does the request have a filename, if not append file listed in DirectoryIndex, then check to see if URL should be handled by mod_jk. It seems to happen in the reverse, right now, so the DirectoryIndex check never happens. John On Thu, 27 Mar 2003 13:56:56 -0700, Jeremy Whitlock [EMAIL PROTECTED] wrote: Or, just screw IIS and go to Apache. With Apache, you can tell it what pages to serve if no page is put into the url. (DirectoryIndex index.html index.html.var default.htm) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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: Tomcat and IIS
You didn't buy it as a web server though did you? It will still be of service to you...it will run Apache just fine. Apache is great and over 63% of ALL web servers in the world run it. Probably even MS. :) Later, Jeremy -Original Message- From: jsp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 2:10 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - 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: Tomcat and IIS
Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I dont want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I dont want to use an ASP stats program. Hopefully it makes sense -wiley - 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: Tomcat and IIS
Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
Ok thanks, I will do that. I just spent some time writing a little stats bean and it would suck if I had to go back and use an asp. -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I dont want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I dont want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come... -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - 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: Tomcat and IIS
Since you are on Windows, you don't have to worry about the privileged ports restriction for running Tomcat like you do on a UNIX variant, so why not just run Tomcat on port 80 and be done with the whole web server issue completely? John On Thu, 27 Mar 2003 13:24:13 -0800, jsp [EMAIL PROTECTED] wrote: Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come... -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - 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] -- 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: Tomcat and IIS
That's interesting but it doesn't seem like that would be a very secure set up to me. I'm positive you know more about that than I do but something doesn't sound right there. I've never heard of that before. Let me check into that thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:23 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Since you are on Windows, you don't have to worry about the privileged ports restriction for running Tomcat like you do on a UNIX variant, so why not just run Tomcat on port 80 and be done with the whole web server issue completely? John On Thu, 27 Mar 2003 13:24:13 -0800, jsp [EMAIL PROTECTED] wrote: Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come... -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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] - 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] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2
RE: Tomcat and IIS
-Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat and IIS Really? Can you post your config files? I'd be interested in seeing them...I haven't been able to make this work, though I don't use JK2. John Httpd.conf: VirtualHost * DocumentRoot /usr/local/www/default ServerName neo03.nequalsone.com DirectoryIndex index.html Wiki.jsp Alias /wiki /opt/jakarta/webapps/wiki Directory /opt/jakarta/webapps/wiki Options -Indexes +FollowSymLinks +Includes MultiViews /Directory Location /data AllowOverride None deny from all /Location Location /WEB-INF AllowOverride None deny from all /Location /VirtualHost Workers2.properties: [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/wiki/*.jsp] worker=ajp13:localhost:8009 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs [EMAIL PROTECTED] wrote: Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley -- --- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: Tomcat and IIS
See Craig's reply earlier today about Tomcat security. Tomcat is no less secure or more secure than anything else, and it is very possible to have a very secure Tomcat installation properly configured. Bias aside, knowing the history of IIS, I would almost prefer to use Tomcat alone on Windows than using it in conjunction with a web server, even Apache. Not that Apache on Windows is bad, but the whole services/kernel model for Windows NT/2k is a little flaky in my book, and Apache has to use it. No, I'm not trolling, just stating a preference/perception based on personal experience. John On Thu, 27 Mar 2003 13:32:23 -0800, jsp [EMAIL PROTECTED] wrote: That's interesting but it doesn't seem like that would be a very secure set up to me. I'm positive you know more about that than I do but something doesn't sound right there. I've never heard of that before. Let me check into that thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:23 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Since you are on Windows, you don't have to worry about the privileged ports restriction for running Tomcat like you do on a UNIX variant, so why not just run Tomcat on port 80 and be done with the whole web server issue completely? John On Thu, 27 Mar 2003 13:24:13 -0800, jsp [EMAIL PROTECTED] wrote: Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come... -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley - 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
RE: Tomcat and IIS
If you can use TOMCAT as a web server also a container for jsp and servlets, then I don't understand why you even need Apache Web server? Can someone fill me in? I'm running IIS with tomcat right now but I would like to turn IIS off and just use tomcat like someone here suggested. -wiley -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:29 PM To: 'John Turner'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat and IIS Really? Can you post your config files? I'd be interested in seeing them...I haven't been able to make this work, though I don't use JK2. John Httpd.conf: VirtualHost * DocumentRoot /usr/local/www/default ServerName neo03.nequalsone.com DirectoryIndex index.html Wiki.jsp Alias /wiki /opt/jakarta/webapps/wiki Directory /opt/jakarta/webapps/wiki Options -Indexes +FollowSymLinks +Includes MultiViews /Directory Location /data AllowOverride None deny from all /Location Location /WEB-INF AllowOverride None deny from all /Location /VirtualHost Workers2.properties: [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/wiki/*.jsp] worker=ajp13:localhost:8009 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs [EMAIL PROTECTED] wrote: Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file to be a functioning .jsp page because I don't want to use an ASP stats program. Hopefully it makes sense -wiley -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
RE: Tomcat and IIS
That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J -Original Message- From: jsp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:25 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS If you can use TOMCAT as a web server also a container for jsp and servlets, then I don't understand why you even need Apache Web server? Can someone fill me in? I'm running IIS with tomcat right now but I would like to turn IIS off and just use tomcat like someone here suggested. -wiley -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:29 PM To: 'John Turner'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat and IIS Really? Can you post your config files? I'd be interested in seeing them...I haven't been able to make this work, though I don't use JK2. John Httpd.conf: VirtualHost * DocumentRoot /usr/local/www/default ServerName neo03.nequalsone.com DirectoryIndex index.html Wiki.jsp Alias /wiki /opt/jakarta/webapps/wiki Directory /opt/jakarta/webapps/wiki Options -Indexes +FollowSymLinks +Includes MultiViews /Directory Location /data AllowOverride None deny from all /Location Location /WEB-INF AllowOverride None deny from all /Location /VirtualHost Workers2.properties: [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/wiki/*.jsp] worker=ajp13:localhost:8009 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs [EMAIL PROTECTED] wrote: Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page in iis is index.jsp but I'm positive that is the wrong way to do this because the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing
RE: Tomcat and IIS
What if the majority of your pages are either servlets or JSP. I have only a couple pages that are not dynamically created, so Apache will only handle those, right? I'm running in a pure Tomcat environment because of this... and the fact I don't know how to set up apache with tomcat :-) -Brian -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:23 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J -Original Message- From: jsp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:25 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS If you can use TOMCAT as a web server also a container for jsp and servlets, then I don't understand why you even need Apache Web server? Can someone fill me in? I'm running IIS with tomcat right now but I would like to turn IIS off and just use tomcat like someone here suggested. -wiley -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:29 PM To: 'John Turner'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat and IIS Really? Can you post your config files? I'd be interested in seeing them...I haven't been able to make this work, though I don't use JK2. John Httpd.conf: VirtualHost * DocumentRoot /usr/local/www/default ServerName neo03.nequalsone.com DirectoryIndex index.html Wiki.jsp Alias /wiki /opt/jakarta/webapps/wiki Directory /opt/jakarta/webapps/wiki Options -Indexes +FollowSymLinks +Includes MultiViews /Directory Location /data AllowOverride None deny from all /Location Location /WEB-INF AllowOverride None deny from all /Location /VirtualHost Workers2.properties: [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/wiki/*.jsp] worker=ajp13:localhost:8009 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs [EMAIL PROTECTED] wrote: Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp as a parameter. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory
Re: Tomcat and IIS
You can tell IIS which page to serve as well. I'll try to describe the graphic interface while typing. Go to the following place: Start--Settings--Control Panel-- Administrative Tools--Internet Services Manager Go to the following place in the manager: [hostname]--Default Web Site Right-mouse click on the Default Web Site and select properties. 1. Select the Documents tab. 2. Click the add button 3. Type in the name of the document 4. Click OK 5. Click OK (again) to close the Properties dialogue box 6. Exit the Information Services Manager I can't remember if you have to restart the IIS server, but I usually do. Right now I'm using Apache 2.043 on Windows/2000 Pro with Tomcat 4.1.24 and mod_jk2. I can substitue IIS 5 by shutting down Apache and starting up IIS. Both work fine, but I just prefer working with the Apache web server. That way, I know my configurations will work on both Windows and more reasonable operating systems. As soon as I get forrest patched up (again), I will have a document that details all of this stuff. Hopefully it will be available in html, pdf, and the original how-to-v1.0 xml. If I'm really lucky, I may be able to get forrest to spit out rtf as well. /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
Apache also comes in handy if you need to have multiple tomcats serve a single IP address. this is particualy important if you host legacy applications that cannot handle upgrading JVM's or need specific JVM configurations incompatible with other application needs. Then there is load balancing. True security freaks will argue that only your webserver should be outside the firewall while tomcat should be hidden inside with only the mod_jk port open for communication. -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:23 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J -Original Message- From: jsp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:25 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS If you can use TOMCAT as a web server also a container for jsp and servlets, then I don't understand why you even need Apache Web server? Can someone fill me in? I'm running IIS with tomcat right now but I would like to turn IIS off and just use tomcat like someone here suggested. -wiley -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:29 PM To: 'John Turner'; [EMAIL PROTECTED] Subject: RE: Tomcat and IIS -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat and IIS Really? Can you post your config files? I'd be interested in seeing them...I haven't been able to make this work, though I don't use JK2. John Httpd.conf: VirtualHost * DocumentRoot /usr/local/www/default ServerName neo03.nequalsone.com DirectoryIndex index.html Wiki.jsp Alias /wiki /opt/jakarta/webapps/wiki Directory /opt/jakarta/webapps/wiki Options -Indexes +FollowSymLinks +Includes MultiViews /Directory Location /data AllowOverride None deny from all /Location Location /WEB-INF AllowOverride None deny from all /Location /VirtualHost Workers2.properties: [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/wiki/*.jsp] worker=ajp13:localhost:8009 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs [EMAIL PROTECTED] wrote: Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:11 PM To: Tomcat Users List Subject: Re: Tomcat and IIS Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. Check the archives for last fall...there were bunches of threads on this topic for quite awhile. AFAIK, nothing's changed, though I was off this list for several weeks recently and its very possible someone came up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I don't want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well. Thanks -wiley -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:57 PM To: Tomcat Users List Subject: Re: Tomcat and IIS AFAIK, the only way to do this when using Tomcat in conjunction with a web server is a kludge. I do it by making index.html my default home page, and having index.html be nothing but a meta refresh page with a time of 0 to http://www.foo.com/index.jsp. There are other ways...some Apache folks use mod_rewrite. This means index.jsp will show up in the address bar of the browser. If you don't want that, I'm not sure you can do it. I don't know enough about IIS to know if there is a more elegant way to do it. If you want to use Tomcat alone, you setup a welcome-file tag/element in your application's web.xml file that has index.jsp
RE: Tomcat and IIS
This issue of Tomcat and Apache comes up over and over and over again on the list here because everyone tells everyone else that they should run Apache in front of Tomcat without understanding what the person is doing. There are definitely reasons for this (which have been discussed more than many times), but I have *never* seen anyone give _conclusive_ *performance-centric* proof for this. I agree -- conceptually it gives you performance boost after some activity threshold, but I surmise that the *large majority* of people out there aren't even close to this threshold. It seems to me that it's more of a common knowledge thing than anything. The more often something is repeated, the more likely it will become defacto truth. In fact, our app supports connections both through a proxy (IIS or Apache) *and* directly to Tomcat because response times are very important to us and the turnaround going through Apache is ~100ms while the turnaround directly to Tomcat is ~20ms. Tomcat is an excellent HTTP server. It easily supports the requirements of most projects out there. IMHO, using Tomcat as Http server should be the default and Apache should only be used if you have a specific reason to use it (of which there are many very real, very valid ones, some of which Jeffrey Peloquin, amongst others, have mentioned in this thread). My point in writing this is that we should all be careful what we suggest before understanding what exactly the person needs. And, quite frankly, those asking should find these threads *easily* with a little effort. ;) justin At 03:26 PM 3/27/2003, you wrote: What if the majority of your pages are either servlets or JSP. I have only a couple pages that are not dynamically created, so Apache will only handle those, right? I'm running in a pure Tomcat environment because of this... and the fact I don't know how to set up apache with tomcat :-) -Brian -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:23 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential See http://www.nextengine.com/confidentiality.php - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
The specific problem I am having with IIS and Tomcat is... I'm trying to run a Statistics Program I wrote in java. It seems there is a problem that if I specify a default file ie http://www.mywebsite.com/index.jsp in IIS while pointing to the home directory of tomcat\webapps\mywebsite\index.jsp THE CATCH IS ... I cant use any type of redirector because I am trying to get the REFERER URL from the default file index.jsp . Otherwise I could just use a meta tag to redirect to the jsp file. If I use http://www.mywebsite.com/mywebsite/index.jsp the JSP functionality works. If I use http://www.mywebsite.com - with a top file set as index.jsp and the home directory of /mywebsites in IIS the JSP functionality is gone. EVEN THOUGH THEY ARE BOTH POINTING TO THE SAME PLACE I've been TOLD it can't be done and to use tomcat and apache. I don't understand if they are both pointing to the same place why jsp does not work ? -wiley This issue of Tomcat and Apache comes up over and over and over again on the list here because everyone tells everyone else that they should run Apache in front of Tomcat without understanding what the person is doing. There are definitely reasons for this (which have been discussed more than many times), but I have *never* seen anyone give _conclusive_ *performance-centric* proof for this. I agree -- conceptually it gives you performance boost after some activity threshold, but I surmise that the *large majority* of people out there aren't even close to this threshold. It seems to me that it's more of a common knowledge thing than anything. The more often something is repeated, the more likely it will become defacto truth. In fact, our app supports connections both through a proxy (IIS or Apache) *and* directly to Tomcat because response times are very important to us and the turnaround going through Apache is ~100ms while the turnaround directly to Tomcat is ~20ms. Tomcat is an excellent HTTP server. It easily supports the requirements of most projects out there. IMHO, using Tomcat as Http server should be the default and Apache should only be used if you have a specific reason to use it (of which there are many very real, very valid ones, some of which Jeffrey Peloquin, amongst others, have mentioned in this thread). My point in writing this is that we should all be careful what we suggest before understanding what exactly the person needs. And, quite frankly, those asking should find these threads *easily* with a little effort. ;) justin At 03:26 PM 3/27/2003, you wrote: What if the majority of your pages are either servlets or JSP. I have only a couple pages that are not dynamically created, so Apache will only handle those, right? I'm running in a pure Tomcat environment because of this... and the fact I don't know how to set up apache with tomcat :-) -Brian -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:23 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential See http://www.nextengine.com/confidentiality.php - 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: Tomcat and IIS
It occurred to me to put Tomcat in front of Apache. Why? Because I'm on Windows 2000. And, Apache 1.x with mod_perl is a single-threaded dog that even ASF does not recommend using for production. Apache 2 and mod_perl beta is out but nonone can tell me if it is ready for prime time on Windows (or when it will be). So I'm rolling the dice whichever way I go. We have been on Apache 1.x with mod_perl for several years and it is reliable, but not multi-user friendly. Our load is very low but the current solution will not scale. I have 3 static pages and the whole rest of the system (almost) is written in perl to run under mod_perl. I inquired about the possibility of doing a mod_perl for Tomcat and I got poopooed. On unix they have none of the problems I have, so they can stay on Apache 1 and play around with Apache 2 for the next decade. The way I see it, the Apache/mod_perl/perl camp wrote all their stuff in C language for performance - which is fine. Its fine until your stuck in betaland for 4 years because Windows is hind tit in Apacheland, and few windows programmers can help with C. Java may be a bit slower, but the clustering and load balancing might be better with just Tomcat. The connector between Apache and Tomcat will work for me, but it doesn't solve my single-thread issue if I have to stay on Apache1.x. Also, I need to run ssl all the time because of the customer's requirement. Windows is hind tit in mod_ssl land also. The mod_ssl list often responds with a lecture on how stupid you are for using Windows instead of offering any useful help. So, support is a supreme factor in the decision on architectures. If you can't fix it yourself, you are not necessarily any better off than if you use a closed source product. So, I'm thinking it may be better to put Apache in the back, so it can be phased out. That's my 2 cents. Chuck -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:26 PM To: Tomcat Users List Subject: RE: Tomcat and IIS This issue of Tomcat and Apache comes up over and over and over again on the list here because everyone tells everyone else that they should run Apache in front of Tomcat without understanding what the person is doing. There are definitely reasons for this (which have been discussed more than many times), but I have *never* seen anyone give _conclusive_ *performance-centric* proof for this. I agree -- conceptually it gives you performance boost after some activity threshold, but I surmise that the *large majority* of people out there aren't even close to this threshold. It seems to me that it's more of a common knowledge thing than anything. The more often something is repeated, the more likely it will become defacto truth. In fact, our app supports connections both through a proxy (IIS or Apache) *and* directly to Tomcat because response times are very important to us and the turnaround going through Apache is ~100ms while the turnaround directly to Tomcat is ~20ms. Tomcat is an excellent HTTP server. It easily supports the requirements of most projects out there. IMHO, using Tomcat as Http server should be the default and Apache should only be used if you have a specific reason to use it (of which there are many very real, very valid ones, some of which Jeffrey Peloquin, amongst others, have mentioned in this thread). My point in writing this is that we should all be careful what we suggest before understanding what exactly the person needs. And, quite frankly, those asking should find these threads *easily* with a little effort. ;) justin At 03:26 PM 3/27/2003, you wrote: What if the majority of your pages are either servlets or JSP. I have only a couple pages that are not dynamically created, so Apache will only handle those, right? I'm running in a pure Tomcat environment because of this... and the fact I don't know how to set up apache with tomcat :-) -Brian -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:23 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS That's possible BUT performance will suffer. Tomcat isn't as powerful as Apache. If you are running a small website, intranet and such, Tomcat would probably work fine but it's not Commercially fit as a Web Server. Apache on the other hand is. Later, J Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential See http://www.nextengine.com/confidentiality.php - 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: Tomcat and IIS
At 04:52 PM 3/27/2003, you wrote: The specific problem I am having with IIS and Tomcat is... I'm trying to run a Statistics Program I wrote in java. It seems there is a problem that if I specify a default file ie http://www.mywebsite.com/index.jsp in IIS while pointing to the home directory of tomcat\webapps\mywebsite\index.jsp THE CATCH IS ... I cant use any type of redirector because I am trying to get the REFERER URL from the default file index.jsp . Otherwise I could just use a meta tag to redirect to the jsp file. If I use http://www.mywebsite.com/mywebsite/index.jsp the JSP functionality works. If I use http://www.mywebsite.com - with a top file set as index.jsp and the home directory of /mywebsites in IIS the JSP functionality is gone. EVEN THOUGH THEY ARE BOTH POINTING TO THE SAME PLACE I've been TOLD it can't be done and to use tomcat and apache. You don't need to use Tomcat and Apache. The easiest way I know of to do this is to create an index.html file as your default IIS file. Add a small snippet of ASP to that file that reads the referrer URL and redirects to your webapp's main page with this URL as a parameter (or sets a cookie, or submits a form, or whatever). BTW, this will also work for Apache if it's running the asp support mod. I don't understand if they are both pointing to the same place why jsp does not work ? It doesn't work because the IIS redirector (that works with Tomcat) doesn't know how to map http://www.mywebsite.com/index.jsp to http://www.mywebsite.com/mywebsite/index.jsp. You've told IIS about it, but the Tomcat redirector doesn't know anything about this. You may also be able to get the same functionality if you setup your webapp as the ROOT webapp, but I'm not 100% sure about that. It depends on how IIS generates the URL and when IISRedirect gets its hands on it. This suggestion carries no warranty, implied or otherwise. ;) justin -wiley This issue of Tomcat and Apache comes up over and over and over again on the list here because everyone tells everyone else that they should run Apache in front of Tomcat without understanding what the person is doing. There are definitely reasons for this (which have been discussed more than many times), but I have *never* seen anyone give _conclusive_ *performance-centric* proof for this. I agree -- conceptually it gives you performance boost after some activity threshold, but I surmise that the *large majority* of people out there aren't even close to this threshold. It seems to me that it's more of a common knowledge thing than anything. The more often something is repeated, the more likely it will become defacto truth. In fact, our app supports connections both through a proxy (IIS or Apache) *and* directly to Tomcat because response times are very important to us and the turnaround going through Apache is ~100ms while the turnaround directly to Tomcat is ~20ms. Tomcat is an excellent HTTP server. It easily supports the requirements of most projects out there. IMHO, using Tomcat as Http server should be the default and Apache should only be used if you have a specific reason to use it (of which there are many very real, very valid ones, some of which Jeffrey Peloquin, amongst others, have mentioned in this thread). My point in writing this is that we should all be careful what we suggest before understanding what exactly the person needs. And, quite frankly, those asking should find these threads *easily* with a little effort. ;) justin Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential See http://www.nextengine.com/confidentiality.php - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat and IIS
Simply install the isapi filter into iis and you can run Jsp/servlets in conjunction with other asp sites. Its the non-cludge solution!! http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html It all good and well to suggest that we simply uninstall IIS and install Apache but we often don't have the luxury of choice when it comes to these things as it os dependant on client's needs! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Hi Rick, It seems that I've finally got round this error. However, it (2.0.1/2.0.2 JK) is still not working. Debug: [jk_isapi_plugin.c (287)]: HttpFilterProc started Debug: [jk_isapi_plugin.c (347)]: In HttpFilterProc Virtual Host redirection of localhost : 61531072 Debug: [jk_isapi_plugin.c (356)]: HttpFilterProc [/examples] is a servlet url - should redirect to lb:lb Debug: [jk_isapi_plugin.c (422)]: HttpFilterProc check if [/examples] is pointing to the web-inf directory I think the term - should redirect to lb:lb seems to have an error, but I don't know what is causing it. Any ideas? BTW - there is a minor typo in line 367: env-l-jkLog(env, env-l, JK_LOG_DEBUG, HttpFilterProc fowarding original URI [%s]\n,uri); should be corrected to env-l-jkLog(env, env-l, JK_LOG_DEBUG, HttpFilterProc forwarding original URI [%s]\n,uri); I also don't see any log messages for init_jk() - does anybody know how to turn this on? thx Johannes Rick Bullotta [EMAIL PROTECTED] 10.03.2003 21:53 Please respond to Tomcat Users List [EMAIL PROTECTED] To 'Tomcat Users List' [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Actually, that error is generally related to IIS trying to start up when Apache Http server is running on the same port...make sure Apache http server is STOPPED and than Tomcat is not set up to be listening on port 80... Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:24 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Hi Rick, I tried both fixes, but they failed. I also tried different releases (2.0.1, 2.0.2), but none worked. It also doesn't log properly, just fails when I look into the event viewer Event Type: Error Event Source: W3SVC Event Category: None Event ID: 115 Date: 10.03.2003 Time: 20:17:27 User: N/A Computer: DEVELOPER1 Description: The service could not bind instance 1. The data is the error code. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. Data: : 40 27 00 00 @'.. I cannot fully understand why jk 1.x works so smoothly, but 2.0.2 simply doesn't work out. Do you know any location where I can find more info about this error? Maybe I need a patch for IIS to fix this?? I've spent lots of hours trying to get this work, but troubleshooting this IIS connector is much harder than programming Java :) thx a lot for your input! johannes Rick Bullotta [EMAIL PROTECTED] 09.03.2003 15:34 Please respond to [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Here are a few differences between your configuration and mine: 1) My workers2.properties uses [shm:] instead of [shm]. 2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path syntax on Windows (for your SHM file). Try \\. Tomcat Users List [EMAIL PROTECTED] wrote: hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = 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 # # Socket configuration # handler.list=request,container,channelSocket #apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 = workers2.properties = # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Hi Rick, My last email contained a wrong diagnosis of the problem. redirection to lb:lb is fine, because it is defined as a load balancer in my workers2.properties. However, after entering http://localhost/examples I simply get a Server not found exception using MS IE 6 (indicating there was no reply from the server), no reply with NS Navigator 7 or Opera 6. The W3SV1 could not bind instance - error message has vanished after I changed the port of IIS to 80 from . Debug: [jk_isapi_plugin.c (287)]: HttpFilterProc started Debug: [jk_isapi_plugin.c (347)]: In HttpFilterProc Virtual Host redirection of localhost : 61531072 Debug: [jk_isapi_plugin.c (356)]: HttpFilterProc [/examples] is a servlet url - should redirect to lb:lb Debug: [jk_isapi_plugin.c (422)]: HttpFilterProc check if [/examples] is pointing to the web-inf directory after this entry, no more things show up in the application log. Here's what my IIS log is showing: 21:12:40 127.0.0.1 GET /jakarta/isapi_redirector2_201.dll 200 So it seems everything is fine, but it isn't. I allowed execution access for the virtual directory /jakarta. So that's my current summary: JK 1.0 - working fine JK 2.0.1 - not working JK 2.0.2 - not working I don't know what I can do now, do you have any additional ideas what could be wrong? thx alot Johannes
SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Hi to all! I finally have found the solution: 2.0.1 and 2.0.2 is now working - it seems my try to use a different name for the redirector dll other than isapi_redirector2.dll has caused the trouble. I thought I could use isapi_redirector2_201.dll and enter it in the extensionUri and use it as filter in the IIS properties, but this didn't work. For everybody else to save hours of desperate research, I post my complete configuration here: === registry settings (edited using regedt32.exe) === SOFTWARE - Apache Software Foundation - Jakarta Isapi Redirector - 2.0 authComplete: 0 extensionUri: /jakarta/isapi_redirector2.dll logLevel: DEBUG serverRoot: f:\tomcat-4.1.18 threadPool: 20 workersFile: f:\tomcat-4.1.18\conf\ntiis\workers2.properties The correct workers2.properties + jk2.properties files can be found in the source release (2.0.2) of the JK2 connector. They are missing in the binary release and are not included in the normal Tomcat 4.1.18-distribution. == So you have to grab them out of the source distribution. === workers2.properties (location: anywhere you like, you have to point with the registry entry workersFile to the right filename). === [logger] level=DEBUG [config:] file=${serverRoot}/conf/workers2.properties debug=10 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=10 # Alternate file logger #[logger.file:0] #level=DEBUG #file=${serverRoot}/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=${serverRoot}/logs/jk2.shm size=100 debug=10 disabled=0 [workerEnv:] info=Global server options timing=1 debug=10 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [lb:lb] info=Default load balancer. debug=10 [lb:lb_1] info=A second load balancer. debug=10 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=10 tomcatId=localhost:8009 [channel.socket:localhost:8019] info=A second tomcat instance. debug=10 tomcatId=localhost:8019 lb_factor=1 group=lb group=lb_1 disabled=0 [channel.un:/opt/33/work/jk2.socket] info=A second channel connecting to localhost:8019 via unix socket tomcatId=localhost:8019 lb_factor=1 debug=10 [channel.jni:jni] info=The jni channel, used if tomcat is started inprocess [status:] info=Status worker, displays runtime informations [vm:] info=Parameters used to load a JVM in the server process #JVM=C:\jdk\jre\bin\hotspot\jvm.dll classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar OPT=-Dtomcat.home=${TOMCAT_HOME} OPT=-Dcatalina.home=${TOMCAT_HOME} OPT=-Xmx128M #OPT=-Djava.compiler=NONE disabled=1 [worker.jni:onStartup] info=Command to be executed by the VM on startup. This one will start tomcat. class=org/apache/jk/apr/TomcatStarter ARG=start # For Tomcat 5 use the 'stard' for startup argument # ARG=stard disabled=1 stdout=${serverRoot}/logs/stdout.log stderr=${serverRoot}/logs/stderr.log [worker.jni:onShutdown] info=Command to be executed by the VM on shutdown. This one will stop tomcat. class=org/apache/jk/apr/TomcatStarter ARG=stop disabled=1 [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: [uri:127.0.0.1:8003] info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it alias=myVirtualHost:8003 [uri:127.0.0.1:8003/ex] info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 ) context=/ex group=lb_1 [uri:/examples] info=Example webapp in the default context. context=/examples debug=10 [uri:/examples1/*] info=A second webapp, this time going to the second tomcat only. group=lb_1 debug=10 [uri:/examples/servlet/*] info=Prefix mapping debug=10 [uri:/examples/*.jsp] info=Extension mapping debug=10 [uri:/examples/*] info=Map the whole webapp debug=10 [uri:/examples/servlet/HelloW] info=Example with debug enabled. debug=10 === === jk2.properties (location: {$tomcat_home}/conf). === ## 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 #
RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
-Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:43 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Hi to all! I finally have found the solution: 2.0.1 and 2.0.2 is now working - it seems my try to use a different name for the redirector dll other than isapi_redirector2.dll has caused the trouble. I thought I could use isapi_redirector2_201.dll and enter it in the extensionUri and use it as filter in the IIS properties, but this didn't work. For everybody else to save hours of desperate research, I post my complete configuration here: === registry settings (edited using regedt32.exe) === SOFTWARE - Apache Software Foundation - Jakarta Isapi Redirector - 2.0 authComplete: 0 extensionUri: /jakarta/isapi_redirector2.dll logLevel: DEBUG serverRoot: f:\tomcat-4.1.18 threadPool: 20 workersFile: f:\tomcat-4.1.18\conf\ntiis\workers2.properties The correct workers2.properties + jk2.properties files can be found in the source release (2.0.2) of the JK2 connector. They are missing in the binary release and are not included in the normal Tomcat 4.1.18-distribution. == So you have to grab them out of the source distribution. === workers2.properties (location: anywhere you like, you have to point with the registry entry workersFile to the right filename). === [logger] level=DEBUG [config:] file=${serverRoot}/conf/workers2.properties debug=10 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=10 # Alternate file logger #[logger.file:0] #level=DEBUG #file=${serverRoot}/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=${serverRoot}/logs/jk2.shm size=100 debug=10 disabled=0 [workerEnv:] info=Global server options timing=1 debug=10 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [lb:lb] info=Default load balancer. debug=10 [lb:lb_1] info=A second load balancer. debug=10 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=10 tomcatId=localhost:8009 [channel.socket:localhost:8019] info=A second tomcat instance. debug=10 tomcatId=localhost:8019 lb_factor=1 group=lb group=lb_1 disabled=0 [channel.un:/opt/33/work/jk2.socket] info=A second channel connecting to localhost:8019 via unix socket tomcatId=localhost:8019 lb_factor=1 debug=10 [channel.jni:jni] info=The jni channel, used if tomcat is started inprocess [status:] info=Status worker, displays runtime informations [vm:] info=Parameters used to load a JVM in the server process #JVM=C:\jdk\jre\bin\hotspot\jvm.dll classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar OPT=-Dtomcat.home=${TOMCAT_HOME} OPT=-Dcatalina.home=${TOMCAT_HOME} OPT=-Xmx128M #OPT=-Djava.compiler=NONE disabled=1 [worker.jni:onStartup] info=Command to be executed by the VM on startup. This one will start tomcat. class=org/apache/jk/apr/TomcatStarter ARG=start # For Tomcat 5 use the 'stard' for startup argument # ARG=stard disabled=1 stdout=${serverRoot}/logs/stdout.log stderr=${serverRoot}/logs/stderr.log [worker.jni:onShutdown] info=Command to be executed by the VM on shutdown. This one will stop tomcat. class=org/apache/jk/apr/TomcatStarter ARG=stop disabled=1 [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: [uri:127.0.0.1:8003] info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it alias=myVirtualHost:8003 [uri:127.0.0.1:8003/ex] info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 ) context=/ex group=lb_1 [uri:/examples] info=Example webapp in the default context. context=/examples debug=10 [uri:/examples1/*] info=A second webapp, this time going to the second tomcat only. group=lb_1 debug=10 [uri:/examples/servlet/*] info=Prefix mapping debug=10 [uri:/examples/*.jsp] info=Extension mapping debug=10 [uri:/examples/*] info=Map the whole webapp debug=10 [uri:/examples/servlet/HelloW] info=Example with debug enabled. debug=10 === === jk2.properties (location: {$tomcat_home}/conf). === ## 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
RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Thanks very much, I was beginning to loose faith in this list as on two occasions this week I ask for the whereabouts of the properties files to no avail. Thanks for posting. Antoni -Original Message- From: Aparna Narla [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 March 2003 10:41 a.m. To: 'Tomcat Users List' Subject: RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:43 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Hi to all! I finally have found the solution: 2.0.1 and 2.0.2 is now working - it seems my try to use a different name for the redirector dll other than isapi_redirector2.dll has caused the trouble. I thought I could use isapi_redirector2_201.dll and enter it in the extensionUri and use it as filter in the IIS properties, but this didn't work. For everybody else to save hours of desperate research, I post my complete configuration here: === registry settings (edited using regedt32.exe) === SOFTWARE - Apache Software Foundation - Jakarta Isapi Redirector - 2.0 authComplete: 0 extensionUri: /jakarta/isapi_redirector2.dll logLevel: DEBUG serverRoot: f:\tomcat-4.1.18 threadPool: 20 workersFile: f:\tomcat-4.1.18\conf\ntiis\workers2.properties The correct workers2.properties + jk2.properties files can be found in the source release (2.0.2) of the JK2 connector. They are missing in the binary release and are not included in the normal Tomcat 4.1.18-distribution. == So you have to grab them out of the source distribution. === workers2.properties (location: anywhere you like, you have to point with the registry entry workersFile to the right filename). === [logger] level=DEBUG [config:] file=${serverRoot}/conf/workers2.properties debug=10 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=10 # Alternate file logger #[logger.file:0] #level=DEBUG #file=${serverRoot}/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=${serverRoot}/logs/jk2.shm size=100 debug=10 disabled=0 [workerEnv:] info=Global server options timing=1 debug=10 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [lb:lb] info=Default load balancer. debug=10 [lb:lb_1] info=A second load balancer. debug=10 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=10 tomcatId=localhost:8009 [channel.socket:localhost:8019] info=A second tomcat instance. debug=10 tomcatId=localhost:8019 lb_factor=1 group=lb group=lb_1 disabled=0 [channel.un:/opt/33/work/jk2.socket] info=A second channel connecting to localhost:8019 via unix socket tomcatId=localhost:8019 lb_factor=1 debug=10 [channel.jni:jni] info=The jni channel, used if tomcat is started inprocess [status:] info=Status worker, displays runtime informations [vm:] info=Parameters used to load a JVM in the server process #JVM=C:\jdk\jre\bin\hotspot\jvm.dll classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar OPT=-Dtomcat.home=${TOMCAT_HOME} OPT=-Dcatalina.home=${TOMCAT_HOME} OPT=-Xmx128M #OPT=-Djava.compiler=NONE disabled=1 [worker.jni:onStartup] info=Command to be executed by the VM on startup. This one will start tomcat. class=org/apache/jk/apr/TomcatStarter ARG=start # For Tomcat 5 use the 'stard' for startup argument # ARG=stard disabled=1 stdout=${serverRoot}/logs/stdout.log stderr=${serverRoot}/logs/stderr.log [worker.jni:onShutdown] info=Command to be executed by the VM on shutdown. This one will stop tomcat. class=org/apache/jk/apr/TomcatStarter ARG=stop disabled=1 [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: [uri:127.0.0.1:8003] info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it alias=myVirtualHost:8003 [uri:127.0.0.1:8003/ex] info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 ) context=/ex group=lb_1 [uri:/examples] info=Example webapp in the default context. context=/examples debug=10 [uri:/examples1/*] info=A second webapp, this time going to the second tomcat only. group=lb_1 debug=10 [uri:/examples/servlet/*] info=Prefix mapping debug=10 [uri:/examples/*.jsp] info=Extension mapping debug=10 [uri:/examples/*] info=Map the whole webapp debug=10 [uri:/examples/servlet/HelloW] info=Example with debug enabled. debug=10
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Hi Rick, I tried both fixes, but they failed. I also tried different releases (2.0.1, 2.0.2), but none worked. It also doesn't log properly, just fails when I look into the event viewer Event Type: Error Event Source: W3SVC Event Category: None Event ID: 115 Date: 10.03.2003 Time: 20:17:27 User: N/A Computer: DEVELOPER1 Description: The service could not bind instance 1. The data is the error code. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. Data: : 40 27 00 00 @'.. I cannot fully understand why jk 1.x works so smoothly, but 2.0.2 simply doesn't work out. Do you know any location where I can find more info about this error? Maybe I need a patch for IIS to fix this?? I've spent lots of hours trying to get this work, but troubleshooting this IIS connector is much harder than programming Java :) thx a lot for your input! johannes Rick Bullotta [EMAIL PROTECTED] 09.03.2003 15:34 Please respond to [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Here are a few differences between your configuration and mine: 1) My workers2.properties uses [shm:] instead of [shm]. 2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path syntax on Windows (for your SHM file). Try \\. Tomcat Users List [EMAIL PROTECTED] wrote: hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = 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 # # Socket configuration # handler.list=request,container,channelSocket #apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 = workers2.properties = # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm] file=f:/tomcat-4.1.18/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/examples/*] worker=ajp13:localhost:8009 [uri:/wartung/*] worker=ajp13:localhost:8009 [uri:/SignonClient/*] worker=ajp13:localhost:8009 thx Johannes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Actually, that error is generally related to IIS trying to start up when Apache Http server is running on the same port...make sure Apache http server is STOPPED and than Tomcat is not set up to be listening on port 80... Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:24 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Hi Rick, I tried both fixes, but they failed. I also tried different releases (2.0.1, 2.0.2), but none worked. It also doesn't log properly, just fails when I look into the event viewer Event Type: Error Event Source: W3SVC Event Category: None Event ID: 115 Date: 10.03.2003 Time: 20:17:27 User: N/A Computer: DEVELOPER1 Description: The service could not bind instance 1. The data is the error code. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. Data: : 40 27 00 00 @'.. I cannot fully understand why jk 1.x works so smoothly, but 2.0.2 simply doesn't work out. Do you know any location where I can find more info about this error? Maybe I need a patch for IIS to fix this?? I've spent lots of hours trying to get this work, but troubleshooting this IIS connector is much harder than programming Java :) thx a lot for your input! johannes Rick Bullotta [EMAIL PROTECTED] 09.03.2003 15:34 Please respond to [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Here are a few differences between your configuration and mine: 1) My workers2.properties uses [shm:] instead of [shm]. 2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path syntax on Windows (for your SHM file). Try \\. Tomcat Users List [EMAIL PROTECTED] wrote: hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = 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 # # Socket configuration # handler.list=request,container,channelSocket #apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 = workers2.properties = # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm] file=f:/tomcat-4.1.18/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/examples/*] worker=ajp13:localhost:8009 [uri:/wartung/*] worker=ajp13:localhost:8009 [uri:/SignonClient/*] worker=ajp13:localhost:8009 thx Johannes - 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: Tomcat 4.1.18 - IIS 5.0 plugin
Hi all, Thx Mark + Rick for your support. I tried to use your recommended settings and succeeded so far, as the green arrow is now showing after I restart IIS. However, I could not completely decipher the following settings (in Mark's jk2.properties): apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll What is this jkjni.dll? I could not find it in my bin-directory of default Tomcat 4.1.18 installation. Should I obtain it separately? Where can I get it? In general: I think the description of JK2 is quite hard to understand for a JK-newbie. Why does Rick only have one entry in his jk2.properties file and Mark has much more? Which one is right? Do I have to turn anything on in server.xml to get JK2 running? Any good links??? 2nd question: If I set logLevel to DEBUG, where does it write its log entries to? Shouldn't there be a setting for the file name? 3rd question: Rick, you wrote your configuration is a basic scenario, do you know a good description for more advanced scenarios? Eventually in the event log of W2K I still see the following error: The service could not bind instance 1. and the Plugin doesn't work. Does anybody know how I can track down this error: Screenshot of my registry entries: Luckily, with my version 1.0 of JK POST method is also working, so I currently have no urgent troubles with JK 1.0. thx johannes- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = 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 # # Socket configuration # handler.list=request,container,channelSocket #apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 = workers2.properties = # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm] file=f:/tomcat-4.1.18/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/examples/*] worker=ajp13:localhost:8009 [uri:/wartung/*] worker=ajp13:localhost:8009 [uri:/SignonClient/*] worker=ajp13:localhost:8009 thx Johannes
RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties
Here are a few differences between your configuration and mine: 1) My workers2.properties uses [shm:] instead of [shm]. 2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path syntax on Windows (for your SHM file). Try \\. Tomcat Users List [EMAIL PROTECTED] wrote: hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = 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 # # Socket configuration # handler.list=request,container,channelSocket #apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 = workers2.properties = # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm] file=f:/tomcat-4.1.18/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/examples/*] worker=ajp13:localhost:8009 [uri:/wartung/*] worker=ajp13:localhost:8009 [uri:/SignonClient/*] worker=ajp13:localhost:8009 thx Johannes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin
Chris, Unfortunately I cannot even confirm 2.0.1 works with MY configuration. Using 1.0, everything is ok. Using 2.0.1 or 2.0.2 however: *) there is no message in my logfile entered in the registry, although I turned log_level to debug *) I get the following error: Does anybody know what this message means? Here is a screenshot of my registry: I think it is really hard to debug the behaviour of the JK-Connector. Maybe a more detailed logging would help installing users a lot? thx Johannes Christopher Watson [EMAIL PROTECTED] 28.02.2003 10:50 Please respond to Tomcat Users List [EMAIL PROTECTED] To 'Tomcat Users List' [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin Johannes , All, I've found the 2.0.1 dll works - with jk2 style config, but not the 2.0.2 dll. Can anyone else confirm this is the case for them? If so, does anyone know why 2.0.2 is not working? Or what I need to change from 2.0.1 config to get it to work? (My workers2.properties, jk2.properites and exported registry are attached for the curious) If it's not a config, perhaps 2.0.2 should be fixed or removed? I only kind of by accident tried 2.0.1 and found it to work, having puzzled over 2.0.2 for a long time. My 2p (UK c version of 2 cents) Christopehr -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 08:08 To: Tomcat Users List Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin Dear Ben, isapi_redirector version 1.0 is running smoothly with Tomcat 4.1.18 on my PC. Being curious, I tried to get 2.0.2 running as well, but it didn't work out (the arrow stays red down). However, it should be running, because I used the same uriworkermap/workers.properties. Or did these files change for 2.0? Can you send me *) the working registry entries and *) uriworkermap.properties *) workers.properties *) the isapi_redirector2.dll you are using? I'd like to see 2.0 up and running as well! thx alot Johannes Schleimer, Ben [EMAIL PROTECTED] 27.02.2003 15:09 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.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] ÿþW i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0 [ H K E Y _ L O C A L _ M A C H I N E \ S O F T W A R E \ A p a c h e S o f t w a r e F o u n d a t i o n \ J a k a r t a I s a p i R e d i r e c t o r \ 2 . 0 ] s e r v e r R o o t = W : \ \ j a k a r t a - t o m c a t e x t e n s i o n U r i = / j a k a r t a / i s a p i _ r e d i r e c t o r 2 . d l l w o r k e r s F i l e = W : \ \ j a k a r t a - t o m c a t \ \ c o n f \ \ w o r k e r s 2 . p r o p e r t i e s a u t h C o m p l e t e = 0 t h r e a d P o o l = 2 0 l o g L e v e l = D E B U G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin
2.0.2 works fine for me on Windows/2000 Pro with both IIS 5 and Apache 2.0.43 with Tomcat 4.1.18 and j2sdk 1.4.1_01. I did find that I could not have both the version 1 and version 2 redirector in my registry. If I did, IIS would not connect to jk2. Once I removed that entry in the registry, isapi_redirector2.dll worked as advertised. This is a development machine so I have not stress-tested this configuration. The following are my configuration files and registry settings. HTH /mde/ just my two cents . . . . # # Socket configuration # handler.list=request,container,channelSocket,apr # # apr configuration # jk2.properties file in C:\Tomcat\conf # apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll # # socket configuration # channelSocket.port=8009 channelSocket.address=127.0.0.1 channelSocket.maxPort=port+10 # workers2.properties file in C:\Apache2\conf # only at beginning. In production uncomment it out # [logger.apache2] # level=DEBUG [shm] file=C:/Apache2/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:/examples/*.jsp] worker=ajp13:localhost:8009 [uri:/examples/servlet/*] worker=ajp13:localhost:8009 [uri:/cocoon/*] worker=ajp13:localhost:8009 [uri:/jetspeed/*] worker=ajp13:localhost:8009 [uri:/jfreeservlet/servlet/*] worker=ajp13:localhost:8009 [uri:/tomcat-docs/*.jsp] worker=ajp13:localhost:8009 [uri:/tomcat-docs/servlet/*] worker=ajp13:localhost:8009 [uri:/beg-jsp/*.jsp] worker=ajp13:localhost:8009 [uri:/beg-servlets/servlet/*] worker=ajp13:localhost:8009 [uri:/ora/*.jsp] worker=ajp13:localhost:8009 [uri:/ora/servlet/*] worker=ajp13:localhost:8009 [uri:/Addressbook/*] worker=ajp13:localhost:8009 [uri:/Xindice/*] worker=ajp13:localhost:8009 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] serverRoot=C:\\Tomcat extensionUri=/jakarta/isapi_redirector2.dll workersFile=C:\\Apache2\\conf\\workers2.properties logLevel=INFO __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin
JK2 uses a completely different set of registry keys and property file formats. Here are copies of what works for me (with 2.0.2), in a very basic installation scenario: workers.properties # = # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 [shm:] file=C:/Program Files/Apache Group/Tomcat 4.1/shm.file size=200 # Map the Tomcat uri paths as needed [uri:/examples/*] info=Map the whole webapp [uri:/servlet/*] info=Default invoker # = jk2.properties # = [shm] file=C:/Program Files/Apache Group/shm.file size=564249 # = registry entries Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] workersFile=c:\\Program Files\\Apache Group\\Tomcat 4.1\\conf\\workers2.properties logLevel=INFO serverRoot=c:\\Program Files\\Apache Group\\Tomcat 4.1 extensionUri=/jakarta/isapi_redirector2.dll Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com http://www.lighthammer.com/ ) -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:49 PM To: Tomcat Users List Subject: RE: Tomcat 4.1.18 - IIS 5.0 plugin Chris, Unfortunately I cannot even confirm 2.0.1 works with MY configuration. Using 1.0, everything is ok. Using 2.0.1 or 2.0.2 however: *) there is no message in my logfile entered in the registry, although I turned log_level to debug *) I get the following error: Does anybody know what this message means? Here is a screenshot of my registry: I think it is really hard to debug the behaviour of the JK-Connector. Maybe a more detailed logging would help installing users a lot? thx Johannes Christopher Watson [EMAIL PROTECTED] 28.02.2003 10:50 Please respond to Tomcat Users List [EMAIL PROTECTED] To 'Tomcat Users List' [EMAIL PROTECTED] cc Subject RE: Tomcat 4.1.18 - IIS 5.0 plugin Johannes , All, I've found the 2.0.1 dll works - with jk2 style config, but not the 2.0.2 dll. Can anyone else confirm this is the case for them? If so, does anyone know why 2.0.2 is not working? Or what I need to change from 2.0.1 config to get it to work? (My workers2.properties, jk2.properites and exported registry are attached for the curious) If it's not a config, perhaps 2.0.2 should be fixed or removed? I only kind of by accident tried 2.0.1 and found it to work, having puzzled over 2.0.2 for a long time. My 2p (UK c version of 2 cents) Christopehr -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 08:08 To: Tomcat Users List Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin Dear Ben, isapi_redirector version 1.0 is running smoothly with Tomcat 4.1.18 on my PC. Being curious, I tried to get 2.0.2 running as well, but it didn't work out (the arrow stays red down). However, it should be running, because I used the same uriworkermap/workers.properties. Or did these files change for 2.0? Can you send me *) the working registry entries and *) uriworkermap.properties *) workers.properties *) the isapi_redirector2.dll you are using? I'd like to see 2.0 up and running as well! thx alot Johannes Schleimer, Ben [EMAIL PROTECTED] 27.02.2003 15:09 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com
Re: Tomcat 4.1.18 - IIS 5.0 plugin
Dear Ben, isapi_redirector version 1.0 is running smoothly with Tomcat 4.1.18 on my PC. Being curious, I tried to get 2.0.2 running as well, but it didn't work out (the arrow stays red down). However, it should be running, because I used the same uriworkermap/workers.properties. Or did these files change for 2.0? Can you send me *) the working registry entries and *) uriworkermap.properties *) workers.properties *) the isapi_redirector2.dll you are using? I'd like to see 2.0 up and running as well! thx alot Johannes Schleimer, Ben [EMAIL PROTECTED] 27.02.2003 15:09 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS 5.0 plugin
Johannes , All, I've found the 2.0.1 dll works - with jk2 style config, but not the 2.0.2 dll. Can anyone else confirm this is the case for them? If so, does anyone know why 2.0.2 is not working? Or what I need to change from 2.0.1 config to get it to work? (My workers2.properties, jk2.properites and exported registry are attached for the curious) If it's not a config, perhaps 2.0.2 should be fixed or removed? I only kind of by accident tried 2.0.1 and found it to work, having puzzled over 2.0.2 for a long time. My 2p (UK c version of 2 cents) Christopehr -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 08:08 To: Tomcat Users List Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin Dear Ben, isapi_redirector version 1.0 is running smoothly with Tomcat 4.1.18 on my PC. Being curious, I tried to get 2.0.2 running as well, but it didn't work out (the arrow stays red down). However, it should be running, because I used the same uriworkermap/workers.properties. Or did these files change for 2.0? Can you send me *) the working registry entries and *) uriworkermap.properties *) workers.properties *) the isapi_redirector2.dll you are using? I'd like to see 2.0 up and running as well! thx alot Johannes Schleimer, Ben [EMAIL PROTECTED] 27.02.2003 15:09 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ÿþW i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0 [ H K E Y _ L O C A L _ M A C H I N E \ S O F T W A R E \ A p a c h e S o f t w a r e F o u n d a t i o n \ J a k a r t a I s a p i R e d i r e c t o r \ 2 . 0 ] s e r v e r R o o t = W : \ \ j a k a r t a - t o m c a t e x t e n s i o n U r i = / j a k a r t a / i s a p i _ r e d i r e c t o r 2 . d l l w o r k e r s F i l e = W : \ \ j a k a r t a - t o m c a t \ \ c o n f \ \ w o r k e r s 2 . p r o p e r t i e s a u t h C o m p l e t e = 0 t h r e a d P o o l = 2 0 l o g L e v e l = D E B U G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.18 - IIS 5.0 plugin
Hi, You need to get isapi_redirector2.dll from the JK2 connectors part of the website. I had the same problem. Also, the registry keys need to be in 2.0, not 1.0. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala = The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague - Edsger Dijkstra http://snow.prohosting.com/bensch __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.18 - IIS 5.0 plugin
Hi Johannes, Check Your configuration steps with these under this link: http://www.vacodi.com/howto/tomcat/iisnt/index.html (instead of Tomcat 4.0.1 You oght to use Your Tomcat 4.1.18). You should chek most of all Your registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] once again. Check 'workers.properties' file as well. It should to help get Yourself out of this trouble. Good luck, Konrad Rusz - Original Message - From: Johannes Fiala [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:01 AM Subject: Tomcat 4.1.18 - IIS 5.0 plugin hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1.18 - IIS 5.0 plugin
Hi Konrad, Thx alot for your hint!! After using the isapi_redirect.dll and the properties files of the link, it worked immediately, with the green arrow showing up after restart of IIS and the redirector working smoothly. It seems the version of isapi_redirector2.dll I used (jk 2.0.2) didn't work. Does anybody know why jk 2.0.2 doesn't work? Or is the old version of jk used with the 4.0.1 docs ( http://www.vacodi.com/howto/tomcat/iisnt/index.html) just fine? thx alot Johannes Fiala Konrad Rusz [EMAIL PROTECTED] 26.02.2003 11:19 Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Tomcat 4.1.18 - IIS 5.0 plugin Hi Johannes, Check Your configuration steps with these under this link: http://www.vacodi.com/howto/tomcat/iisnt/index.html (instead of Tomcat 4.0.1 You oght to use Your Tomcat 4.1.18). You should chek most of all Your registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] once again. Check 'workers.properties' file as well. It should to help get Yourself out of this trouble. Good luck, Konrad Rusz - Original Message - From: Johannes Fiala [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:01 AM Subject: Tomcat 4.1.18 - IIS 5.0 plugin hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event viewer) according to the howto. I created the virtual directory jakarta which displays the entry isapi_redirect.dll correctly. However, after I stop and start IIS 5.0 the ISAPI Filter shows the red arrow down. The log file I specified in the registry entry log_file is simplest, but there is no log file showing up (c:\isapi.log). Any ideas on where I have to look at for errors? thx alot Johannes Fiala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/Apache/IIS configuration issues
Just curious if anyone had had a look at this. I keep going over and over my configuration, but have yet to get the connector working properly (either on localhost or from some other networked webserver). Also, just to clarify, I did ensure that the httpd.conf and IIS are configured to actually use the connector. I omitted that on this post. Thanks, Brantley Hobbs -Original Message- From: Brantley Hobbs Sent: Wednesday, February 12, 2003 5:24 PM To: [EMAIL PROTECTED] Cc: Brantley Hobbs Subject: Tomcat/Apache/IIS configuration issues All, Let me just say up front that I'm relatively new to Tomcat, but I do know my way around Apache and IIS pretty well. My Problem: No matter what I do, I cannot sucessfully connect a webserver to Tomcat using either the IIS redirector or mod_jk2. I get HTTP 500 errors (Internal Server Error) when I try to browse the examples servlet. My configuration: Tomcat Server: Dual P3 800 1GB RAM Tons of available HDD space RedHat 7.1 Tomcat 4.1.18 Apache 2.0.44 JDK 1.3.1 06 IIS Server: Windows 2000 Advanced Server SP3 I'm using the JK2 configuration files found at this URL: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config howto.html Now, when I surf to http://localhost:8080/examples/ I get the expected output, so I'm pretty sure that Tomcat is running fine. When I do a 'netstat -l' I can see that something is listening on port 8009. Looking thru $CATALINA_HOME/logs/catalina.out, I get this when I start Tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.1.18 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=1/52 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties [INFO] ChannelSocket - -Port busy 8009 java.net.BindException: Address already in use [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8010 [INFO] JkMain - -Jk running ID=1 time=1/7 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties When I surf to http://localhost/examples/ I get the 500 error. Obviously, I get the same error when I try to connect from the IIS box (which is not on the same host, obviously). Here are my respective configuration files: [$CATALINA_HOME/conf/jk2.properties] # The default port is 8009 but you can use another one # channelSocket.port=8019 [server_root/conf/workers2.properties # 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 I figure I'll wait to get the whole thing working on localhost before I try to have an IIS box across the network try to use it. Thanks, Brantley Hobbs Application Developer Information Technology Outreach Services University of Georgia [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: Tomcat/Apache/IIS configuration issues
There's something already listening on port 8009. That's the Bind: Address already in use message. Are you sure there is only one copy of Tomcat running? Does your Tomcat server have multiple IP addresses? John -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:10 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Just curious if anyone had had a look at this. I keep going over and over my configuration, but have yet to get the connector working properly (either on localhost or from some other networked webserver). Also, just to clarify, I did ensure that the httpd.conf and IIS are configured to actually use the connector. I omitted that on this post. Thanks, Brantley Hobbs -Original Message- From: Brantley Hobbs Sent: Wednesday, February 12, 2003 5:24 PM To: [EMAIL PROTECTED] Cc: Brantley Hobbs Subject: Tomcat/Apache/IIS configuration issues All, Let me just say up front that I'm relatively new to Tomcat, but I do know my way around Apache and IIS pretty well. My Problem: No matter what I do, I cannot sucessfully connect a webserver to Tomcat using either the IIS redirector or mod_jk2. I get HTTP 500 errors (Internal Server Error) when I try to browse the examples servlet. My configuration: Tomcat Server: Dual P3 800 1GB RAM Tons of available HDD space RedHat 7.1 Tomcat 4.1.18 Apache 2.0.44 JDK 1.3.1 06 IIS Server: Windows 2000 Advanced Server SP3 I'm using the JK2 configuration files found at this URL: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config howto.html Now, when I surf to http://localhost:8080/examples/ I get the expected output, so I'm pretty sure that Tomcat is running fine. When I do a 'netstat -l' I can see that something is listening on port 8009. Looking thru $CATALINA_HOME/logs/catalina.out, I get this when I start Tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.1.18 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=1/52 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties [INFO] ChannelSocket - -Port busy 8009 java.net.BindException: Address already in use [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8010 [INFO] JkMain - -Jk running ID=1 time=1/7 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties When I surf to http://localhost/examples/ I get the 500 error. Obviously, I get the same error when I try to connect from the IIS box (which is not on the same host, obviously). Here are my respective configuration files: [$CATALINA_HOME/conf/jk2.properties] # The default port is 8009 but you can use another one # channelSocket.port=8019 [server_root/conf/workers2.properties # 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 I figure I'll wait to get the whole thing working on localhost before I try to have an IIS box across the network try to use it. Thanks, Brantley Hobbs Application Developer Information Technology Outreach Services University of Georgia [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] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/Apache/IIS configuration issues
Well, I saw that too, but I think maybe it's the result of a horked Tomcat configuration. When I stop tomcat, I no longer see anything listening on that port via netstat. When I start it, I see something listening there. I'm attaching my server.xml file (not posting inline to avoid cluttering an already lengthy post) if you think that might help. Brantley -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:15 AM To: 'Tomcat Users List' Subject: RE: Tomcat/Apache/IIS configuration issues There's something already listening on port 8009. That's the Bind: Address already in use message. Are you sure there is only one copy of Tomcat running? Does your Tomcat server have multiple IP addresses? John -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:10 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Just curious if anyone had had a look at this. I keep going over and over my configuration, but have yet to get the connector working properly (either on localhost or from some other networked webserver). Also, just to clarify, I did ensure that the httpd.conf and IIS are configured to actually use the connector. I omitted that on this post. Thanks, Brantley Hobbs -Original Message- From: Brantley Hobbs Sent: Wednesday, February 12, 2003 5:24 PM To: [EMAIL PROTECTED] Cc: Brantley Hobbs Subject: Tomcat/Apache/IIS configuration issues All, Let me just say up front that I'm relatively new to Tomcat, but I do know my way around Apache and IIS pretty well. My Problem: No matter what I do, I cannot sucessfully connect a webserver to Tomcat using either the IIS redirector or mod_jk2. I get HTTP 500 errors (Internal Server Error) when I try to browse the examples servlet. My configuration: Tomcat Server: Dual P3 800 1GB RAM Tons of available HDD space RedHat 7.1 Tomcat 4.1.18 Apache 2.0.44 JDK 1.3.1 06 IIS Server: Windows 2000 Advanced Server SP3 I'm using the JK2 configuration files found at this URL: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config howto.html Now, when I surf to http://localhost:8080/examples/ I get the expected output, so I'm pretty sure that Tomcat is running fine. When I do a 'netstat -l' I can see that something is listening on port 8009. Looking thru $CATALINA_HOME/logs/catalina.out, I get this when I start Tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.1.18 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=1/52 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties [INFO] ChannelSocket - -Port busy 8009 java.net.BindException: Address already in use [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8010 [INFO] JkMain - -Jk running ID=1 time=1/7 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties When I surf to http://localhost/examples/ I get the 500 error. Obviously, I get the same error when I try to connect from the IIS box (which is not on the same host, obviously). Here are my respective configuration files: [$CATALINA_HOME/conf/jk2.properties] # The default port is 8009 but you can use another one # channelSocket.port=8019 [server_root/conf/workers2.properties # 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 I figure I'll wait to get the whole thing working on localhost before I try to have an IIS box across the network try to use it. Thanks, Brantley Hobbs Application Developer Information Technology Outreach Services University of Georgia [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] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ?xml version='1.0' encoding
RE: Tomcat/Apache/IIS configuration issues
There are 2 connectors listening on 8009. There should only be two connectors total: one on 8080 (disabled in production), and one on 8009. John -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:23 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Well, I saw that too, but I think maybe it's the result of a horked Tomcat configuration. When I stop tomcat, I no longer see anything listening on that port via netstat. When I start it, I see something listening there. I'm attaching my server.xml file (not posting inline to avoid cluttering an already lengthy post) if you think that might help. Brantley -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:15 AM To: 'Tomcat Users List' Subject: RE: Tomcat/Apache/IIS configuration issues There's something already listening on port 8009. That's the Bind: Address already in use message. Are you sure there is only one copy of Tomcat running? Does your Tomcat server have multiple IP addresses? John -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:10 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Just curious if anyone had had a look at this. I keep going over and over my configuration, but have yet to get the connector working properly (either on localhost or from some other networked webserver). Also, just to clarify, I did ensure that the httpd.conf and IIS are configured to actually use the connector. I omitted that on this post. Thanks, Brantley Hobbs -Original Message- From: Brantley Hobbs Sent: Wednesday, February 12, 2003 5:24 PM To: [EMAIL PROTECTED] Cc: Brantley Hobbs Subject: Tomcat/Apache/IIS configuration issues All, Let me just say up front that I'm relatively new to Tomcat, but I do know my way around Apache and IIS pretty well. My Problem: No matter what I do, I cannot sucessfully connect a webserver to Tomcat using either the IIS redirector or mod_jk2. I get HTTP 500 errors (Internal Server Error) when I try to browse the examples servlet. My configuration: Tomcat Server: Dual P3 800 1GB RAM Tons of available HDD space RedHat 7.1 Tomcat 4.1.18 Apache 2.0.44 JDK 1.3.1 06 IIS Server: Windows 2000 Advanced Server SP3 I'm using the JK2 configuration files found at this URL: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config howto.html Now, when I surf to http://localhost:8080/examples/ I get the expected output, so I'm pretty sure that Tomcat is running fine. When I do a 'netstat -l' I can see that something is listening on port 8009. Looking thru $CATALINA_HOME/logs/catalina.out, I get this when I start Tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.1.18 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=1/52 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties [INFO] ChannelSocket - -Port busy 8009 java.net.BindException: Address already in use [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8010 [INFO] JkMain - -Jk running ID=1 time=1/7 config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties When I surf to http://localhost/examples/ I get the 500 error. Obviously, I get the same error when I try to connect from the IIS box (which is not on the same host, obviously). Here are my respective configuration files: [$CATALINA_HOME/conf/jk2.properties] # The default port is 8009 but you can use another one # channelSocket.port=8019 [server_root/conf/workers2.properties # 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 I figure I'll wait to get the whole thing working on localhost before I try to have an IIS box across the network try to use it. Thanks, Brantley Hobbs Application Developer Information Technology Outreach Services University of Georgia [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] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked
RE: Tomcat/Apache/IIS configuration issues
Okay, I removed one of the ones in server.xml and restarted both Apache and Tomcat. (I removed the one with the address label on it). I'm no longer getting the bind error when I start Tomcat, however I still don't get a connection between Apache and Tomcat (still getting 500 errors). I saw a thread here that said that mod_jk2 doesn't work on UNIX (something to that effect). What's that all about? Maybe I should just try mod_jk instead. Brantley -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:27 AM To: 'Tomcat Users List' Subject: RE: Tomcat/Apache/IIS configuration issues There are 2 connectors listening on 8009. There should only be two connectors total: one on 8080 (disabled in production), and one on 8009. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/Apache/IIS configuration issues
Not sure about the JK2 thing. AFAIK, there are several methods of connecting with JK2: socket, in-process, etc. Apparently the in-process part is broken, but I don't know the details and could be wrong...I don't use it enough to know. In my opinion, you'll get a quicker response if you go with JK. There are many people using it in production who have experience configuring it and debugging it. John -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:43 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Okay, I removed one of the ones in server.xml and restarted both Apache and Tomcat. (I removed the one with the address label on it). I'm no longer getting the bind error when I start Tomcat, however I still don't get a connection between Apache and Tomcat (still getting 500 errors). I saw a thread here that said that mod_jk2 doesn't work on UNIX (something to that effect). What's that all about? Maybe I should just try mod_jk instead. Brantley -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:27 AM To: 'Tomcat Users List' Subject: RE: Tomcat/Apache/IIS configuration issues There are 2 connectors listening on 8009. There should only be two connectors total: one on 8080 (disabled in production), and one on 8009. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null
Hi, I've seem to have resolved this problem my self. It seems like it's due to the fact I was locking a subdirectory under IIS but not the whole host. If I lock the host I get the domainname\username from getRemoteUser(). Thanx anyways. -reynir -Original Message- From: Reynir Hübner Sent: 27. janúar 2003 14:06 To: Tomcat Users List Subject: Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null Hi I'm using : Tomcat 4.1.18 IIS 5.1. (running on XP) JK2 (isapi_redirector2.dll) Jdk 1.4.1_1 I tried to set request.tomcatAuthentication=false In my jk2.properties. For some reason IIS does not authenticate the user, and when I ask for the user (on the first request) in a jsp document, with request.getRemoteUser() it returns null. Can anyone point me in the correct direction here ? I sent an email just before weekend, at that time I was trying to use the isapi_redirect(but not isapi_redirector2). I had similar problems at that time, and I was hoping configuring the new jk2 would solve that... Thanx - [EMAIL PROTECTED] -- 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]
solved: RE: Tomcat and IIS
Just want to give a solution for any other user.. I was missing /i1440/*.jsp=ajp13 /i1440/servlet/*=ajp13 in uriworkermap.properties after adding this and restarting tomcat, I started to see the 80 GET /jakarta/isapi_redirect.dll - 200 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0) entries in iis log Thank you Cecilia -Original Message- From: Schultz, Cecilia Sent: Tuesday, December 03, 2002 9:01 AM To: Tomcat Users List Subject: Tomcat and IIS Hi, I installed Tomcat 3.3.1, win2K server with IIS I followed the IIS HowTo and did all the additional IIS setup to have IIS redirect jsp/servlets to tomcat (started tomcat with jkconf option, generated the isapi_redirect.properties files in conf/auto, created Jakarta virtual directory on isapi_redirect.dll, restarted tomcat, etc) I have a simple test1.jsp with content: html body % String thispage=test1.jsp; % this page is %=thispage % /body /html I am able to see a this page is test1.jsp when I do: http://webapps2/examples/test1.jsp http://webapps2/admin/test2.jsp but when I try to see it in the web app that I set up (which is not not under c:\tomcat\webapps) I don't get to see the jsp part (I only see this page is) http://webapps2/i1440/test1.jsp i1440 is a virtual directory that points to a directory path F:\i1440root\opt\i1440\webapps\i1440 this directory has a WEB-INF under it, and a web.xml is inside this WEB-INF directory. At this point, the content of web.xml is very simple: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app descriptionJHU iTrack/description /web-app also, the content of c:\tomcat\conf\apps-i1440.xml is ?xml version=1.0 encoding=ISO-8859-1? webapps Context path=/i1440 docBase=F:/i1440root/opt/i1440/webapps/i1440 debug=0 trusted=true reloadable=true /Context /webapps Why am I doing wrong? why am I not able to see a test1.jsp under my i1440 web app? is tehre a restriction in Tomcat that your webapp needs to be under c:\tomcat\webapps ? Thanks in advance for your help Cecilia -- 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: tomcat n IIS plz.....help
Check this out http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 0/doc/jk/iishowto.html hope that helps. -Original Message- From: puneet sachar [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 12:39 To: Tomcat Users List Subject: tomcat n IIS plz.help thanx a lot johon again it was nice help buddy well if u got some time..plz send me the detail instruction and step by step guide to install tomcat with iis... i hope i'm not troubling u thanx a gain Puneet sachar __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.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: tomcat and IIS 5.0 exe files create problems
I meant 3.2.2...sorry never put my hands into 3.3 series. Consider two situations of serving .exe files. First I have no tomcat working alongside IIS 5.0. When I place the exe file in the web-folder, a request for the exe file would be responded to by the exe file right?(I dont think that was eloquent explanation...every one know that!) Now when I have tomcat installed I configured it so that only calls to jsp pages are handled by tomcat and all static pages by IIS. Now when I make for an exe file the file I dont get prompted for a download. After a few minutes, my event log shows an error saying that the script from URL /*.exe has not responded within the configured the timeout period. So it was terminated! Does that mean that instead of serving the page to the user the webserver is executing it on the server itself? Also, why would this same request work with IIS w/o tomcat? Thanks Prashanth --- Bill Barker [EMAIL PROTECTED] wrote: Way back in the yet-to-be-released 3.3.2. ;-) Having just checked, 3.3.1 (unchanged in 3.3.2-dev), Tomcat will assign the content-type of application/octet-stream to an .exe file by default. I don't use the isapi_redirector.dll myself, but I'll need more details to be able to determine if this is a Tomcat bug or not. Prashanth Pushpagiri [EMAIL PROTECTED] wrote in message news:20021103011916.90693.qmail;web20807.mail.yahoo.com... Hello everyone: I am running tomcat 4.1.12 on windows 2000 advanced server (IIS 5.0) and have been facing problems with exe files. note that this problem has been persistent ever since I started using tomcat(way back in version 3.3.2). When I have a website without tomcat working along-side IIS, I can serve exe files without any problem. But once I plug the ISAPI filter for tomcat into IIS, any request for exe files just hangs(no exe file is served). Has anyone else faced such a problem and resolved it previously? Does anyone have any specific instructions/suggestions to resolve this? I am in a bind as I am expected to serve .exe files. Any suggestions will be very helpful thanks Prashanth __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: tomcat and IIS 5.0 exe files create problems
Hi, I am trying to configure tomcat 4 with windows 2000 advanced server, but am failing miserably. Can anyone please help. I have configure tomcat with windows 2k, but am now trying to configure with w2k advanced server that will servce site to the Internet. thanks Darren - Original Message - From: Prashanth Pushpagiri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 03, 2002 1:19 AM Subject: tomcat and IIS 5.0 exe files create problems Hello everyone: I am running tomcat 4.1.12 on windows 2000 advanced server (IIS 5.0) and have been facing problems with exe files. note that this problem has been persistent ever since I started using tomcat(way back in version 3.3.2). When I have a website without tomcat working along-side IIS, I can serve exe files without any problem. But once I plug the ISAPI filter for tomcat into IIS, any request for exe files just hangs(no exe file is served). Has anyone else faced such a problem and resolved it previously? Does anyone have any specific instructions/suggestions to resolve this? I am in a bind as I am expected to serve .exe files. Any suggestions will be very helpful thanks Prashanth __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: tomcat and IIS 5.0 exe files create problems
Way back in the yet-to-be-released 3.3.2. ;-) Having just checked, 3.3.1 (unchanged in 3.3.2-dev), Tomcat will assign the content-type of application/octet-stream to an .exe file by default. I don't use the isapi_redirector.dll myself, but I'll need more details to be able to determine if this is a Tomcat bug or not. Prashanth Pushpagiri [EMAIL PROTECTED] wrote in message news:20021103011916.90693.qmail;web20807.mail.yahoo.com... Hello everyone: I am running tomcat 4.1.12 on windows 2000 advanced server (IIS 5.0) and have been facing problems with exe files. note that this problem has been persistent ever since I started using tomcat(way back in version 3.3.2). When I have a website without tomcat working along-side IIS, I can serve exe files without any problem. But once I plug the ISAPI filter for tomcat into IIS, any request for exe files just hangs(no exe file is served). Has anyone else faced such a problem and resolved it previously? Does anyone have any specific instructions/suggestions to resolve this? I am in a bind as I am expected to serve .exe files. Any suggestions will be very helpful thanks Prashanth __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org