geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1324546 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
Date Wed, 11 Apr 2012 04:28:51 GMT
Author: gawor
Date: Wed Apr 11 04:28:51 2012
New Revision: 1324546

URL: http://svn.apache.org/viewvc?rev=1324546&view=rev
Log:
clear connection cache even if server was forcibly killed

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java?rev=1324546&r1=1324545&r2=1324546&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
Wed Apr 11 04:28:51 2012
@@ -277,8 +277,6 @@ public class GeronimoServerBehaviourDele
             }
         }
         
-        GeronimoConnectionFactory.getInstance().destroy(server);
-        
         stopImpl(); 
                                                            
         Trace.tracePoint("Exit", Activator.traceCore, "GeronimoServerBehaviourDelegate.stop");
@@ -945,6 +943,7 @@ public class GeronimoServerBehaviourDele
     }
 
     protected void stopImpl() {
+        GeronimoConnectionFactory.getInstance().destroy(getServer());
         if (processListener != null) {
             DebugPlugin.getDefault().removeDebugEventListener(processListener);
             processListener = null;



Mime
View raw message