Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    140
    Likes Received:
    0
    Trophy Points:
    166
    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
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice