geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r732538 - /geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Date Wed, 07 Jan 2009 22:21:45 GMT
Author: dwoods
Date: Wed Jan  7 14:21:45 2009
New Revision: 732538

URL: http://svn.apache.org/viewvc?rev=732538&view=rev
Log:
GERONIMO-4495 Invoking stop method on a gbean whose instancestate is destoryed caused that
gbean in the stopping state.  Patch provided by Ivan (xuhaihong).

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java?rev=732538&r1=732537&r2=732538&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Wed Jan  7 14:21:45 2009
@@ -152,7 +152,7 @@
         State originalState;
         synchronized (this) {
             originalState = getStateInstance();
-            if (originalState == State.STOPPED) {
+            if (originalState == State.STOPPED || originalState == State.FAILED) {
                 return;
             }
 



Mime
View raw message