Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Binding a Data Source to the JNDI Tree with Multiple Names

Before you begin

You can configure a data source so that it binds to the JNDI tree with multiple names. You can use a multi-JNDI-named data source in place of legacy configurations that included multiple data sources that pointed to a single JDBC connection pool. You must either restart the system after making your change or undeploy the data source before making the change, and then redeploy after making the change.

To add JNDI names to an existing data source:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the Domain Structure tree, expand Services, then select Data Sources.
  3. On the Summary of Data Sources page, click the data source name.
  4. Select the Configuration: General tab.
  5. In JNDI Name, enter the names you want to use to bind the data source to the JDNI tree with each name on a separate line.
  6. Click Save.
  7. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

After you activate your changes, you will need to redeploy the data source or restart your server before the changes will take effect.

Back to Top