if (gdsHelper.getCurrentTrHandle() != null) throw new XAException(XAException.XAER_PROTO);
synchronized (gdsHelper) { while (gdsHelper.getCurrentTrHandle() != null) { try { if (log != null) log.trace("getCurrentTrHandle is still set, waiting for it to become free "); gdsHelper.wait(); } catch (InterruptedException ex) { } } }
    public void internalStart(Xid id, int flags) throws XAException, GDSException {        if (log != null) log.trace("start called: " + id);        if (gdsHelper.getCurrentTrHandle() != null) throw new XAException(XAException.XAER_PROTO);        findIscTrHandle(id, flags);    }