tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Short <>
Subject mod_jk and Mapping configuration error
Date Thu, 13 Jun 2002 13:31:02 GMT
I can't for the life of me figure out my problem.  I have apache running 
all peachy, and added in mod_jk to service *.jsp to tomcat.

I'm trying to first get a single Virtual host working with this config, 
and my webroot is /opt/web/

In my VirtualHost i have my JkMount
JkMount /*.jsp ajp13

and in my server.xml

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
    <Host name="">
        <Context path="" docBase="/opt/web/" debug="0"/>

No errors on startup for either apache or tomcat (I start tomcat first) 
and when i try going to a file index.jsp in /opt/web/ from my 
browser i get a 

<html><head><title>Apache Tomcat/4.0.3 - Error 
report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : 
white;background-color : #0086b2;} BODY{font-family : 
sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : 
white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> 
</head><body><h1>Apache Tomcat/4.0.3 - HTTP Status 404 - 
/index.jsp</h1><HR size="1" noshade><p><b>type</b> Status 
report</p><p><b>message</b> <u>/index.jsp</u></p><p><b>description</b>

<u>The requested resource (/index.jsp) is not available.</u></p><HR 
size="1" noshade></body></html>

And this in my tomcat logs

2002-06-13 09:09:35 StandardHost[localhost]: MAPPING configuration error 
for request URI

Help please


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message