DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5031

Misconfiguration of service "Tomcat-Apache" in distributed files

           Summary: Misconfiguration of service "Tomcat-Apache" in
                    distributed files
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: WARP Connector
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the distributed files server.xml and server-noexamples.xml.config, which 
come with Tomcat 4.0.1, you'll find the following configuration error of 
service "Tomcat-Apache":

the attribute appBase="..." is found inside the "Engine" tag. If one reads the 
manual, one can find that this attribute belongs inside the "Host" tag, which 
itself should be wrapped by the "Engine" tag.

Please correct this in the next distribution. I've found lots of ppl being 
confused about this.

Greetings
Heiner

--------------------------------- Demonstration ----------------------------
**WRONG:**
  <!-- Define an Apache-Connector Service -->
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector".../>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     ... appBase="webapps">
      ...
    </Engine>
  </Service>

**RIGHT:**
  <!-- Define an Apache-Connector Service -->
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector".../>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine" ... > 
      <Host ... appBase="webapps"/>
      ...
    </Engine>
  </Service>

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

Reply via email to