jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r510520 - /jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java
Date Thu, 22 Feb 2007 14:02:24 GMT
Author: dpfister
Date: Thu Feb 22 06:02:23 2007
New Revision: 510520

URL: http://svn.apache.org/viewvc?view=rev&rev=510520
Log:
JCR-743 XA Transaction Recovery

Modified:
    jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java

Modified: jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java?view=diff&rev=510520&r1=510519&r2=510520
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/JCARepositoryManager.java
Thu Feb 22 06:02:23 2007
@@ -174,7 +174,9 @@
          * Shutdown the repository.
          */
         public void shutdown() {
-            repository.shutdown();
+            if (repository != null) {
+                repository.shutdown();
+            }
         }
 
         /**



Mime
View raw message