Hi, it's this old symlink chestnut again.  For Tomcat standalone I have 'allow 
symlinking' turned on like this, within the default configuration:

<Host name="localhost" debug="0" appBase="webapps" 
      unpackWARs="true" autoDeploy="true">

   <Context path="/dspace" docBase="dspace" debug="0"
      reloadable="true" crossContext="true">

    <Resources className="org.apache.naming.resources.FileDirContext"
               allowLinking="true" />
  </Context>

</Host>

This works, but if I put it in the 'Tomcat-Apache' service for mod_webapp, it doesn't 
work.  The apache_log.YYYY-MM-DD.txt log shows that the .jar's etc are being picked 
up, but on attempting to access a page, I get a 'class not found' error (a Filter), 
even though the class is in a jar mentioned previously in the log.

It seems like the 'allow linking' property isn't being picked up, even though nothing 
is mentioned to this effect in the log.  Does anyone have it working with Apache and 
mod_webapp?


  <!-- 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="Apache" 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" />

      <!-- Define the default virtual host -->
      <Host name="localhost" debug="0" appBase="webapps" 
       unpackWARs="true" autoDeploy="true">

        <Context path="/dspace" docBase="dspace" debug="0"
                 reloadable="true" crossContext="true">
          <Resources className="org.apache.naming.resources.FileDirContext"
                     allowLinking="true" />
        </Context>
      </Host>
    </Engine>
  </Service>




 Robert Tansley / Hewlett-Packard Laboratories / (+1) 617 551 7624

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to