setting up tomcat and apache to run together
Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -gregHealantWeb Developer[EMAIL PROTECTED][EMAIL PROTECTED]336-370-0604 x111 BEGIN:VCARD VERSION:2.1 N:Chakmakian;L.;Gregory FN:L. Gregory Chakmakian ORG:Healant TITLE:Senior Developer TEL;WORK;VOICE:(336) 370-0604 TEL;CELL;VOICE:(336) 253-3855 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;306 E. Market St=0D=0AFirst Floor;Greensboro;NC;27401;United States of Ame= rica LABEL;WORK;ENCODING=QUOTED-PRINTABLE:306 E. Market St=0D=0AFirst Floor=0D=0AGreensboro, NC 27401=0D=0AUnited Stat= es of America URL: URL:http://www.healant.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20001011T192833Z END:VCARD
Re: setting up tomcat and apache to run together
Title: Re: setting up tomcat and apache to run together Greg- There is quite a bit of documentation on using Tomcat with Apache. You need to use mod_jk with Apache to redirect the requests. Look up the docs, I think youll figure it out. Good choice of platform BTW. :-) Hunter From: Greg Chakmakian [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 18 Apr 2001 11:48:45 -0400 To: [EMAIL PROTECTED] Subject: setting up tomcat and apache to run together Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -greg Healant Web Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 336-370-0604 x111
RE: setting up tomcat and apache to run together
Why does nobody wants to read the HowTo-files ??? Tomcat 3.2.1 comes with three VERY usefull files which are : tomcat-apache-howto.html and Tomcat-Workers-HowTo.html and mod_jk-howto.html These files are also on the jakarta.apache.org website, so why don't you want to read this howto... They have been designed to be read ! A lot of people spent nights to write them (;-) ), so, please take a look at them... If you want, I can even send them to you... Benot -Message d'origine- De : Greg Chakmakian [mailto:[EMAIL PROTECTED]] Envoy : mercredi 18 avril 2001 17:49 : [EMAIL PROTECTED] Objet : setting up tomcat and apache to run together Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -greg Healant Web Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 336-370-0604 x111
Re: setting up tomcat and apache to run together
The document you want to consult is the Tomcat-Apache howto which should be under the tomcat/doc directory of the tomcat install. Basically you end up including a file generated by tomcat in your apache's httpd.conf, and sticking mod)jk.so where apache can load it from (e.g. libexec). The online version of this doc is at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto.html Although your best of going straight to: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html as the Tomcat-Apache how-to confuses things by saying "Don't use Jserv. Heres how you use Jserv" sam - Original Message - From: Greg Chakmakian To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 4:48 PM Subject: setting up tomcat and apache to run together Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -gregHealantWeb Developer[EMAIL PROTECTED][EMAIL PROTECTED]336-370-0604 x111
Re: setting up tomcat and apache to run together
Hi, Greg Take a look at the Tomcat Documentation Page and look under the entry "Integrating Tomcat with a Webserver." There are links there on how to do this for Apache, IIS, and Netscape. The instructions, however, are Windows- and UNIX-specific, so you might have to take it from there for MacOS X. Cheers, Noel Lecaros Greg Chakmakian wrote: Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated.-greg Healant Web Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 336-370-0604 x111
RE: setting up tomcat and apache to run together
Because 1) Not everyone knows about them (unfortunately, Tomcat and Apache are downloadable from many places other than apache.org sites) 2) The how-to's are missing a few key pieces of information - not that they aren't good, but handing a how-to to a novice user is not the complete answer, but agreed people should probably start there. my 3 cents (inflation, don't you know...) Darrell -Original Message- From: Benot Jacquemont [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 9:11 AM To: [EMAIL PROTECTED] Subject: RE: setting up tomcat and apache to run together Why does nobody wants to read the HowTo-files ??? Tomcat 3.2.1 comes with three VERY usefull files which are : tomcat-apache-howto.html and Tomcat-Workers-HowTo.html and mod_jk-howto.html These files are also on the jakarta.apache.org website, so why don't you want to read this howto... They have been designed to be read ! A lot of people spent nights to write them (;-) ), so, please take a look at them... If you want, I can even send them to you... Benot -Message d'origine- De : Greg Chakmakian [mailto:[EMAIL PROTECTED]] Envoy : mercredi 18 avril 2001 17:49 : [EMAIL PROTECTED] Objet : setting up tomcat and apache to run together Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -greg Healant Web Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 336-370-0604 x111
Re: setting up tomcat and apache to run together
The other problem is that there are very few informative links on either the Jakarta or the Tomcat sites. Do you realize that there is no link to the documentation anywhere? (or if it's there, it's impossible to find...) There are links to the FAQ, to the servlet spec and API, to the sun jsp pages, etc... but no link to the Tomcat documentation. Also, I just found out a few days ago that rpms are available for most Tomcat installs. However, if you don't know where to look for them on the Jakarta site, you'll never find them because there aren't any links to them. Isn't that a little odd? I'll see your 3 cents and raise you a penny... --jeff - Original Message - From: "Darrell Porter" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 11:04 AM Subject: RE: setting up tomcat and apache to run together Because 1) Not everyone knows about them (unfortunately, Tomcat and Apache are downloadable from many places other than apache.org sites) 2) The how-to's are missing a few key pieces of information - not that they aren't good, but handing a how-to to a novice user is not the complete answer, but agreed people should probably start there. my 3 cents (inflation, don't you know...) Darrell -Original Message- From: Benot Jacquemont [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 9:11 AM To: [EMAIL PROTECTED] Subject: RE: setting up tomcat and apache to run together Why does nobody wants to read the HowTo-files ??? Tomcat 3.2.1 comes with three VERY usefull files which are : tomcat-apache-howto.html and Tomcat-Workers-HowTo.html and mod_jk-howto.html These files are also on the jakarta.apache.org website, so why don't you want to read this howto... They have been designed to be read ! A lot of people spent nights to write them (;-) ), so, please take a look at them... If you want, I can even send them to you... Benot -Message d'origine- De : Greg Chakmakian [mailto:[EMAIL PROTECTED]] Envoy : mercredi 18 avril 2001 17:49 : [EMAIL PROTECTED] Objet : setting up tomcat and apache to run together Bear with me, I know you all have probably already been through this one before. I have Apache (for Darwin/Mac OS X) and Tomcat 3.2.1. They both run great by themselves; apache on port 80 and tomcat on 8080. I want to setup the two so that if I go to a jsp page on Apache it will use tomcat to process the jsp pages; i.e - http://www.apache.org/test.jsp gets processed by tomcat even though its being access through apache. I know I can turn off apache and reconfigure tomcat so that it runs off of port 80, but I would rather do it the other way. Like I said, I know this has probably been discussed and I apologize for being repetitive. I couldn't find any information on how to do this. Any help or direction you all could give would be greatly appreciated. -greg Healant Web Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 336-370-0604 x111
Re: setting up tomcat and apache to run together
Jeff's right, the links are either not there or very well hidden. I just happened upon the rpm's well after I had started using Tomcat myself. At 11:38 AM 4/18/2001 -0700, Jeff Kilbride wrote: The other problem is that there are very few informative links on either the Jakarta or the Tomcat sites. Do you realize that there is no link to the documentation anywhere? (or if it's there, it's impossible to find...) There are links to the FAQ, to the servlet spec and API, to the sun jsp pages, etc... but no link to the Tomcat documentation. Also, I just found out a few days ago that rpms are available for most Tomcat installs. However, if you don't know where to look for them on the Jakarta site, you'll never find them because there aren't any links to them.