tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendal L. Montgomery" <>
Subject RE: tomcat 4 & apache & mod_webapp welcome-file-list
Date Mon, 25 Feb 2002 06:26:31 GMT
Did anyone ever come up with an answer for this?  I've searched exhaustively
about this with no luck. Maybe I'm just missing something, but...

I am experiencing the same thing with Tomcat 4.0.2-LE / JVM 1.4.0 / Apache
1.3.23.  This is REALLY annoying, but if someone could tell me what I'm
doing wrong, I'd love to know.

Here is my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "
    <description>multipart/form-data test servlet</description>


when I try to hit the page: http://localhost/multipart/

I get a page cannot be displayed error in IE 5.5, saying something about a
dns error.

If I do http://localhost/multipart/index.html, I get the desired page.

My httpd.conf mod_webapp section looks like this:

# Webapp: Tomcat (Catalina) 4.0 connector
<IfModule mod_webapp.c>
  WebAppConnection warpConnection warp localhost:8008

  WebAppDeploy examples warpConnection /examples/
  WebAppDeploy multipart warpConnection /multipart/

Let's see.. what else...

My server.xml section looks like this:

-- snip --
  <!-- Define an Apache-Connector Service -->
  <Service name="Tomcat-Apache">

    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75" enableLookups="false"
appBase="/home/httpd/webapps" acceptCount="10" debug="0"/>

    <!-- Replace "localhost" with what your Apache "ServerName" is set
to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" defaultHost="" debug="0">

      <!-- Global logger unless overridden at lower levels -->
      <Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/catalina" prefix="apache_catalina_" suffix=".log"

      <!-- Because this Realm is here, an instance will be shared
globally -->
      <Realm className="org.apache.catalina.realm.MemoryRealm" />

      <!-- Define the default virtual host -->
      <Host name="localhost" debug="0" appBase="/home/httpd/webapps"
        <Valve className="org.apache.catalina.authenticator.SingleSignOn"
        <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="/var/log/catalina" prefix="localhost_access_" suffix=".log"
        <Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/catalina" prefix="localhost_" suffix=".log"

        <!-- Multipart Test Webapp Context -->
        <Context path="/multipart" docBase="multipart.war" debug="0">
          <Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/catalina" prefix="webapp_localhost_multipart_"
suffix=".log" timestamp="true"/>



-- snip --

Also, I noticed that the web.xml for the examples doesn't have a
<welcome-file-list> section, but it's behavior seems correct, with the
exception that it's index.html is in a /jsp or /servlet subdirectory.  I
tried removing the <welcome-file-list> section from my web.xml and still got
the same incorrect behavior as with it in place.  So...

Any information would be much appreciated!  Thanks.

Kendal L. Montgomery
...the comPuter Wizard...
Click here for Qwest's 5 cent State-to-State flat rate calling plan, plus
get your own 800 number at no charge!$$

-----Original Message-----
From: Dom []
Sent: Friday, October 05, 2001 2:15 PM
To:; Tomcat Developer List
Subject: tomcat 4 & apache & mod_webapp welcome-file-list

Tomcat 4 + Apache + :
It looks like welcome-file-list in web.xml doesn't work with web
applications in virtual hosts ?


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message