tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Tue, 13 Jan 2004 17:01:48 GMT
remm        2004/01/13 09:01:48

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  - In this case, we're in embedded mode, and dynamically creating a host
    (and it works !! thx Costin :) ), so using auto deployment is not a good idea
    (context restarts need to be controlled by the embedding software).
  
  Revision  Changes    Path
  1.108     +2 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- StandardContext.java	13 Jan 2004 01:39:36 -0000	1.107
  +++ StandardContext.java	13 Jan 2004 17:01:48 -0000	1.108
  @@ -5340,6 +5340,7 @@
                   log.debug("No host, creating one " + parentName);
                   StandardHost host=new StandardHost();
                   host.setName(hostName);
  +                host.setAutoDeploy(false);
                   Registry.getRegistry().registerComponent(host, parentName, null);
                   mserver.invoke(parentName, "init", new Object[] {}, new String[] {} );
               }
  
  
  

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