You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/17 20:35:46 UTC

DO NOT REPLY [Bug 6509] New: - Mod_webapp tries to deploy all apps down all connections

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=6509>.
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=6509

Mod_webapp tries to deploy all apps down all connections

           Summary: Mod_webapp tries to deploy all apps down all connections
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Sun
               URL: http://www.maui.co.uk/downloads/mod_webapp
        OS/Version: Solaris
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Webapp Connector
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: marty@maui.co.uk


The function c_configure in the pr_warp_config.c file loops through all the 
available applications and tries to deploy them down the current connection. As 
the warp_startup calls this function for each connection, the net result is that 
each application is tried on each connection.

The patch available at http://www.maui.co.uk/downloads/mod_webapp puts the extra 
test in the c_configure function to check that the application is destined for 
this connection. The connection details are already in the application context, 
so it is a trivial fix.

This allows the configuration of multiple tomcat instances with different 
webapps deployed to each (virtual hosting!)

Marty

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>