tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Cassidy <dcass...@hotgen.com>
Subject Re: Why and How Tomcat before Apache?
Date Fri, 17 Aug 2001 14:53:44 GMT
unless you want to run your tomcat as root ( Very unwise )
makesure that you use a 'su' command in your
call to tomcat's start script...



David

Rui Miguel Seabra wrote:
> 
> Just hack apachectl script to launch tomcat just before apache, and to
> shut it down right aftwards.
> 
> On 17 Aug 2001 16:43:41 +0200, Roberto B. wrote:
> > Ok ! but.. do you know the way to make this in automatic ( with
> scripts at
> > system start ) ??
> >
> > ----- Original Message -----
> > From: "Barnabas Yohannes" <yohannesb@hotmail.com>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Friday, August 17, 2001 3:39 PM
> > Subject: Re: Why and How Tomcat before Apache?
> >
> >
> > > I cannot answer your "why" question, because, I am not one of the
> > developers
> > > of apache or tomcat.  But here is the answer to your "how" question:
> > >
> > > *To stop and start your tomcat:
> > >
> > > cd /usr/local/tomcat
> > >
> > > bin/shutdown.sh
> > >
> > > bin/startup.sh
> > >
> > > *Exit from tomcat and go to your apache server:
> > >
> > > su
> > >
> > > /usr/local/apache/bin/apachectl restart
> > >
> > > exit
> > >
> > > * Another way of stopping and starting apache:
> > >
> > > bin/apachectl stop
> > > bin/apachectl start
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Roberto B." <roberto@ipermedianet.com>
> > > To: <tomcat-user@jakarta.apache.org>
> > > Sent: Friday, August 17, 2001 4:50 AM
> > > Subject: Why and How Tomcat before Apache?
> > >
> > >
> > > > I have a Linux/Debian system.
> > > > I want to use Apache as web-server and Tomcat only for JSP file.
> > > >
> > > > Is it true that it is necessary to make start Tomcat before
> Apache?
> > Why?..
> > > > and if it is true.. how??
> > > >
> > > > Thanks!
> > > > Roberto.
> > > >
> > > >
> >
> --
> + No matter how much you do, you never do enough -- unknown
> + Whatever you do will be insignificant,
> | but it is very important that you do it -- Ghandi
> + So let's do it...?

Mime
View raw message