tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donovan Ray - rdonov <ray.dono...@acxiom.com>
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.
 
http://www.acg-gmbh.de/mod_jk/ <http://www.acg-gmbh.de/mod_jk/> 

-----Original Message-----
From: Stijn Ver Eecke [mailto:stijn.vereecke@cac.be]
Sent: Wednesday, May 15, 2002 8:37 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: handler "jakarta-servlet" not found for


Hello,
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/mod_jk.so
</IfModule>
 
JkWorkersFile "/opt/tomcat4/conf/jk/workers.properties"
JkLogFile "/opt/tomcat4/logs/mod_jk.log"
 
JkLogLevel info
 
NameVirtualHost xxx.xxx.xx.x:81
<VirtualHost xxx.xxx.xx.x:81>
    ServerAdmin webmaster@xxx.be <mailto:webmaster@xxx.be> 
    DocumentRoot /opt/tomcat4/webapps
    ServerName xxx.xxx.xx.x
    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
        </Directory>
</VirtualHost>
 
 <VirtualHost xxx.xxx.xx.x:81>
    ServerAdmin webmaster@xx.be <mailto:webmaster@xx.be> 
    DocumentRoot /www/docs/cac
    ServerName www.xxx.be <http://www.xxx.be> 
    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
        </Directory>
</VirtualHost>
 
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/mod_jk.so" jkDebug="error"
      workersConfig="/opt/tomcat4/conf/jk/workers.properties"
      jkLog="/opt/tomcat4/logs/mod_jk.log"/>
<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="xxx.xxx.xx.x" 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>
<Host name="  <http://www.xxx.be> www.xxx.be" 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"
                 pattern="common"/>
 
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="wwwxxx_log." suffix=".txt"
                timestamp="true"/>
 

        <!-- Tomcat Root Context -->
          <Context path="/xml" docBase="xml" debug="0"
        reloadable="true" crossContext="true" />
        <Context path="/faq" docBase="faq" debug="0" reloadable="true"
        crossContext="true"/>
</Host>
 
 
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 
www.xxx.be:81/xml <http://www.xxx.be:81/xml>  or www.xxx.be:81/faq
<http://www.xxx.be:81/faq>  or xxx.xxx.xx.x:81/examples 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
prohibited.
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.


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