This question seems to get asked every few days. How could I get a HOWTO included in the Tomcat distribution??
------------------------------ Tomcat isn't the main server - however, for mod_web_app to work and integrate the two Tomcat must start /before/ Apache which is what the dependency means. Do you really need Service+? Not really, you can manually edit the registry. You can find a solution for this if you search in Google. You need to set up web.xml for all your applications. Then you need to put in a connector in the Apache configuration if you want it to forward requests for that application on port 80 to Tomcat. Without establishing the dependency you will have to do the restarting by hand - and Apache/Tomcat integration won't work "out the box" when you boot up the machine. So - you don't have to do this, but it makes things work /properly/. The best example of a *.war to get going with is perhaps bookstore.war which you can find in the Java Tutorial (http://java.sun.com/docs/books/tutorial/servlets/index.html). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Larry Chambers Sent: 26 March 2002 14:22 To: [EMAIL PROTECTED] Subject: RE: RE: Configuring Tomcat 4 4) Integrate Tomcat and Apache Add the following lines to httpd.conf: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c You need to configure a connector in httpd.conf (examples shown for the modules you can export initially - remove the comments to enable them): So this below is the connector? I have no idea what it means. Do I not need to do anything to the server.xml or web.xml for tomcat? <IfModule mod_webapp.c> WebAppConnection warpConnection warp localhost:8008 WebAppInfo /webapp-info #WebAppDeploy examples warpConnection /examples #WebAppDeploy webdav warpConnection /webdav </IfModule> Before restarting Apache download Service+ from ActivePlus and use it to set Apache as depending on Tomcat. Then restart Apache (Tomcat will restart automatically). I don't want tomcat as the main server. Also is it necessary to get the Service+? _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>