The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat 4.1.12

Discussion in 'cPanel Developers' started by deddy, Oct 14, 2003.

  1. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    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 ;-)
     
    #1 deddy, Oct 14, 2003
    Last edited: Apr 8, 2004

Share This Page