QuestionQ136
Configuring WebLogic Server ResourcesYou 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?
- A You must choose an XA driver when a data source participates in global transactions.
- B "One' Phase Commit" always returns "ready" during phase one of the two-phase commit process' so it is possible you will have heuristic errors in the database.
- C "One-Phase Commit" processes this data source last in the global transactions, if the EJB must go last, you cannot use this configuration.
- D "One-Phase Commit" only allows this data source to participate in global transaction, so you cannot have a global transaction that includes an EJB.
Community Discussion