You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by David Wall <dw...@myEastside.com> on 2001/03/17 06:34:43 UTC

TC4.0b1 - getting apache connector to connect

I'm trying to get catalina working with Apache 1.3.19 on Linux, but for I've
got something misconfigured.  It cannot find my 'pub' webapp based on this
error: Application pub with path /pub/ not found

Here's how it's defined in server.xml:

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

    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     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="dwww.myeastside.com" debug="0"
appBase="/usr/local/apache/WebPub/pub">

      <!-- 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>


And here's how it's defined in httpd.conf:

(this is just below the section where I do the LoadModule)
WebAppConnection warpConnection warp localhost:8008

(And this is the virtual host entry that I'm trying to get to work)
<VirtualHost _default_:80>
    ErrorDocument 404 /pub/notFound.jsp
    ServerAdmin webmaster@myeastside.com
    DocumentRoot /usr/local/apache/WebPub
   <Directory "/usr/local/apache/WebPub">
    Options Indexes FollowSymLinks MultiViews Includes
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
   </Directory>
    ServerName dwww.myeastside.com
    WebAppMount pub warpConnection /pub/
    ErrorLog /usr/local/apache/logs/error_log
    CustomLog /usr/local/apache/logs/access_log combined
</VirtualHost>

Here's the error I am receiving:

Starting service Tomcat-Apache
Apache Tomcat/4.0-b1
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Host dwww.myeastside.com has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
    Host dwww.myeastside.com has ID=0
[org.apache.catalina.connector.warp.WarpConnector]
    Application pub with path /pub/ not found