Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 4th, 2005, 07:41 AM
Registered User
Join Date: May 2005
Location: Mumbai, , India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default apache virtual server, mod_jk, tomcat 5


I am using jk, apache 1.3 server and tomcat 5.
I have setup new virtual server with apache and using
jk to server the jsp requests to tomcat. (The server is listening on port 200)

I have used following settings for virtual server
<VirtualHost *:200>
ServerAdmin info@test.com
DocumentRoot G:/jspprojects/myproject
ServerName intellect

<Directory "G:/jspprojects/myproject">
Options Indexes
AllowOverride All
Order allow,deny
Allow from all
JkMount /servlet/* testWorker
JkMount /*.jsp testWorker
<location "/web-inf/">
AllowOverride None
deny from all

And my workers file is

I have tried to view the page in my browser using
http://localhost:200/ and I got the listing of files under
"myprojects" directory. when i click on any html or gif file I get the file view but when i click on index.jsp file
It is showing me the file of tomcat(http://localhost:8080) and not my projects file. Please help me to solve this issue. when ever i request any jsp file it is not picking up that file from myprojects directory rather it is taking default tomcat root directory. Tell me where i am going wrong.
Reply With Quote
  #2 (permalink)  
Old May 17th, 2005, 09:44 AM
Registered User
Join Date: May 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

I think I am having the same problem...

I am starting tomcat and apache and when I go to localhost:8009 which is my tomcat port it is there but its not pulling from my root webapps folder, its pulling from my apache directory. When I go to localhost it puls up a file list, which i know to fix with permissions. But why is my localhost:8009 going to my apache folder and not my tomact one?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_jk Load Balancing and Virtual Hosts dfwjava BOOK: Professional Apache Tomcat 0 October 17th, 2007 06:12 PM
*.do URLs dont work in apache web server+tomcat haomomo Struts 1 August 29th, 2006 09:57 AM
mod_jk + apache + mod_rewrite fanch Apache Tomcat 0 December 5th, 2005 12:34 PM
RedHat 9, Apache, Tomcat, mod_jk pzh19z Apache Tomcat 0 January 2nd, 2004 12:17 PM
Apache Tomcat/4.1.2 and Windows 2K Advanced server billyducs Apache Tomcat 4 November 7th, 2003 11:33 AM

All times are GMT -4. The time now is 10:39 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.