You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gang Wu <ga...@tietoenator.com> on 2002/02/05 16:26:03 UTC

apache or tomcat

Hi,

I'm choosing between 2 solutions.
1. Apache as web server with SSL config, tomcat as servlet container
2. Tomcat as both web server and servlet container with SSL config.

I do need some help to distiguish those 2 solutions. does tomcat as web =
server have any obvious disadvantages?

regards

Gang

Re: apache or tomcat

Posted by Micael Padraig Og mac Grene <ca...@harbornet.com>.
Do you have some measurements on this, Chen?

At 10:56 AM 2/5/02 -0800, you wrote:
>I am using tomcat under IIS. IIS takes care of all the
>static html and tomcat is only a servlet container. It
>runs good.
>
>I think tomcat is not good for web server because of
>performance. Apache with SSL is much better.
>
>Shannon
>--- Gang Wu <ga...@tietoenator.com> wrote:
> > Hi,
> >
> > I'm choosing between 2 solutions.
> > 1. Apache as web server with SSL config, tomcat as
> > servlet container
> > 2. Tomcat as both web server and servlet container
> > with SSL config.
> >
> > I do need some help to distiguish those 2 solutions.
> > does tomcat as web =
> > server have any obvious disadvantages?
> >
> > regards
> >
> > Gang
> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Send FREE Valentine eCards with Yahoo! Greetings!
>http://greetings.yahoo.com
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: apache or tomcat

Posted by "Lloyd H. Meinholz" <me...@bmpcoe.org>.
My feeling is that if you have much static content and are able to get
the connectors working easily, use apache, otherwise use only tomcat. 

An advantage of using tomcat as a web server is that you have only one
server to setup, configure and consume resources instead of two. If most
of your site is dynamic, your requests are pretty much just passing
through apache on their way to tomcat anyway and that is a delay.

One thing that I'm a little concerned about is the performance
difference of apache/ssl and tomcat/ssl. I have no reason to doubt
tomcat/ssl, I just don't know how mature it is compared to apache/ssl (I
know, it's really JSSE right?). From the doc, it appears generating a
certificate request for VeriSign and installing it is not too difficult,
but until I've done it, I'm worried about that too.

I am in the process of moving several iPlanet/JRun sites to only tomcat.
I tried for weeks to get mod_webapp built on my environment with no
success. I have given up hope now but will probably look back in a few
months and see if things got any better. I didn't want to look into
mod_jk since that connector seems to be on the way out (I don't want to
spend the time learning something that already has a replacement). I
decided that since at least 95% of our sites are dynamic anyway, I will
use only tomcat. 

One final point, if you want to use other applications that are cgi-bin,
then you definitely need apache. I have this situation on a couple of my
sites and that is why I will continue to monitor the develoment of the
connectors.

Lloyd


Gang Wu wrote:
> 
> Hi,
> 
> I'm choosing between 2 solutions.
> 1. Apache as web server with SSL config, tomcat as servlet container
> 2. Tomcat as both web server and servlet container with SSL config.
> 
> I do need some help to distiguish those 2 solutions. does tomcat as web
> =
> server have any obvious disadvantages?
> 
> regards
> 
> Gang

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: apache or tomcat

Posted by Jack Frosch <jf...@froschenterprises.com>.
I'd like to offer an additional reason to compartmentalize the two
functions: better security.

Your web server can operate behind a firewall with only Port 80 open
(assuming non-SSL). Tomcat can run on a machine on the LAN.  A firewall
can be placed between the web server and the Tomcat machine with only
Port 8008 open (assuming Warp connector) so Apache and Tomcat can
communicate.  With all other ports closed, it's pretty difficult for
someone who manages to exploit a vulnerability in the web server to
compromise the Tomcat server.

If you put Tomcat out in the DMZ as both a web server and Servlet
runner, then presumably you'll have to provide some open ports on the
LAN to communicate to your database.  If someone could exploit a
vulnerability in Tomcat, the database is now at risk.

Just my two cents ...

Jack

-----Original Message-----
From: Gang Wu [mailto:gang.wu@tietoenator.com] 
Sent: Tuesday, February 05, 2002 9:26 AM
To: tomcat-user@jakarta.apache.org
Subject: apache or tomcat


Hi,

I'm choosing between 2 solutions.
1. Apache as web server with SSL config, tomcat as servlet container 2.
Tomcat as both web server and servlet container with SSL config.

I do need some help to distiguish those 2 solutions. does tomcat as web
= server have any obvious disadvantages?

regards

Gang


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: apache or tomcat

Posted by Shannon Chen <sh...@yahoo.com>.
I am using tomcat under IIS. IIS takes care of all the
static html and tomcat is only a servlet container. It
runs good.

I think tomcat is not good for web server because of
performance. Apache with SSL is much better.

Shannon
--- Gang Wu <ga...@tietoenator.com> wrote:
> Hi,
> 
> I'm choosing between 2 solutions.
> 1. Apache as web server with SSL config, tomcat as
> servlet container
> 2. Tomcat as both web server and servlet container
> with SSL config.
> 
> I do need some help to distiguish those 2 solutions.
> does tomcat as web =
> server have any obvious disadvantages?
> 
> regards
> 
> Gang
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>