[exo-jcr-commits] exo-jcr SVN: r1438 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core.
do-not-reply at jboss.org
do-not-reply at jboss.org
Sat Jan 16 15:04:47 EST 2010
Author: pnedonosko
Date: 2010-01-16 15:04:46 -0500 (Sat, 16 Jan 2010)
New Revision: 1438
Modified:
jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
Log:
EXOJCR-405 comment RM add for XASession, exo tests hungs on version restore
Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java 2010-01-16 15:15:51 UTC (rev 1437)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java 2010-01-16 20:04:46 UTC (rev 1438)
@@ -113,11 +113,12 @@
*/
public void delistResource() throws XAException
{
+ // TODO if session is dead? can we delist it?
try
{
if (LOG.isDebugEnabled())
LOG.debug("Delist session: " + getSessionInfo() + ", " + this);
- txResourceManager.remove(this);
+ //txResourceManager.remove(this);
tService.delistResource(this);
}
catch (RollbackException e)
@@ -135,11 +136,13 @@
*/
public void enlistResource() throws XAException
{
+
+ // TODO if session is dead? can we enlist it?
try
{
if (LOG.isDebugEnabled())
LOG.debug("Enlist session: " + getSessionInfo() + ", " + this);
- txResourceManager.add(this);
+ //txResourceManager.add(this);
tService.enlistResource(this);
}
catch (RollbackException e)
More information about the exo-jcr-commits
mailing list