tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <dcker...@verizon.net>
Subject Re: Deploy Tomcat Standalone - good idea or not?
Date Tue, 19 May 2009 20:05:21 GMT
johnrock wrote:
> I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that
> is JSP based and has hardly any static content..I am planning to start out
> with 1 tomcat server and 1 db server.
>
> I think that I do not need an apache front end and can simply run tomcat
> standalone. Is this a bad idea? 
>   
No, it's a good idea.
> The two options I am considering are:
> 1. Have a firewall redirect traffic directly to my tomcat server on port
> 8080
> or
> 2. Have a firewall route traffic to an apache instance on port 80 running on
> the same machine as tomcat server. Apache would then function merely to
> redirect requests to tomcat on port 8080.
>
> Which is a better idea? Or are neither preferred? At this point I do not
> want to run a third machine just for apache, but would it cause performance
> decrease to run apache on the same machine as my main tomcat server? Is it
> neccessary ?
>   
You'd get some performance drop, but probably not a lot.  Why not just 
put tomcat listening on port 80?

D



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


Mime
View raw message