How do I get Tomcat to accept my application and start displaying the pages
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:
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.
I know there is a module for apache to run jsp pages but if you want to run a tomcat- start tomcat, deploy the application and see whether it is displayed or not on http://localhost:8080. Apache is not in the game then at all...
Yes, I have apache configured thus so for Tomcat to work (in httpd.conf file):
ProxyPass / ajp://localhost:8009/
#ProxyPass / ajp://localhost:8009/jsp-examples/test/
|All times are GMT -5. The time now is 01:17 AM.|