Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 15300 invoked by uid 500); 17 Aug 2001 15:36:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 15289 invoked from network); 17 Aug 2001 15:36:14 -0000 Received: from unknown (HELO ipermedianet.com) (213.188.200.18) by h31.sny.collab.net with SMTP; 17 Aug 2001 15:36:14 -0000 Received: from vega (213.188.200.25) by ipermedianet.com with SMTP (Eudora Internet Mail Server 2.2.2); Fri, 17 Aug 2001 17:43:32 +0200 Message-ID: <01ee01c12732$9c293980$19c8bcd5@vega> From: "Roberto B." To: References: <3B7D337E.EBDEDFD1@hotgen.com> Subject: Re: Why and How Tomcat before Apache? Date: Fri, 17 Aug 2001 17:38:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Yes.. as root! R. ----- Original Message ----- From: "David Cassidy" To: Sent: Friday, August 17, 2001 5:08 PM Subject: Re: Why and How Tomcat before Apache? > > check out if you can do a rm -rf * from within java... > > Don't know if you can, don't know how well the JVM will > protect you but > > I run mine as a different user. > > Do you run your apache as root ? > > David > > > Martin van den Bemt wrote: > > > > Please tell me what is dangerous about running tomcat as root? I've > > taken > > the following security measures : > > port 8007 and 8009 is blocked from the outside (firewall) > > tomcat is not running on 8080 and only allowing communications from > > localhost (127.0.0.1). > > The only potential problem is that if a tomcat /apache bug is exploited, > > you potentially have a problem. > > > > Looks pretty solid to me though.. > > > > Mvgr, > > martin > > > > > -----Original Message----- > > > From: david@carrot.hotgen.com [mailto:david@carrot.hotgen.com]On > > Behalf > > > Of David Cassidy > > > Sent: Friday, August 17, 2001 4:54 PM > > > To: tomcat-user@jakarta.apache.org > > > Subject: Re: Why and How Tomcat before Apache? > > > > > > > > > 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" > > > > > To: > > > > > 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." > > > > > > To: > > > > > > 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...? > > >