I just finished up configuring a fairly default configuration of Tomcat. My Apache configuration was pre-existing and post-tomcat it still has no issues. I am using mod_jk to (if I am saying this correctly) interface between Apache and Tomcat and have my conf files setup for my workers, etc.

I confirmed this via the Apache logs, but beyond that I have no idea how to diagnose the issue. I assume the 502 is because Tomcat did not respond. I'd like to confirm if Tomcat received the request, but cannot locate the log file.

At this point I had thought my installation was complete, so not sure where to go from here. Any input would be appreciated.

Edit:catalina.out, manager.log, localhost.log, etc do not have any data logged for the time that I made my requests.

Edit: Slowly figuring the configuration out. The following three lines appear in mod_jk.log when I make a request:

Edit: Changed the port in workers.properties from 8080 to 8009. Now mod_jk.log shows the following:

[Tue Jun 01 17:54:55 2010] worker localhost 0.003423

So Tomcat is getting the request, however a 404 (from Tomcat) is returned even though I added hello.jsp to both my tomcat/webapps/ and apache/html/jsptest/ directories in order to cover all bases. Perhaps I am misunderstanding the Aliasing method? Not sure how it cannot find a file that exists in the two most logical places...

Edit: Well, I just walked myself straight through the problem. My port was wrong in workers.properties. Once I fixed that and saw the 404 from Tomcat I realized the configuration was working and the file couldn't be found. What I didn't realize was that the jsptest directory needed to be in tomcat/webapps/jsptest/. Now everything works... thanks for humoring me. Hopefully this helps someone.