tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Longley, Andrew" <>
Subject RE: Tomcat 4 As A Windows Service
Date Tue, 01 Apr 2003 15:24:03 GMT
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
  -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 file (assuming 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 [] 
Sent: Monday, March 31, 2003 8:23 PM
To: Tomcat Users List
Subject: Re: Tomcat 4 As A Windows Service



At 05:52 PM 3/31/2003 -0600, you wrote:
>I have a need for multiple tomcats on Windows.  I can't find any doco
>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
>service and have it point to the right conf files?
>Any help would be greatly appreciated.
>Tom Johnson
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message