So its more complicated than configuring server.xml for first instance
(e.g. Sakai) as:

    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="8443"
acceptCount="100"
               debug="0" connectionTimeout="20000" 
               disableUploadTimeout="true" />

And the second server.xml for the second tomcat instance to be (notice
8080 is now 80):

    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector port="80"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="8443"
acceptCount="100"
               debug="0" connectionTimeout="20000" 
               disableUploadTimeout="true" />

I need to go read the doc?

Luke

>>> [EMAIL PROTECTED] 10/28/2004 1:08:28 PM >>>
you can have them run at the same time but you need to configure them
to run
on separate ports.  for your standard TC 5.0.28 the file to edit is
CATALINA_HOME/conf/server.xml - see the docs at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html for
an
explanation of how server.xml works (click links in the left margin to
access further pages)

> -----Original Message-----
> From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday 28 October 2004 19:29
> To: Tomcat Users List
> Subject: RE: newbie question
> 
> 
> you have conflict in ports, both tomcats can not run on the 
> same port at the
> same time.
> instead of calling start.bat, call "catalina.bat run" to have 
> the windows
> stay the same and not shutdown on you
> 
> FIlip
> 
> -----Original Message-----
> From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 28, 2004 1:27 PM
> To: [EMAIL PROTECTED] 
> Subject: RE: newbie question
> 
> 
> Can you run multiple instances of Tomcat? I tried this but I ran
into
> problems.
> 
> I'm running Sakai (the open source Learning Management System) which
> installs its own Tomcat engine.  When I try to start up my 
> own non-Sakai
> Tomcat instance from the command line (which resides in a completely
> separate jakarta-tomcat-5.0.28 folder) a new DOS window pops up and
it
> seems like it goes through the entire deployment in the conventional
> manner.  But instead of staying open, that second DOS window 
> eventually
> closes.  And then when I try to request pages against the 
> second Tomcat
> instance I don't get anything back in the browser.  The Sakai
instance
> still serves pages correctly.
> 
> However, if the Sakai Tomcat server is turned off I can turn on my
> other instance and serve pages from it.  Is there a way to make both
> Tomcat engines run simultaneously without conflict?
> 
> Cheers,
> 
> Luke Fernandez
> 
> 
> 
> >>> [EMAIL PROTECTED] 10/28/2004 11:11:05 AM >>>
> Or you could run multiple instances of Tomcat
> 
> 
> 
> On Thu, 2004-10-28 at 12:23, Shapira, Yoav wrote:
> > Hi,
> > Yes: define separate Engines or Services for the two apps in your
> > server.xml, and put each connector only in the Service where you
> want
> > it.
> >
> > Yoav Shapira http://www.yoavshapira.com 
> >
> >
> > >-----Original Message-----
> > >From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] 
> > >Sent: Thursday, October 28, 2004 12:16 PM
> > >To: [EMAIL PROTECTED] 
> > >Subject: newbie question
> > >
> > >Is there an easy way to specify that one of the apps in the
webapps
> > >folder be served off one port (e.g. 80) whereas another app
should
> be
> > >served off another port (8080)?
> > >
> > >Thanks for your help,
> > >
> > >Luke Fernandez
> > >Weber State University
> > >
> >
>
>---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]

> > >For additional commands, e-mail: 
> [EMAIL PROTECTED] 
> 
> >
> >
> >
> >
> > This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an)
> intended recipient, please immediately delete this e-mail from your
> computer system and notify the sender.  Thank you.
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]

> > For additional commands, e-mail:
[EMAIL PROTECTED] 
> 
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED]

> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED]

> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED]

> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to