Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 8541 invoked from network); 1 Apr 2003 17:18:52 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Apr 2003 17:18:52 -0000 Received: (qmail 10958 invoked by uid 97); 1 Apr 2003 17:20:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 10951 invoked from network); 1 Apr 2003 17:20:43 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Apr 2003 17:20:43 -0000 Received: (qmail 6636 invoked by uid 500); 1 Apr 2003 17:18:25 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 6599 invoked from network); 1 Apr 2003 17:18:25 -0000 Received: from sccrmhc01.attbi.com (204.127.202.61) by daedalus.apache.org with SMTP; 1 Apr 2003 17:18:25 -0000 Received: from nicki.visi.com (c-24-118-17-192.mn.client2.attbi.com[24.118.17.192]) by sccrmhc01.attbi.com (sccrmhc01) with SMTP id <2003040117182600100d0k60e>; Tue, 1 Apr 2003 17:18:26 +0000 Message-Id: <5.2.0.9.2.20030401111624.02ed6038@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 01 Apr 2003 11:20:47 -0600 To: "Tomcat Users List" From: Jacob Kjome Subject: RE: Tomcat 4 As A Windows Service In-Reply-To: <2390241F6AD45D4CB701BCC7885C56E5E0D0@ratt.mindflow.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_2038844640==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_2038844640==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I haven't tried this, but you could pass along a -Dcatalina.base=%CATALINA_BASE% When running the batch files to start Tomcat, the environment variable CATALINA_BASE, if specified, declares where your custom instance of Tomcat is with its own conf/server.xml (along with the other config files). If it isn't specified, CATALINA_BASE ends up being the same as CATALNIA_HOME. Try it out and see if it works for you. Note that for the instructions to work, you at least need CATALNIA_HOME and CATALINA_OPTS defined. Jake At 09:24 AM 4/1/2003 -0600, you wrote: >The main issue this does not *seem* to resolve, unless I am missing >something, is that there does not seem to be a place here for properly >configuring the ports for a second or third tomcat on the same machine. >Additional Tomcats need their own ports, correct? > >One solution to this *may* be to edit the service you just created >(i.e., open up properties for the service), and add an "additional >parameter" using the -config parameter. I believe (not sure) the syntax >is > -config conf/server.xml >where each instance would presumably use a different server.xml (named >appropriately) and specifying different ports. The conf/ is a relative >path to your Tomcat home directory, however you *may* be able to fully >specify a path to a unique server.xml file. I believe this is NT >service speak for the -F option (bin\Tomcat.exe -F server.xml) that >existed at least in Tomcat 3.2. > >One thing I'm still looking for an answer to is how to specify a >different classpath for a second or third Tomcat service, other than the > >-Djava.class.path parameter, i.e., the equivalent of the old >wrapper.properties file (assuming wrapper.properties is no longer >supported in Tomcat 4.1). Anyone have any info on this? The classpath >in web.xml doesn't seem to work for me, unless I have the syntax wrong. > >Andrew Longley > >-----Original Message----- >From: Jacob Kjome [mailto:hoju@visi.com] >Sent: Monday, March 31, 2003 8:23 PM >To: Tomcat Users List >Subject: Re: Tomcat 4 As A Windows Service > > >See: >http://www.mattkelli.com/tech/tomcat/ntservice.htm > >Jake > >At 05:52 PM 3/31/2003 -0600, you wrote: > >Hi, > > > >I have a need for multiple tomcats on Windows. I can't find any doco >on > >the jakarta website for doing this. > > > >Installing Tomat and choosing the "NT Service" option doesn't help me > >because I need multiple tomcats, not just one. > > > >I'm using Tomcat 4.0.6. I can install one tomcat as a service with > >tomcat.exe, but how do I set %CATALINA_BASE% so I can install more than >one > >service and have it point to the right conf files? > > > >Any help would be greatly appreciated. > > > >Thanks, > >Tom Johnson > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=====================_2038844640==.ALT--