tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat can't find Java Beans
Date Fri, 07 May 2010 16:17:05 GMT
> From: Luís de Sousa [mailto:luis.a.de.sousa@gmail.com]
> Subject: Re: Tomcat can't find Java Beans
> 
> I already have Tomcat listening on port 8080.

If you want to keep Tomcat on port 8080, you don't need to do anything other than run it under
its own userid (and fix the file ownership, of course).

Using jsvc is appropriate when you want Tomcat to use port 80, which is normally accessible
only to root.  Another alternative is to leave Tomcat on 8080, and use iptables to route requests
for port 80 to 8080.

Running Tomcat as root is a major security risk, since a small bug in a webapp could open
up the whole file system to abuse.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message