summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntje Fuhrmann2013-02-07 06:55:01 (EST)
committerSven Rottstock2013-03-11 04:54:15 (EDT)
commitef6dd836688a0e2d235b72f6d3c2ad113bb16d5c (patch)
tree0c40b85087c0c6580047d4744474b07371f32874
parentb33a44d3680bfe43b2ff7dba74aa69878cf6fa0d (diff)
downloadorg.eclipse.stardust.engine-ef6dd836688a0e2d235b72f6d3c2ad113bb16d5c.zip
org.eclipse.stardust.engine-ef6dd836688a0e2d235b72f6d3c2ad113bb16d5c.tar.gz
org.eclipse.stardust.engine-ef6dd836688a0e2d235b72f6d3c2ad113bb16d5c.tar.bz2
Jira-ID: CRNT-25559
Issue with LogEntry when ApplicationExceptionPropagation property is set to Never git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@62818 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ActivityThread.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ActivityThread.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ActivityThread.java
index d4c5c6e..5e21380 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ActivityThread.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ActivityThread.java
@@ -358,8 +358,12 @@ public class ActivityThread implements Runnable
x.printStackTrace();
LogUtils.traceException(x, false);
- AuditTrailLogger.getInstance(LogCode.ENGINE, processInstance).error(
- "Unexpected activity thread state.");
+ // do not try to log to audit trail if TX is marked for rollback
+ if (!TransactionUtils.isCurrentTxRollbackOnly())
+ {
+ AuditTrailLogger.getInstance(LogCode.ENGINE, processInstance).error(
+ "Unexpected activity thread state.");
+ }
throw new InternalException("Unexpected activity thread state.");
}