Create an XA DataSource
About this task
- In the left panel, go to Resources → JDBC..→ JDBCProviders.
In the resulting right panel, check that the scope is pointing to
your_application_server_name. - Locate the DERBY JDBC Provider (XA) entry and click it.
- Locate the Additional Properties section and click Data Sources.
- Click New and type in the fields as follows:
Name=MyScheduler XA DataSource JNDI name=jdbc/SchedulerXADS Database name=${USER_INSTALL_ROOT}/databases/Schedulers/${SERVER}/SchedulerDB; create=true - On top of the page, click the Test connection button.
- Even if you get a negative result, modify the Database
name field, deleting the part
;create=true. Click OK.