hi.  i have 3 questions regarding Tomcat (again, my setup - Apache 1.3.9,
Linux RH 5.1, JSDK 2.0, JServ 1.1b3, Tomcat 3.0, Blackdown 1.1.7 JDK).
i have finally got Tomcat installed and partially working with JServ (the
"ajpv12 not found" error is a result of not clearing out the previous
mod_jserv src directory before building JServ 1.1b3).  i say "partially"
because i can service JSPs with Tomcat, but for some reason i can't service
Servlets. (?!)  i can see both my JSPs and servlet .class files by doing
"/www.example.com/servlets/", and when i add "myjsp.jsp" to the path the jsp
is compiled and executed just as i would expect.  but if i try to reference
a servlet in the exact same directory i get an "Error: 404 (File Not Found:
/servlets/myServlet)".  any help/ideas?  i know these servlets worked fine
with JServ 1.0, so it's not an executable/readable flag or anything easy
like that.
my second question is - how do you get Tomcat to NOT do a directory listing
when you do "/www.example.com/servlets"?  i rather feel this is a security
hole, allowing the outside user to see all the servlets in a particular
directory.  i suppose i could put an index.html in every directory, but that
seems very hackish to me.
and my 3rd question is - where does Tomcat put its log entries?   i can't
seem to find any tomcat log files being generated to help me debug this.
i've checked the jserv.log, mod_jserv.log, /var/log/messages and
serverlog.txt and found absolutely nothing.  i figure if i could get a look
at a log file it would help me fix this error.
anyway, really looking forward to using Tomcat soon so any help would be
greatly appreciated.
Merry Christmas everybody and Happy New Year (even if it's not the new
Millenium). :)
..................ron.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to