Author: mriou
Date: Mon May  7 16:57:21 2007
New Revision: 536026

URL: http://svn.apache.org/viewvc?view=rev&rev=536026
Log:
Problem with a single process shouldn't pollute the listing of all processes.

Modified:
    
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java

Modified: 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java?view=diff&rev=536026&r1=536025&r2=536026
==============================================================================
--- 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
 (original)
+++ 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
 Mon May  7 16:57:21 2007
@@ -166,12 +166,12 @@
         final TProcessInfoList procInfoList = ret.addNewProcessInfoList();
         final ProcessFilter processFilter = new ProcessFilter(filter, 
orderKeys);
 
-        try {
-            for (ProcessConf pconf : processQuery(processFilter))
+        for (ProcessConf pconf : processQuery(processFilter)) {
+            try {
                 fillProcessInfo(procInfoList.addNewProcessInfo(), pconf, 
custom);
-        } catch (Exception e) {
-            __log.error("Exception while listing processes", e);
-            throw new ProcessingException("Exception while listing processes: 
" + e.toString());
+            } catch (Exception e) {
+                __log.error("Exception when querying process " + 
pconf.getProcessId(), e);
+            }
         }
 
         return ret;


Reply via email to