• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

TOMCAT/APACHE integration

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd appreciate that any of you could help me on this.
I've just downloaded TOMCAT 4.1.12 and Apache HTTP server and they're running fine separately ( http://localhost and http://localhost:80 go to Apache and http://localhost:8080 goes to Tomcat)
My question is that how do I make them running together? For example, sending static request
to Apache and dynamic one to TOMCAT.
Do I need to do configure it manually (using mod_webapp connector???) or has it already been set up by TOMCAT?
Thanks again in advance!
joe
 
Saloon Keeper
Posts: 23290
158
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You set up a pipeline from Apache to Tomcat using a connector such as mod_jk, mod_webapp or the new coyote connector.
Most of the info goes in the apache config file so that Apache knows what URIs to decode into tomcat requests and how to transmit them to Tomcat. The Tomcat server may need some worker definitions and a server.xml entry.
Check out the version of the "Tomcat Apache HOWTO" in the documentation for the version of Tomcat you're using at jakarta.apache.org/tomcat.
 
tumbleweed and gunslinger
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been trying to get Apache to work with Tomcat for months, scoured the web, even won a book here, and can't get it work.
I've even rebuilt a brand new box, run a clean install of both Apache and Tomcat, copy-pasted from someone who swore their config worked, and it still didn't work.
Not even the basic "examples" came up.
TO make a liar out of me, someone is gonna have to physically show me a box where it's running.
I finally gave up and installed Resin.
Worked first time through, has an auto confi. app for apache, IIS, other.
Also, unless you are trying to run other things (CGI, PHP, etc.) or you need the speed for rendering static that apache provides, why not just run Tomcat standalone?
 
I want my playground back. Here, I'll give you this tiny ad for it:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic