You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sean Schofield <Se...@esylvan.com> on 2000/09/21 18:26:31 UTC

Problem getting examples to work

I'm having some problems getting the examples to work.  Here's what I've
been able to do/learn so far:

- Running Tomcat as a stand alone browser is working fine.  Ie.
http://mysite:8080 yields a Jakarta Tomcat welcome page with some links.
The JSP and Servlet examples work fine.

- Running Tomcat with Apache (my ultimate goal) is problematic.
http://mysite/examples yields a "directory-like" page (ie. NOT the pretty
welcome page from http://mysite:8080).  Should I expect the same welcome
page??

- Clicking on the examples directories from the "directory-like" page yields
404 (I think) errors.

My theory is that the examples worked before because they were being
accessed by the Tomcat webserver (listening on 8080) and that they don't
work through Apache because of a permissions problem (just a theory).  I
haven't done anything too bizarre in my setup.  I was just following some
instructions on how to set up Apache with Open SSL and Tomcat (The SSL stuff
works fine incidentally).  

I think Apache is runniing as user "nobody".  What does Tomcat run as?  I
read about how the log files could tell me if there was a permissions
problem.  Can someone point me out to their location?  

I'm a complete Apache/Tomcat newbie so sorry if this seems ignorant but I've
been struggling with the rag-tag collections of docs and stuff out there.
Any help would be greatly appreciated.

Thanks,

- schof