I configured Tomcat 4.1 to run as a worker from Apache 2.0.44 for Windows
2000 server. Tomcat was started by Apache properly as indicated from the log
files. But I seemed not be able to execute servlets properly although I can
run jsp files fine. I am getting the error:

    HTTP Status 503 - Servlet invoker is currently unavailable

It looks to me the problem is how uri directive in worker2.properties is
configured. I used the examples webapp come with Tomcat to test the server.

In worker2.properties, I use a uri to tell Apache to send the request with
pattern '/examples/jsp/*.jsp' to Tomcat as follow:
[uri:/examples/jsp/*.jsp]
info=Extension mapping

It works beautifully. But no matter what I did for servlets using uri, I
cannot make Apache to tell Tomcat to execute servlet with /examples/servlet/
prefix properly. I either got an 'HTTP Status 503 - Servlet invoker is
currently unavailable' (with [uri:/examples/servlet/*]) or 'The page is not
found.' (with [uri:/examples/servlet/]) error.

Help will be greatly appreciated.

Jimmy
Redmond, Washington

Reply via email to