You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ian Payne <iv...@wagga.fsnet.co.uk> on 2001/08/17 01:31:47 UTC
Newbie - not found (404) error on second & subsequent calls
Hi,
I'm attempting to set up Tomcat (3.2.2-2) & Apache(1.3.19-6) running under
linux to experiment with the Oracle xsql servlet stuff. Apache is starting
up from the init.d sequence &, for the moment, I'm starting Tomcat manually.
Everything is working fine EXCEPT that I can only serve one page - if I ask
for another page, or refresh the displayed page, I get a <not found (404)>
error. Stopping and restarting Tomcat lets me see one more page & then the
condition reoccurs.
tomcat.log entries after this error look like this:
001-08-16 10:58:15 - ContextManager: Host = linux1
2001-08-16 10:58:15 - ContextManager: SM: Prefix match
/xsql/servlet/java/xsql/emp/emp.xsql -> /servlet/java/* java(java/null) null
2001-08-16 10:58:15 - ContextManager: SimpleMapper1: Adjust for prefix map
/servlet/java /xsql/emp/emp.xsql
2001-08-16 10:58:15 - ContextManager: SimpleMapper1: SM: After mapping R(
/xsql + /servlet/java + /xsql/emp/emp.xsql) java(java/null)
2001-08-16 10:58:15 - Ctx( /xsql ): 404 R( /xsql + /servlet/java +
/xsql/emp/emp.xsql) null
(& I've just realised that I get similar log entries if the first page
requested refers to .gif or .css files) - heres the equivalent log for a
*successful* display:
2001-08-16 10:56:49 - ContextManager: Host = linux1
2001-08-16 10:56:49 - ContextManager: SM: Prefix match
/xsql/servlet/java/xsql/emp/emp.xsql -> null null
2001-08-16 10:56:49 - ContextManager: SimpleMapper1: Default map
/servlet/java/xsql/emp/emp.xsql null
2001-08-16 10:56:49 - ContextManager: SM: Extension match /xsql
/servlet/java/xsql/emp/emp.xsql .xsql
2001-08-16 10:56:49 - ContextManager: SimpleMapper1: SM: Found extension
mapping oracle-xsql-servlet(oracle.xml.xsql.XSQLServlet/null)
2001-08-16 10:56:49 - ContextManager: SimpleMapper1: SM: After mapping R(
/xsql + /servlet/java/xsql/emp/emp.xsql + null)
oracle-xsql-servlet(oracle.xml.xsql.XSQLServlet/null)
I've obviously done something stupid, but I can't for the life of me figure
out what it is. Any clues gratefully received!
Thanks
Ian