Oracle Message ORA-02089 - COMMIT is not allowed in a subordinate session

ERRORCOMMIT is not allowed in a subordinate session
CAUSECOMMIT was issued in a session that is not the two-phase commit global coordinator.
ACTIONIssue commit at the global coordinator only.