Solved

IntegratingTomcat 4.1 and Apache 2.0.59

Posted on 2008-10-06
2
164 Views
Last Modified: 2013-12-02
In  windows 2003 operating system, I have installed tomcat 4.1 and apache  2.0.59 both are working fine, now  I want to connect tomcat 4.1 with apache web server 2.0.59
can any one please help me out to do this please provide me a step by step process of how to do this.

Thanks in Advance!

RRR
0
Comment
Question by:Rajarr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
urgoll earned 500 total points
ID: 22656602
There are many ways to do this, but probably the easiest is to use apache's mod_proxy.

Assuming that your Tomcat listens on port 8080 and that you want to give access to Tomcat's /application URI, then you need to add the following snippet to your apache's configuration (or virtualhost configuration, depending on your specific goal). What this will do is for every HTTP request to /application/somethingorother to your web server, apache will turn around and forward the request to tomcat (that's the proxypass part). It will then parse the resulting answer, and replace any mention of tomcat in the header and replace it with its own URL and host name, so that the end-client does not know a proxy is in the loop (this is the ProxyPassReverse part).

More complicated (but probably more performing) would be to install mod_jk which is another language Tomcat can speak which has lower overheads than HTTP.

Let me know how it goes,
hope this helps.

Christophe
ProxyPass /application http://localhost:8080/application
ProxyPassReverse /application http://localhost:8080/application

Open in new window

0
 

Author Closing Comment

by:Rajarr
ID: 31503326
Thanks  for support Urgoll
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question