In the Projects window, right-click the Configuration node in the project you want to modify, and then click Edit.
The Configuration Editor appears.
Click the Deployment tab.
In the Transaction Mode field, select XA (within application only).
On the Configuration Editor toolbar, click Save.
To configure the database connection, launch the application server Admin Console and do one of the following:
If the database connection is already defined, do the following on the Admin Console:
If the database connection is not already defined, follow the instructions provided in Defining the Database Connection Pools in Developing Sun Master Indexes . Select javax.sql.XADataSource for the Resource Type.