geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r551929 - /geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
Date Fri, 29 Jun 2007 15:52:38 GMT
Author: dwoods
Date: Fri Jun 29 08:52:37 2007
New Revision: 551929

URL: http://svn.apache.org/viewvc?view=rev&rev=551929
Log:
GERONIMO-3259 Log the stack trace in TransactionImpl.java

Modified:
    geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java

Modified: geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java?view=diff&rev=551929&r1=551928&r2=551929
==============================================================================
--- geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
(original)
+++ geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
Fri Jun 29 08:52:37 2007
@@ -708,8 +708,8 @@
             } else {
                 // if it isn't a named resource should we really stop all processing here!
                 // Maybe this would be better to handle else where and do we really want
to prevent all processing of transactions?
-                // new IllegalStateException("Cannot log transactions unles XAResources are
named! " + committer).printStackTrace();
-                log.warn("Cannot log transactions as " + committer + " is not a NamedXAResource.");
+                Throwable throwable = new IllegalStateException("Cannot log transactions
as " + committer + " is not a NamedXAResource.");
+                log.error(throwable.printStackTrace());
                 return committer.toString();
             }
         }



Mime
View raw message