tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown Bay" <brown_bay...@hotmail.com>
Subject "page not found" error using apache/tomcat
Date Thu, 17 Jan 2002 15:57:28 GMT
Tomcat 4.0, apache 1.3, suse 7.0, os/390

My virtual host settings in apache http.conf are:
<VirtualHost x.x.x.x>
    DocumentRoot /usr/local/tomcat/webapps
    ServerName x.x.com
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples
</VirtualHost>

My service defination in server.xml in tomcat are:
 <!-- Define an Apache-Connector Service -->
 <Service name="Tomcat-Apache">
  <Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75" enableLookups="true"
acceptCount="10" debug="0"/>
  <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
  <Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="localhost" debug="0" appBase="webapps">
   <!-- Global logger unless overridden at lower levels -->
   <Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt" timestamp="true"/>
   <!-- Because this Realm is here, an instance will be shared globally -->
   <Realm className="org.apache.catalina.realm.MemoryRealm"/>
  </Engine>
 </Service>

When i type in the browser http://x.x.com/examples I get the listings of
servlets, jsp and images but when i goto servlets link i get a "page not
found" error and the apache log says "File does not exist:
/examples/servlets/index.html" when the file does exist in the virtual path.

Are there any special settings required for apache/tomcat for me to get this
to work. Any suggestions.

Thanks in advance.

Brown.

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message