Under Tomcat\bin, you will find service.bat, which installs Tomcat as a
Windows service.  If you just type "service" at the command line, it
should reply with some usage information identifying what you need to
do.  You'll have to give at least one of them a non-default service
name.  You might also be interested in reading through the batch file
itself, for more details.

Roger Alix-Gaudreau
Manhattan Associates, Inc.

-----Original Message-----
From: Yan Bai [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 23, 2006 2:56 PM
To: Tomcat Users List
Subject: Re: 2 tomcat on the same PC

Thanks Robert,
how to create services? could you pls shed some lights?

On 8/23/06, Robert Harper <[EMAIL PROTECTED]> wrote:
> Set up a command file for each version that sets the CATALINA_HOME to
the
> correct location. Also have the batch files set other needed
environment
> values as well.
>
> If you want both of them to run as a service, create a service for
both
> versions and set the command line. You could also set up a user for
each of
> them where the user specifies a different environment.
>
> Robert S. Harper
> Information Access Technology, Inc.
>
> -----Original Message-----
> From: Yan Bai [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 23, 2006 10:31 AM
> To: Tomcat Users List
> Subject: Re: 2 tomcat on the same PC
>
> It doesn't work in my case. even after changed the port numbers in one
> server.xml.
> I have both T4.1 and T5.5 installed on win XP.
> becoz CATALINA_HOME point to where T5 is, even explicitly call T4
> 'startup' script, T5 server is started.
> Any other tricks to make both work?
>
> On 8/18/06, Peter Crowther <[EMAIL PROTECTED]> wrote:
> > > From: tamri [mailto:[EMAIL PROTECTED]
> > > I have  installed tomcat1.5 on the same PC on the 2 other
> > > directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two
> > > tomcat together.
> > > I want to run theese two tomcats together, can I do this?
> > > how it to do?
> >
> > Pick one Tomcat.  Edit its conf/server.xml.  Find *all* the port
numbers
> > that are in use (usually the shutdown port and the default connector
> > port) and change each of them them to new values that are not
already in
> > use on your computer.  Save server.xml.  Start your two Tomcats.
> >
> >                 - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to