tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32865] New: - Host does not respect deployOnStartup setting when starting
Date Tue, 28 Dec 2004 20:43:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32865>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32865

           Summary: Host does not respect deployOnStartup setting when
                    starting
           Product: Tomcat 5
           Version: 5.5.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: tbenbrahim@houston.rr.com


Apps are deployed on host start up whether deployOnStartup is set to true or false.

Patch:

Index: HostConfig.java
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
retrieving revision 1.51
diff -u -r1.51 HostConfig.java
--- HostConfig.java	1 Dec 2004 11:06:22 -0000	1.51
+++ HostConfig.java	28 Dec 2004 19:59:17 -0000
@@ -1101,7 +1101,8 @@
             log.error(sm.getString("hostConfig.jmx.register", oname), e);
         }
         
-        deployApps();
+        if (host.getDeployOnStartup()) 
+            deployApps();
         
     }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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