tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donovan Ray - rdonov <>
Subject RE: handler "jakarta-servlet" not found for
Date Sat, 18 May 2002 22:26:37 GMT
We had the same error with mod_jk from  jakarta-tomcat-connectors-4.0.2;
using  jakarta-tomcat-connectors-4.0.4-b3 solved the problem for us. <> 

-----Original Message-----
From: Stijn Ver Eecke []
Sent: Wednesday, May 15, 2002 8:37 AM
To: ''
Subject: handler "jakarta-servlet" not found for

I recently installed tomcat 4.0.3 and apache2.2.0.35
and compiled the ajp13 connector from jakarta-tomcat-connectors-4.0.2
to my http2.conf i added :
<IfModule !mod_jk.c>
  LoadModule jk_module /opt/apache2/modules/
JkWorkersFile "/opt/tomcat4/conf/jk/"
JkLogFile "/opt/tomcat4/logs/mod_jk.log"
JkLogLevel info
    ServerAdmin <> 
    DocumentRoot /opt/tomcat4/webapps
    JkMount /examples ajp13
    JkMount /examples/* ajp13
    JkMount /jk ajp13
    JkMount /jk/* ajp13
    JkMount /manager ajp13
    JkMount /manager/* ajp13
        <Directory "/opt/tomcat4/webapps/">
          Options None
          AllowOverride None
          order allow,deny
          allow from all
    ServerAdmin <> 
    DocumentRoot /www/docs/cac
    ServerName <> 
    JkMount /faq ajp13
    JkMount /faq/* ajp13
    JkMount /xml ajp13
    JkMount /xml/* ajp13
    <Directory "/www/docs/xxx">
          Options None
          AllowOverride None
          order allow,deny
          allow from all
and to my server.xml file i added
<Server port="8005" shutdown="SHUTDOWN" debug="0">
 <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
      modJk="/opt/apache2/modules/" jkDebug="error"
<Service name="Tomcat-Standalone">
   <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8109" minProcessors="5" maxProcessors="175"
               acceptCount="10" debug="0"/>

    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
 <Host name="" debug="0" appBase="webapps" unpackWARs="true">  
        <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
 append="true" />
   <Context path="" docBase="ROOT" debug="0"/>
        <!-- Tomcat Manager Context -->
        <Context path="/manager" docBase="manager"
         debug="0" privileged="true"/>
        <!-- Tomcat Examples Context -->
        <Context path="/examples" docBase="examples" debug="0"
                 reloadable="true" crossContext="true"/>
<Host name="  <>" debug="0"
appBase="/www/docs/xxx" unpackWARs="true">
        <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
 append="true" />
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="wwwxxx_access_log." suffix=".txt"
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="wwwxxx_log." suffix=".txt"

        <!-- Tomcat Root Context -->
          <Context path="/xml" docBase="xml" debug="0"
        reloadable="true" crossContext="true" />
        <Context path="/faq" docBase="faq" debug="0" reloadable="true"
My intent was : 2 virtual hosts, one, on the ip adres pointing to the tomcat
default webapps,
the other on the hostname pointing to the company website ... (temporarly on
port 81 since port 80 is taken by the live version)
both sites serve the static content alright but when i try to access one of
the JkMount's <>  or
<>  or for example i get
the error page  :

Server error!

Error message: 
handler "jakarta-servlet" not found for: examples 

If you think this is a server error, please contact the webmaster

Error 500

Did i forget to install something with the mod_jk build ??? did i forget to
add a line in my httpd2.conf (did not add any addhandler lines since that
was not mentioned anywhere)
thx for the help
Stijn Ver Eecke


The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message