I might have bitten off more than I can chew, but how else is one to learn?
I am running latest Apache on latest Fedora and 5.5 Tomcat and latest MySQL. I have turned SELINUX off.
Someone else has written an application using JSP and loaded it on the server but, as this person is no longer with us, I cannot get any help from him.
Here is the situation:
I have Tomcat running and it is "talking to" Apache. I have configured Apache to run VirtualDomains, thusly in httpd.conf:
Options Indexes FollowSymLinks
Allow from all
ProxyPass / ajp://localhost:8009/
The actual page shows a Tomcat 404 error. I know these pages/application works as I have seen it before on a different server when it was being developed off-site.
There are two places on the server where I have found all the JSP files and I am not sure which "instance" is the right one. I found them at (1) /var/lib/tomcat5/webapps/widget/ and (2) /home/www/news.mydomain.com/htdocs/. I had created (2) to accomodate this virtual domain but for some reason he had loaded the files in two different directories. The WEB-INF folder in (1) has the default web.xml file but the WEB-INF folder in (2) does not have a web.xml file.
I am an absolute newbie, so it took me a week to figure out all of the above.
Can anyone please help me to figure out which one, (1) or (2), is being used?
And, more importantly, how do I get Tomcat to accept my application and start displaying the pages?
If I have not provided any relevant information that's because I am too dumb to know the difference. So, please bear with me.
Thank you all in advance. I am at my wits end.