Re: Basic Setup Question...
FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most time-consuming/difficult. For the last 2, copious examples now exist on the jakarta web site and elsewhere on the 'net. Matt -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Basic Setup Question...
Matt, Thanks, I've got everything working now! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.com -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM To: Tomcat Users List Subject: Re: Basic Setup Question... FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most time-consuming/difficult. For the last 2, copious examples now exist on the jakarta web site and elsewhere on the 'net. Matt -- 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: Basic Setup Question...
You need a workers.properties file, as well. You will need to change server.xml if you use virtual host names...the default server.xml has Host elements defined for localhost only. John -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM To: Tomcat Users List Subject: Re: Basic Setup Question... FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most time-consuming/difficult. For the last 2, copious examples now exist on the jakarta web site and elsewhere on the 'net. Matt -- 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: Basic Setup Question...
On Tue, Nov 12, 2002 at 07:39:55AM -0500, Turner, John wrote: You need a workers.properties file, as well. Ah yes, good catch. I meant to write workers.properties instead of mod_jk.conf. You will need to change server.xml if you use virtual host names...the default server.xml has Host elements defined for localhost only. Yep. The reason I suggest not to change the default server.xml at first is that it is much better imho to start from a known working config and then only change one thing at a time. The other thing, in contrast to your excellent howto is that many people (like me) have apache and tomcat on different machines, so using auto config is a non-starter. -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM To: Tomcat Users List Subject: Re: Basic Setup Question... FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most time-consuming/difficult. For the last 2, copious examples now exist on the jakarta web site and elsewhere on the 'net. Matt -- 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 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Basic Setup Question...
Agreed. I just recommend using the auto-config option as a benchmark for a correct httpd.conf segment. Even if you can't do the Include because the services are on separate machines, it provides a great reference. John -Original Message- From: Matthew Hannigan To: Tomcat Users List Sent: 11/12/02 6:58 PM Subject: Re: Basic Setup Question... On Tue, Nov 12, 2002 at 07:39:55AM -0500, Turner, John wrote: You need a workers.properties file, as well. Ah yes, good catch. I meant to write workers.properties instead of mod_jk.conf. You will need to change server.xml if you use virtual host names...the default server.xml has Host elements defined for localhost only. Yep. The reason I suggest not to change the default server.xml at first is that it is much better imho to start from a known working config and then only change one thing at a time. The other thing, in contrast to your excellent howto is that many people (like me) have apache and tomcat on different machines, so using auto config is a non-starter. -Original Message- From: mlh [mailto:mlh;zip.com.au] Sent: Tuesday, November 12, 2002 7:27 AM To: Tomcat Users List Subject: Re: Basic Setup Question... FWIW, you do not have to do ANYTHING to the server.xml as distributed to be able to have apache forward *.jsp's to tomcat. All you have to do is install mod_jk in apache, edit apache's httpd.conf and write the mod_jk.conf. Of these 3, building and installing the mod_jk.so is perhaps the most time-consuming/difficult. For the last 2, copious examples now exist on the jakarta web site and elsewhere on the 'net. Matt -- 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 -- 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: Basic Setup Question...
Yes, you're missing a connector and a significant amount of configuration. Before going down this road, you should determine whether you even need Apache or not. You can run Tomcat alone on port 80. If you decide you want to use Apache + Tomcat, then you will need to pick a connector, install a binary or build it from source, and configure it. Without knowing what you plan to do, there's no point in describing the whole process. It does come up several times a day, so you are welcome to search the archives. If you'd like to take a look at the official documentation, look here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html If you'd like to take a look at some HOWTOs for Linux and Solaris, look here: http://www.johnturner.com/howto John -Original Message- From: Chuck Williams [mailto:cwilliams;vitria.com] Sent: Monday, November 11, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: Basic Setup Question... I'm just getting the pieces I need setup and am having trouble getting Tomcat to work with Apache. My Apache server runs just fine. My standalone Tomcat server runs just fine. What do I need to do to get Apache to forward servlet/JSP requests to Tomcat? I've setup the Tomcat-Apache service as follows: !-- Define the Tomcat Apache Service -- Service name=Tomcat-Apache !-- Define a connection to Apache -- Connector className=org.apache.catalina.connector.warp.WarpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log suffix=.txt timestamp=true / Realm className=org.apache.catalina.realm.MemoryRealm / Host name=switchblade Context path= docBase=/usr2/apache/htdocs reloadable=true debug=0 / /Host /Engine /Service Am I missing anything? Thanks to all in advance! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.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: Basic Setup Question...
As suggested today by Tiago Ferraz Machad there is howto for warp connection http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_03.jsp On Mon, 11 Nov 2002 10:02:50 -0800 Chuck Williams [EMAIL PROTECTED] wrote: I'm just getting the pieces I need setup and am having trouble getting Tomcat to work with Apache. My Apache server runs just fine. My standalone Tomcat server runs just fine. What do I need to do to get Apache to forward servlet/JSP requests to Tomcat? I've setup the Tomcat-Apache service as follows: !-- Define the Tomcat Apache Service -- Service name=Tomcat-Apache !-- Define a connection to Apache -- Connector className=org.apache.catalina.connector.warp.WarpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log suffix=.txt timestamp=true / Realm className=org.apache.catalina.realm.MemoryRealm / Host name=switchblade Context path= docBase=/usr2/apache/htdocs reloadable=true debug=0 / /Host /Engine /Service Am I missing anything? Thanks to all in advance! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.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: Basic Setup Question...
mod_webapp, as far as I know, is no longer actively developed. The actively supported connectors at the moment are JK (mod_jk) and JK2 (mod_jk2), with current and future development efforts going to JK2. John -Original Message- From: Jdev [mailto:jdev;javanet.info] Sent: Monday, November 11, 2002 1:39 PM To: Tomcat Users List Subject: Re: Basic Setup Question... As suggested today by Tiago Ferraz Machad there is howto for warp connection http://www.codesta.com/knowledge/technical/tomcat_warp_apache/ page_03.jsp On Mon, 11 Nov 2002 10:02:50 -0800 Chuck Williams [EMAIL PROTECTED] wrote: I'm just getting the pieces I need setup and am having trouble getting Tomcat to work with Apache. My Apache server runs just fine. My standalone Tomcat server runs just fine. What do I need to do to get Apache to forward servlet/JSP requests to Tomcat? I've setup the Tomcat-Apache service as follows: !-- Define the Tomcat Apache Service -- Service name=Tomcat-Apache !-- Define a connection to Apache -- Connector className=org.apache.catalina.connector.warp.WarpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log suffix=.txt timestamp=true / Realm className=org.apache.catalina.realm.MemoryRealm / Host name=switchblade Context path= docBase=/usr2/apache/htdocs reloadable=true debug=0 / /Host /Engine /Service Am I missing anything? Thanks to all in advance! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.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 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: [BULK] - RE: Basic Setup Question...
Thanks for the links/info! I'm up and running with mod_jk on Apache 2.0.39 and Tomcat 4.0.3! Ta! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.com -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Monday, November 11, 2002 1:06 PM To: 'Tomcat Users List' Subject: [BULK] - RE: Basic Setup Question... Yes, you're missing a connector and a significant amount of configuration. Before going down this road, you should determine whether you even need Apache or not. You can run Tomcat alone on port 80. If you decide you want to use Apache + Tomcat, then you will need to pick a connector, install a binary or build it from source, and configure it. Without knowing what you plan to do, there's no point in describing the whole process. It does come up several times a day, so you are welcome to search the archives. If you'd like to take a look at the official documentation, look here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html If you'd like to take a look at some HOWTOs for Linux and Solaris, look here: http://www.johnturner.com/howto John -Original Message- From: Chuck Williams [mailto:cwilliams;vitria.com] Sent: Monday, November 11, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: Basic Setup Question... I'm just getting the pieces I need setup and am having trouble getting Tomcat to work with Apache. My Apache server runs just fine. My standalone Tomcat server runs just fine. What do I need to do to get Apache to forward servlet/JSP requests to Tomcat? I've setup the Tomcat-Apache service as follows: !-- Define the Tomcat Apache Service -- Service name=Tomcat-Apache !-- Define a connection to Apache -- Connector className=org.apache.catalina.connector.warp.WarpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log suffix=.txt timestamp=true / Realm className=org.apache.catalina.realm.MemoryRealm / Host name=switchblade Context path= docBase=/usr2/apache/htdocs reloadable=true debug=0 / /Host /Engine /Service Am I missing anything? Thanks to all in advance! Charles Williams Sr. Solutions Architect Document Switch Team 703-338-5162 http://www.vitria.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 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org