deddy

Well-Known Member
Oct 13, 2003
146
1
168
Tomcat is running properly.

In Tomcat 4.1 the invoker servlet is disabled and the default mapping for this servlet.

To enable the invoker servlet go to the default web.xml file e.g. /usr/local/jakarta/jakarta-tomcat-4.1.12-src/build/conf/web.xml

<!-- The mapping for the invoker servlet -->
<!--
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
-->

and remove <!-- and --> so it looks like

<!-- The mapping for the invoker servlet -->

<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

Otherwise servlets won't work ;-)
 
Last edited: