geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1138758 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
Date Thu, 23 Jun 2011 08:01:22 GMT
Author: xuhaihong
Date: Thu Jun 23 08:01:22 2011
New Revision: 1138758

URL: http://svn.apache.org/viewvc?rev=1138758&view=rev
Log:
GERONIMO-6019 Make sure all the ejbs are removed while stopping the EJBModule

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java?rev=1138758&r1=1138757&r2=1138758&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
Thu Jun 23 08:01:22 2011
@@ -192,6 +192,9 @@ public class EjbModuleImpl implements EJ
     public void doStop() {
         try {
             openEjbSystem.removeApplication(appInfo, classLoader);
+            for (EjbDeployment ejb : ejbs.values()) {
+                removeEjb(ejb);
+            }
         } catch (NoSuchApplicationException e) {
             log.error("Module does not exist.", e);
         } catch (UndeployException e) {



Mime
View raw message