servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r383917 - /incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java
Date Tue, 07 Mar 2006 16:22:26 GMT
Author: gnodet
Date: Tue Mar  7 08:22:16 2006
New Revision: 383917

URL: http://svn.apache.org/viewcvs?rev=383917&view=rev
Log:
Fix exception when shutting down, then restarting the component

Modified:
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java

Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java?rev=383917&r1=383916&r2=383917&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java
(original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java
Tue Mar  7 08:22:16 2006
@@ -175,6 +175,7 @@
             if (this.workManager instanceof BasicWorkManager) {
                 ((BasicWorkManager) this.workManager).shutDown();
             }
+            this.workManager = null;
         }
     }
 
@@ -195,7 +196,7 @@
         } catch (JBIException e) {
             throw e;
         } catch (Exception e) {
-            throw new JBIException("Error calling init", e);
+            throw new JBIException("Error calling start", e);
         }
     }
 



Mime
View raw message