QuestionQ136

VerifiedConfiguring WebLogic Server Resources

You configure a data source with a non-XA driver because your non-Oracle database does not supply XA drivers.

The data source will occasionally participate in global transactions with an EJB, so while configuring it, you select Supports Global Transactions and One-Phase Commit.

Why is this configuration incorrect?

Explanation

In WebLogic Server, the One-Phase Commit option for a non-XA JDBC data source allows its connection to be the only participant in a global transaction. It cannot be used for a global transaction that also includes EJB transaction work. WebLogic documents Logging Last Resource or Emulate Two-Phase Commit as the non-XA configurations for multiple EJB database operations within one transaction.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!