Phillip,
Tomcat uses port 8080 as a default; 8080 is not,
however the default http port.
So http://localhost/examples/servlet/HelloWorldExample
is actually equivalent to
http://localhost:8000/examples/servlet/HelloWorldExample
(8000 is the default port for http used by most
browsers). Tomcat's listening on 8080, so it doesn't
respond.
you need to edit the server.xml file to change the
port number that Tomcat listens on. See the faq at
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/42/question_id/389
for details on how to do it.
--steve
--- [EMAIL PROTECTED] wrote:
I'm running Tomcat 3.2.1 Apache on Linux and I'm
having a problem w/ the examples.
They work if I use
http://localhost:8080/examples/servlet/HelloWorldExample
however if I use
http://localhost/examples/servlet/HelloWorldExample
I get a 404 (the same w/ the sample JSP pages as
well).
Since I am attempting to have Apache serve Static
content and Tomcat serve JSP's I have already
installed mod_jk and am using the stock
mod_jk.conf-auto include in my httpd.conf file..
Is there something I'm missing?
Thanks in advance.
-Phillip
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/