Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 91337 invoked from network); 22 Aug 2000 15:25:43 -0000 Received: from interaccess.com.pe (HELO iasrv.interaccess.com.pe) (200.37.61.130) by locus.apache.org with SMTP; 22 Aug 2000 15:25:43 -0000 Received: from interaccess.com.pe ([200.37.61.160]) by iasrv.interaccess.com.pe (8.8.5/SCO5) with ESMTP id KAA13474; Tue, 22 Aug 2000 10:32:36 -0500 (LimaPeru) Message-ID: <39A29D49.D1AE7036@interaccess.com.pe> Date: Tue, 22 Aug 2000 10:33:30 -0500 From: Wilhelm Colln Organization: IA X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org CC: Rachel Greenham Subject: Re: [Q] Some questions about configuration, JServ vs. Tomcat References: <39A110AA.D8ED8747@enetgroup.co.uk> <10602.000821@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N These are good tips. Please help me to buil the "mod_jserv.so" for tomcat 3.1 I am using Unixware 7.11 and have both the souce and the binary version of Tomcat 3.1. Thanks Wilhelm Sandor Spruit wrote: > Rachel, > > Thanks for your rapid response ! > > On Monday, August 21, 2000, 1:21:14 PM, you wrote: > > Rachel> Sandor Spruit wrote: > >> > >> Folks, > >> > >> I'm a bit confused. I've got Apache and Tomcat running allright, but I > >> do not feel very confident about my understanding their configuration. > >> So, before I start messing around with my own apps, servlets etc., I'd > >> like some basic feedback: is my summary of the config stuff correct ? > > Rachel> As a general point, I think it's better to consider Tomcat to > Rachel> be a *completely* different product to the old Apache JServ. > Rachel> It's configuration system is very different indeed. > > Right. That's what I figured. All I was trying to do is to see where > the various JServ configuration options can be found in Tomcat. Not > the exact same options, but those with similar meaning. > > Rachel> (Also remember that the mod_jserv you want is different too: > Rachel> The one from Apache JServ won't serve Tomcat.) > > You mean: I need a different DLL from the one that comes with JServ > 1.1.2 ? The one found in the Tomcat win32 binary 3.1 release ? > > Rachel> You only need mod_jserv to run Tomcat with Apache. You don't > Rachel> need it if you're going to run Tomcat standalone. > > Yep. > > Rachel> If you run it with Apache, you need to include > Rachel> $TOMCAT_HOME/conf/tomcat.conf into your httpd.conf. Usually > Rachel> you can leave tomcat.conf unchanged. > > That's what I did. > > Rachel> Then the main configuration file is > Rachel> $TOMCAT_HOME/conf/server.xml. You should usually only need to > Rachel> set up your web application context roots here (the > Rachel> tags). Then all other configuration is > Rachel> done in the web application directory - either you can put it > Rachel> in $TOMCAT_HOME/conf/webapps (in which case you don't even > > Shouldn't this be: $TOMCAT_HOME/webapps ? > > Rachel> need to change server.xml) or you can specify a root anywhere > Rachel> else in server.xml. Inside your web application root, you can > Rachel> (optionally) have a WEB-INF directory which contains further > Rachel> configuration such as a web.xml file to set up mappings, > Rachel> aliases etc. for that web application, any tag library > Rachel> definitions and any classes and other libraries needed. Follow > Rachel> the documentation for this. > > Yeah, sure :) > > Rachel> The Holy Grail of all this is that you should be able to wrap > Rachel> up your entire web application into a .war file which you can > Rachel> take and deploy straight into *any* J2EE-compliant web > Rachel> application server without worrying about any external > Rachel> dependencies. > > That I'd already concluded from the docs ... > Thanks again, your message was a great help ! > > Regards, > Sandor > > -- > ir A.G.L. Spruit, Utrecht University, the Netherlands > Institute of information and computing sciences > "There is a bit of magic in everything, and then some > loss to even things out" (from: Lou Reed, "Magic and Loss")