Tomcat 6.0 and Perl

Posted on 2007-10-03
Last Modified: 2013-12-29
   I'm trying to run Perl scripts (as CGI scripts) in Tomcat 6.0 for Windows XP (MSI installation). However, it seems that if I try to configure Tomcat 6.0 to run Perl, Tomcat just stopped serving any pages at all. According to Tomcat manual:

it says the CGI servlet and servlet mapping in web.xml has to be uncommented, which I did. However, once I do that and restart Tomcat, it doesn't function anymore. Does anyone know how to configure Tomcat 6.0 to run Perl and also functional normally? Thanks in advance.
Question by:Envoy2064
    LVL 13

    Accepted Solution

    you also have to rename servlets-cgi.renametojar to servlets-cgi.jar

    "To use the CGI servlet, you also need to rename the
    $CATALINA_HOME/server/lib/servlets-cgi.renametojar file
    to $CATALINA_HOME/server/lib/servlets-cgi.jar"

    according to the following site, people may be having problems finding that jar file in 6.0 (

    Author Comment

    Thanks, Kawas! I will try this solution...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Title # Comments Views Activity
    htaccess restrict subdomain 4 53
    nestparen challenge 4 34
    What is JNDI datasource in spring 1 18
    Unable to start eclipse ? 17 43
    If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now