Create an XA DataSource

About this task

  1. 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.
  2. Locate the DERBY JDBC Provider (XA) entry and click it.
  3. Locate the Additional Properties section and click Data Sources.
  4. 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
  5. On top of the page, click the Test connection button.
  6. Even if you get a negative result, modify the Database name field, deleting the part ;create=true. Click OK.