tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi install4iis.js
Date Mon, 07 Jun 2004 22:15:32 GMT
keith       2004/06/07 15:15:32

  Modified:    jk/native2/server/isapi install4iis.js
  Log:
  Actually filter can be on service or server, so move it back to server.
  However, we may have to create our own Filters container as IIS
  only creates one automatically for the service.
  
  Revision  Changes    Path
  1.5       +3 -4      jakarta-tomcat-connectors/jk/native2/server/isapi/install4iis.js
  
  Index: install4iis.js
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/install4iis.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- install4iis.js	7 Jun 2004 21:08:26 -0000	1.4
  +++ install4iis.js	7 Jun 2004 22:15:32 -0000	1.5
  @@ -255,9 +255,8 @@
       try {
           filters = findADSIObject(webServer, _IIS_FILTERS, "Filters");
           if (filters == null) {
  -            TRACE("Unable to find the " + _IIS_FILTERS + " for " +
  -                  webServer.ServerComment);
  -            return null;
  +            //may have to create the website-level filters container
  +            filters = webserver.create(_IIS_FILTERS, "Filters");
           }
           newFilter = findADSIObject(filters, _IIS_FILTER, appParams.FilterName);
           if (newFilter == null) {
  @@ -488,7 +487,7 @@
           ERROR(args, "Unable to create virual directory /" + params.WebName);        
       }
   
  -    if (!createISAPIFilter(IIsWebService, params)) {
  +    if (!createISAPIFilter(IIsWebServer, params)) {
           /* TODO: roll-back virtual dir */
           ERROR(args, "Unable to create the '" + params.FilterName + "' filter.");      
 
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message