I have tried Tomcat 4.0.4 and 4.1.9 beta to see if that made a difference but I get the same end result: When I set my CATALINA_BASE to be a directory other than CATALINA_HOME, my webapp is not accessible. I know my web.xml is loading and my servlets (struts and my own custom servlets) are initialized, but when I try to access any URL in the webapp I get 404 errors. I've tried both JDK 1.4.1beta & 1.3.1. In the logfile there are no errors:
2002-08-21 15:04:33 StandardContext[/oemserver]: Starting filters 2002-08-21 15:04:33 timerservlet: init 2002-08-21 15:04:33 action: init 2002-08-21 15:04:33 StandardContext[/oemserver]: Starting completed 2002-08-21 15:04:33 HostConfig[localhost]: HostConfig: Processing START 2002-08-21 15:04:33 HostConfig[localhost]: Deploying discovered web applications 2002-08-21 15:04:33 HostConfig[localhost]: Starting background thread 2002-08-21 15:04:34 HostConfig[localhost]: BACKGROUND THREAD Starting 2002-08-21 15:04:49 HostConfig[localhost]: Deploying discovered web applications I see the output in console from my timerservlet so I know everything is OK there. I then try to access the URL: HTTP Status 404 - /oemserver/login.jsp type Status report message /oemserver/login.jsp description The requested resource (/oemserver/login.jsp) is not available. Apache Tomcat/4.1.9 I look in the access log file: 2002-08-21 15:01:18 StandardHost[localhost]: Mapping request URI '/oemserver/login.jsp' 2002-08-21 15:01:18 StandardHost[localhost]: Trying the longest context path prefix 2002-08-21 15:01:18 StandardHost[localhost]: Mapped to context '/oemserver' 2002-08-21 15:01:18 Authenticator[/oemserver]: Security checking request GET /oemserver/login.jsp 2002-08-21 15:01:18 Authenticator[/oemserver]: Checking constraint 'SecurityConstraint[Test 1]' against GET /login.jsp --> false 2002-08-21 15:01:18 Authenticator[/oemserver]: No applicable constraint located 2002-08-21 15:01:18 Authenticator[/oemserver]: Not subject to any constraint 2002-08-21 15:01:18 StandardContext[/oemserver]: Mapping contextPath='/oemserver' with requestURI='/oemserver/login.jsp' and relativeURI='/login.jsp' 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying exact match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying prefix match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying extension match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying default match2002-08-21 15:01:20 HostConfig[localhost]: Deploying discovered web applications This part is confusing: 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying exact match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying prefix match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying extension match 2002-08-21 15:01:18 StandardContext[/oemserver]: Trying default match I don't know what that means. But overall, there are no obvious errors and it does not work. If I set my CATALINA_BASE back to the same as CATALINA_HOME, and pass the -config parameter (with the path to my server.xml file) it works. At this point I think I've stumbled upon a bug. I would appreciate any help anyone may have for this. Michael -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
