Some more thooughts that came to mind after hitting "send":

You might find it easier to use "server-minimal.xml" if you are using TC
5.0.28 standalone. It's much smaller and easier to follow if you are just
getting started.  Restart the server after you have replaced the file.

Re your changed TC 5.0.28 config below, two minor points: 
(a) you have not edited "8080" to "80" in the comment line.  Of course this
has no functional impact, but might cause to to mis-read the config file
later.  It's a good habit to always review and edit the comments associated
with your code when you edit the code itself.
(b) you have left the redirectPort as 8443 in both cases.  Again, this won't
affect you at first, and might even be what you want, but if it's not what
you want, it might catch you our later if you don't change it now.

> -----Original Message-----
> From: Steve Kirk [mailto:[EMAIL PROTECTED] 
> Sent: Thursday 28 October 2004 20:27
> To: 'Tomcat Users List'
> Subject: RE: newbie question
> 
> 
> I would advise that you read the doc, because it only takes a 
> few mins, and
> then you'll understand what's really happening ;)
> 
> But to get you going, assuming that you have not changed the standard
> server.xml significantly:
> 
> 1. Change any active connector ports.  The one you mention 
> below is the
> first, but you need to change any others that are active, 
> that are the same
> in both servers.
> 
> 2. Locate the server tag (at the top of the file) and change 
> its shutdown
> port (it can't be the same for both, otherwise both servers 
> try to run a
> shutdown listener service on the same port) e.g. <Server port="8005"
> shutdown="SHUTDOWN" debug="0">
> 
> These are the main things.  If you have customised server.xml 
> at all you
> might want to be sure there are no others by searching for "port" in
> server.xml in your text editor, and this will highlight all 
> the possible
> places where port numbers might need to be changed.  Note 
> that any parts of
> server.xml commented out between <!-- and --> are not active 
> so you can
> ignore them for the time being.
> 
> > -----Original Message-----
> > From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday 28 October 2004 20:19
> > To: [EMAIL PROTECTED]
> > Subject: RE: newbie question
> > 
> > 
> > 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]
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> 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