IPA authentication working.
[lgpl/argeo-commons.git] / org.argeo.enterprise / src / org / argeo / osgi / useradmin / WcXaResource.java
index 525176d962fcbb407b8c52db8eaf6e99e5c4b9c1..1630b6bd36befa841d3968b84d260750dda8e017 100644 (file)
@@ -62,6 +62,7 @@ class WcXaResource implements XAResource {
                try {
                        userDirectory.prepare(wc);
                } catch (Exception e) {
+                       e.printStackTrace();
                        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) {
+                       e.printStackTrace();
                        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) {
+                       e.printStackTrace();
                        throw new XAException(XAException.XAER_RMERR);
                } finally {
                        cleanUp(xid);