You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2006/07/18 18:11:41 UTC

svn commit: r423125 - /incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java

Author: boisvert
Date: Tue Jul 18 09:11:41 2006
New Revision: 423125

URL: http://svn.apache.org/viewvc?rev=423125&view=rev
Log:
Correctly deactive all services if exception occurs during start()

Modified:
    incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java

Modified: incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java?rev=423125&r1=423124&r2=423125&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java (original)
+++ incubator/ode/scratch/pxe-iapi/jbi/src/main/java/com/fs/pxe/jbi/PxeServiceUnit.java Tue Jul 18 09:11:41 2006
@@ -2,7 +2,6 @@
 
 import java.io.File;
 import java.util.ArrayList;
-import java.util.BitSet;
 import java.util.List;
 
 import javax.jbi.management.DeploymentException;
@@ -118,6 +117,7 @@
     for (QName pid : _pids) {
       try {
         _pxe._server.activate(pid,false);
+        activated.add( pid );
       } catch (Exception ex) {
         e = ex;
         __log.error("Unable to activate " + pid,ex);