projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPA authentication working.
[lgpl/argeo-commons.git]
/
org.argeo.enterprise
/
src
/
org
/
argeo
/
osgi
/
useradmin
/
WcXaResource.java
diff --git
a/org.argeo.enterprise/src/org/argeo/osgi/useradmin/WcXaResource.java
b/org.argeo.enterprise/src/org/argeo/osgi/useradmin/WcXaResource.java
index 525176d962fcbb407b8c52db8eaf6e99e5c4b9c1..1630b6bd36befa841d3968b84d260750dda8e017 100644
(file)
--- a/
org.argeo.enterprise/src/org/argeo/osgi/useradmin/WcXaResource.java
+++ b/
org.argeo.enterprise/src/org/argeo/osgi/useradmin/WcXaResource.java
@@
-62,6
+62,7
@@
class WcXaResource implements XAResource {
try {
userDirectory.prepare(wc);
} catch (Exception e) {
try {
userDirectory.prepare(wc);
} catch (Exception e) {
+ e.printStackTrace();
throw new XAException(XAException.XAER_RMERR);
}
return XA_OK;
throw new XAException(XAException.XAER_RMERR);
}
return XA_OK;
@@
-78,6
+79,7
@@
class WcXaResource implements XAResource {
userDirectory.prepare(wc);
userDirectory.commit(wc);
} catch (Exception e) {
userDirectory.prepare(wc);
userDirectory.commit(wc);
} catch (Exception e) {
+ e.printStackTrace();
throw new XAException(XAException.XAER_RMERR);
} finally {
cleanUp(xid);
throw new XAException(XAException.XAER_RMERR);
} finally {
cleanUp(xid);
@@
-90,6
+92,7
@@
class WcXaResource implements XAResource {
checkXid(xid);
userDirectory.rollback(wc(xid));
} catch (Exception e) {
checkXid(xid);
userDirectory.rollback(wc(xid));
} catch (Exception e) {
+ e.printStackTrace();
throw new XAException(XAException.XAER_RMERR);
} finally {
cleanUp(xid);
throw new XAException(XAException.XAER_RMERR);
} finally {
cleanUp(xid);