Solved

Tomcat and Apache on Fedora problems

Posted on 2004-10-20
3
396 Views
Last Modified: 2010-03-18
Hi

I configured Tomcat on Apache with mod_jk2 and the system(running on Fedora Core 2) is working fine. When i give http://localhost:8080 Tomcat home page is coming. Whne i give the IP address also home page is coming. When i give localhost/examples i can see the files also. My problem is whne i try to access the same on adifferent system on the network by using the IP address i couldnt see the home page but whne give ip address/examples i can see the examples page. How can i access the home page also from any machine on the local network. Also i copied some files to the webapps directory and when given  localhost/dir name i couldnt see any thing on my system also. In this matter i have to give the port as 8080 to see the result. Also i cant see the result by any way on other systems on the network.

Please give a solution for my problem.

Thanx in advance
Ramesh
0
Comment
Question by:rameshbharadwaj
3 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 200 total points
ID: 12366798
You have to tell Apache what URIs it should pass to Tomcat and which it should process itself.

This can be  done in the workers2.properties file.  If you look at the contents of your existing file, you'll see:

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb


To add one of your own, (say your webapp is called mywebapp), then add:

# Map mywebapp
[uri:/mywebapp/*]
group=lb

You didn't specify which version of Tomcat and Apache, so if you can't then please define how you set up your software and we can go from there.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now