tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardEngine.java
Date Tue, 22 Apr 2003 18:19:15 GMT
costin      2003/04/22 11:19:15

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardEngine.java
  Log:
  Set the domain to be the same as the name as early as possible.
  
  Revision  Changes    Path
  1.15      +7 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java
  
  Index: StandardEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- StandardEngine.java	22 Apr 2003 03:16:45 -0000	1.14
  +++ StandardEngine.java	22 Apr 2003 18:19:15 -0000	1.15
  @@ -221,6 +221,12 @@
                                      this.defaultHost);
   
       }
  +    
  +    public void setName(String name ) {
  +        // The engine name is used as domain
  +        domain=name; // XXX should we set it in init() ? It shouldn't matter
  +        super.setName( name );
  +    }
   
   
       /**
  
  
  

---------------------------------------------------------------------
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