Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Create a foreign JNDI provider

Before you begin

Read Configure foreign JNDI.

To create a foreign JNDI provider:

  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 Administration Console, expand Services > Foreign JNDI Providers.
  3. On the Summary of Foreign JNDI Providers page, click New.

    Note: Once you create a foreign provider you cannot rename it. Instead, you must delete it and create another one that uses the same name.

  4. On the Create a Foreign JNDI Providers page:
    1. In Name, enter a name for the foreign provider.
    2. For Scope , select the scope in which you want to deploy this foreign JNDI provider.
    3. Click Next to select targets for the provider or click Finish to target all servers in the domain.
    4. Optionally, select servers or clusters as targets for the foreign provider.
    5. Click Finish to add the new provider to the Summary page.
  5. From the Summary page, click the new provider to open it.
  6. On the Configuration: General page:
    1. In Initial Context Factory, enter the name of the class that must be instantiated to access the JNDI provider. This class name depends on the JNDI provider and the vendor that are being used. The value corresponds to the standard JNDI property, java.naming.factory.initial.
    2. In Provider URL, enter the URL that WebLogic Server will use to contact the JNDI provider. This value corresponds to the standard JNDI property, java.naming.provider.url.
    3. In User, enter the name of a user authorized to access the foreign JNDI
    4. In Password, enter the user password.
    5. In Properties specify any additional properties that must be set for the JNDI provider. These properties will be passed directly to the constructor for the JNDI provider's InitialContext class.

      Note: The Properties may be a name=value list of properties, separated by commas.

  7. Click Save.
  8. 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

Continue by adding Foreign JNDI Links that set up a relationship between a name in your local JNDI tree and the object in the remote tree. See Create foreign JNDI object links.

Back to Top