aspose file tools*
The moose likes Tomcat and the fly likes Comment on Apache and Tomcat !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Comment on Apache and Tomcat !!" Watch "Comment on Apache and Tomcat !!" New topic
Author

Comment on Apache and Tomcat !!

frankie_chan
Greenhorn

Joined: Dec 10, 2001
Posts: 1
Dear All,
I am a beginner of JSP, and now i want to install Apache 4 as the web server and Tomcat as the JSP handler on Win2K platform. Can anyone tell me is this a need to setup both Apache and Tomcat together?
I had read many and many on the Web, and it is suggested to setup both, so pls comment!!!

Frankie
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

You have to setup a pipeline between the Apache and Tomcat servers. In Tomcat 3, mod_jk or mod_jserve would do it; for Cataline (Tomcat 4) use mod_webapp.
You configure your httpd.conf to use the tomcat pipeline and to indicate what URL requests get passed down the pipeline. The exact details depend on which module you're using.
On the Tomcat side, you set up a listener port(s) to handle the requests coming down the pipeline.
Your best bet is to look at the "Tomcat-Apache How-to" document that goes with the version of Tomcat you want to run. They have good examples.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Comment on Apache and Tomcat !!