tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r937678 - /tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
Date Sat, 24 Apr 2010 19:21:15 GMT
Author: markt
Date: Sat Apr 24 19:21:14 2010
New Revision: 937678

URL: http://svn.apache.org/viewvc?rev=937678&view=rev
Log:
Restore global JNDI support broken in r937542

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardServer.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardServer.java?rev=937678&r1=937677&r2=937678&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardServer.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardServer.java Sat Apr 24 19:21:14 2010
@@ -654,6 +654,7 @@ public final class StandardServer extend
     @Override
     protected void startInternal() throws LifecycleException {
 
+        fireLifecycleEvent(CONFIGURE_START_EVENT, null);
         setState(LifecycleState.STARTING);
 
         // Start our defined Services
@@ -676,7 +677,8 @@ public final class StandardServer extend
     protected void stopInternal() throws LifecycleException {
 
         setState(LifecycleState.STOPPING);
-
+        fireLifecycleEvent(CONFIGURE_STOP_EVENT, null);
+        
         // Stop our defined Services
         for (int i = 0; i < services.length; i++) {
             services[i].stop();



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


Mime
View raw message