tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r763839 - /openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java
Date Fri, 10 Apr 2009 00:26:55 GMT
Author: dblevins
Date: Fri Apr 10 00:26:54 2009
New Revision: 763839

URL: http://svn.apache.org/viewvc?rev=763839&view=rev
Log:
The tomcat after_stop_event always fires so it doesn't seem like we need the vm shutdown hook.

Modified:
    openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java

Modified: openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java?rev=763839&r1=763838&r2=763839&view=diff
==============================================================================
--- openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java
(original)
+++ openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatLoader.java
Fri Apr 10 00:26:54 2009
@@ -161,12 +161,6 @@
                 }
             }
         });
-
-        Runtime.getRuntime().addShutdownHook(new Thread() {
-            public void run() {
-                TomcatLoader.this.destroy();
-            }
-        });
     }
 
     public void destroy() {



Mime
View raw message