Previous Topic: JBossNext Topic: Deploying State Manager


Oracle WebLogic

This section provides the steps to enable Oracle WebLogic for JNDI-based database operations.

Perform the following steps to create a data source in Oracle WebLogic:

  1. Log in to WebLogic Administration Console.
  2. Click the Lock & Edit button, if it is not done.
  3. Go to Resources, and then click JDBC.
  4. Under JDBC, open Data Sources, and click New to create a new data source.

    In case of Oracle WebLogic 11g, navigate to Services, then JDBC, and finally to Data Sources.

  5. Set the following JNDI and database information:
    1. Specify the name of the data source in the Name field.
    2. Specify the JNDI name in the JNDI Name field.

      Note: The value you enter in the JNDI Name field must exactly match the "Primary JNDI Name" that you have configured in the AFM wizard.

    3. Choose a suitable Database Type, for example Oracle.
    4. Select a suitable Database Driver, for example Oracle Thin Driver.
  6. Click Next, retain the default values, and then click Next again.
  7. In the Connection Properties page, set the database details. The values mentioned here are for the Oracle database:
  8. Click Test Configuration to verify that you have specified the correct database parameters.
  9. Click Next and set the data source target to the preferred WebLogic server instance.
  10. Click Finish to return to the data source list page.
  11. Click Activate to enable the data source settings.