tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <jane...@yahoo.co.uk>
Subject <Engine appBase="/opt/webapp">: TC still looking at $CATALINA/webapps
Date Mon, 08 Oct 2001 16:48:53 GMT
Hi,

Does anyone have any insight into succesfully
configuring TC 4 to use a path other than the default
for web applications when using mod_webapp.so with
Apache 1.3.19?

The default location for web apps is

   $CATALINA/webapps

I'd like to change this to 

   /opt/xl/web/jsp

This is what I have 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"
     enableLookups="true"
     acceptCount="10" debug="1"/>


    <!-- was: appBase="webapps" -->
    
    <Engine
className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache"
     debug="0"
     appBase="/opt/xl/web/jsp"
     defaultHost="yyy.xxx.co.uk">

      <!-- 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 start Apache I these messages in
logs/apache_log.2001-10-08.txt

2001-10-08 17:25:39
[org.apache.catalina.connector.warp.WarpConfigurationHandler]
Error deploying web application "pg-uk" under
<http://pg-uk.xxx.com:80/>
2001-10-08 17:25:39
[org.apache.catalina.connector.warp.WarpConfigurationHandler]
Cannot find
"/opt/tomcat/jakarta-tomcat-4.0/webapps/pg-uk" for
appl. "pg-uk

(I've renamed webapps to make sure it's not used.)

This is my httpd.conf directives for mod_webapp

    WebAppConnection pg-uk-cnx warp localhost:8008
    WebAppDeploy pg-uk pg-uk-cnx /

Any thoughts anyone?

Thanks,
Janek Bogucki

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Mime
View raw message