how to Configure Tomcat and Apache With JK 1.2 with application residing in a folder other than Tomcat

Posted on 2006-04-17
Medium Priority
Last Modified: 2010-03-04
Hi I was trying to configure Tomcat and Apache With JK 1.2 as shown in the following website

I was managed to configure everything and was able to run the "example" project properly.
Now the problem is that my actual project resides in a  folder other than <Catalina-Home>, how can I
configure Apache so that it is configured for this project

<Catalina-Home> = c://tomcat

My aaplication is located at


and the configuration which I did in servers.xml to run this application on Tomcat is

<Context path="/chapters"

Any help will be greatly appreciated

Question by:royalcyber
LVL 11

Accepted Solution

WelkinMaze earned 1000 total points
ID: 16476449
It seems correct.
You may have to change in httpd.conf in the apache's conf directory the following lines.
I put the direcotry you have writeen above but you may change it.

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "C:/svn_new/Tomcat/webapps/chapters"

# This should be changed to whatever you set DocumentRoot to.
<Directory "C:/svn_new/Tomcat/webapps/chapters">

LVL 23

Assisted Solution

rama_krishna580 earned 1000 total points
ID: 16479507

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

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 …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month16 days, 23 hours left to enroll

864 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