Re: General questions about Tomcat<->Apache

2002-02-25 Thread Dave Ferguson

Thomas,  I will try to help a little.]

Thomas Stiller wrote:

> After having worked with some other servers I am currently evaluating Apache and 
>Tomcat.
> The problem is that I could not find any article or tutorial which gives an general 
>over view over the relationship between Apache and Tomcat (and jdk).
>
> E.g http://www.moreservlets.com/Using-Tomcat-4.html#Introduction
> indicates that Tomcat can be run independently from Apache. But what can I do with 
>Apache
> what I can not with Tomcat or vice versa ?
>
> Is Tomcat an add-on or a replacement of Apache ?
> If Tomcat has the full functionality of a web server why do I need in addition 
>Apache web server?

It is definitely NOT a replacement.  It is not high performance when compared to 
Apache and doesn't have as many features.  The main reason you would want to use 
Apache is performance.

>
>
> Which version of Tomcat works (is compatible) with which version of Apache ?
> Is Tomcat 4.0.2 working with Apache 1.3.23 or only with 2.0.* ?

I believe that 4.0.2 will work with both.  I am currently trying to get 4.0.2 working 
with Apache 2.0.x (which is still in beta), but it is not as easy as I thought.  I 
have had Tomcat 3.2.x working with Apache 1.3.x for a long time.

>
>
> A link on the page mentioned above promises a description on how to integrate Tomcat 
>into
> Apache but on the refererred page I cannot find such a description. How do I do it ?

The Tomcat distribution includes documentation for ths.  Check out 
webapps/tomcat-docs/config/index.html.  There are two different connectors for getting 
them to talk: Warp and AJP.  The AJP method has much better documentation.

>
>
> Does the same Tomcat binary work as a plug-in for Apache and as a stand-alone server 
>or do I have to download two separate binaries ?

The same binary works as both.

>
>
> Sorry for these general questions but I found them not answered in the internet.
>
> Thank you
> Thomas
>
> --
>
> ___
> Win a ski trip!
> http://www.nowcode.com/register.asp?affiliate=1net2phone3a
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: General questions about Tomcat<->Apache

2002-02-25 Thread Randy Layman



> -Original Message-
> From: Thomas Stiller [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 24, 2002 8:01 PM
> To: [EMAIL PROTECTED]
> Subject: General questions about Tomcat<->Apache
> 
> 
> After having worked with some other servers I am currently 
> evaluating Apache and Tomcat.
> The problem is that I could not find any article or tutorial 
> which gives an general over view over the relationship 
> between Apache and Tomcat (and jdk).
> 
> E.g http://www.moreservlets.com/Using-Tomcat-4.html#Introduction
> indicates that Tomcat can be run independently from Apache. 
> But what can I do with Apache
> what I can not with Tomcat or vice versa ?

Apache is a web server.  Tomcat is a JSP/Servlet container.  Tomcat can run
JSPs and Servlets (which Apache can't without something like Tomcat).
Tomcat can serve web pages (latest versions have support for SSI and CGI),
but its primary focus is Servlets, making Apache much faster at other forms
of content than Tomcat.

> 
> Is Tomcat an add-on or a replacement of Apache ?
Both.  It can replace Apache, but with a performance hit for static content.
It can be an add-on to give Apache JSP/Servlet functionality.

> If Tomcat has the full functionality of a web server why do I 
> need in addition Apache web server?
Speed.  Perhaps feature support that isn't in Tomcat (i.e. mod_perl).

> 
> Which version of Tomcat works (is compatible) with which 
> version of Apache ?
> Is Tomcat 4.0.2 working with Apache 1.3.23 or only with 2.0.* ?
> 
All Tomcat 3 and 4 can be set up for Apache 1.3.x (perhaps 1.2.x, but don't'
quote me on that).  Apache 2.0.x support isn't fully completed, I believe.

> A link on the page mentioned above promises a description on 
> how to integrate Tomcat into
> Apache but on the referred page I cannot find such a 
> description. How do I do it ?
> 
> Does the same Tomcat binary work as a plug-in for Apache and 
> as a stand-alone server or do I have to download two separate 
> binaries ?
> 
Tomcat website is http://jakarta.apache.org/tomcat.  There is a lot of
documentation there about Tomcat and from there you can browse the CVS
repository, which has even more documentation.

> Sorry for these general questions but I found them not 
> answered in the internet.
> 
> Thank you
> Thomas
> 
> -- 
> 
> ___
> Win a ski trip!
> http://www.nowcode.com/register.asp?affiliate=1net2phone3a
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: General questions about Tomcat<->Apache

2002-02-25 Thread Kristian Duske

Thomas,

check out this page:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html. It deals with
Tomcat 3.2, but it has a lot of general information about the why's and
how's of integrating Tomcat and Apache.

Regards
Kristian


--
To unsubscribe:   
For additional commands: 
Troubles with the list: