Apache and Tomcat confusion

This is a discussion on Apache and Tomcat confusion within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks, I need to install and application server software which requires to install JAVA JRE 1.4 and Tomcat ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-28-2005
sukhmindersingh@gmail.com
 
Posts: n/a
Default Apache and Tomcat confusion

Hi folks,

I need to install and application server software which requires to
install JAVA JRE 1.4 and Tomcat 5.0. My question is that Do i need to
install Tomcat even if I have Apache 2.0.52 server already installed on
that Redhat Linux 9.0 box?

Thanks,

  #2 (permalink)  
Old 01-30-2005
Centurion
 
Posts: n/a
Default Re: Apache and Tomcat confusion

sukhmindersingh@gmail.com wrote:

> Hi folks,
>
> I need to install and application server software which requires to
> install JAVA JRE 1.4 and Tomcat 5.0. My question is that Do i need to
> install Tomcat even if I have Apache 2.0.52 server already installed on
> that Redhat Linux 9.0 box?
>
> Thanks,


Apache Tomcat is a "JSP Server". It serves and interprets Java Server
Pages. It requires Java *SDK* to operate. The Java Runtime Environment
(JRE) is not sufficient to successfully operate Tomcat. The reason is
that .jsp pages must be compiled to Java bytecode prior to execution in the
JVM. Without the SDK, there is no way to compile the .jsp files. BTW,
this is often why the first access of a jsp page is slower than subsequent
requests. You can get Tomcat to "precompile" some/all pages at server
start, but this delays server start - your choice; delay first access of
pages or delay server start.

Apache HTTP Server serves and interprets HTML pages. You can extend Apache
HTTP to interpret other things like PHP etc, but JSP is solely the domain
of Tomcat. There is a module to link Apache HTTP and Tomcat to basically
function like a single server, however they both retain their own config
files etc. The module basically handles whether a request should be
handled by Apache HTTP or Tomcat, then forwards it to the correct server
(process).

The connection between the two software packages is simply the Apache
Foundation. "Apache" (the Foundation) cover a number of projects including
a HTTP server (their first project, so usually Apache HTTP Server = Apache)
and Tomcat among others. Having an open source project annexed by the
Apache Foundation is seen by many as a great honour.

Don't confuse the two - hey are distinct and very different beasts :) Have
fun.

HTH,

James
--
The computing field is always in need of new cliches.
-- Alan Perlis

  #3 (permalink)  
Old 01-31-2005
sukhmindersingh@gmail.com
 
Posts: n/a
Default Re: Apache and Tomcat confusion

Thanks James,
That certainly helped....Thanks for your response :-)

Singh

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0