21 WebLogic Server Foreign JNDI Providers
This chapter includes the following sections:
Create foreign JNDI providers
To create a new foreign JNDI provider:
General Configuration
On the General Configuration page, you can define general configuration settings for your new foreign JNDI provider:
-
Name: enter a name for the foreign JNDI provider.
-
Scope: select the scope for this foreign JNDI provider.
-
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
. -
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
. -
User: enter the name of a user authorized to access the foreign JNDI.
-
Password: enter the user password.
-
Confirm Password: confirm the user password.
-
Properties: click Add to 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. Express each property as aname=value
pair, separated by commas.
For more information about these fields, see Configuration Options.
Parent topic: Create foreign JNDI providers
Targets
On the Targets page, select the server instances and clusters on which you want to target the new foreign JNDI provider.
Parent topic: Create foreign JNDI providers
Review
On the Review page, review the configuration for this foreign JNDI provider.
Parent topic: Create foreign JNDI providers
Monitor foreign JNDI providers
To monitor the foreign JNDI providers configured in the domain:
Optionally, select View to access the following table options:
-
Columns: add or remove the columns displayed in the table
-
Detach: detach the table (viewing option)
-
Sort: sort the columns in ascending or descending order
-
Reorder: change the order of the columns displayed
-
Query by Example
Parent topic: WebLogic Server Foreign JNDI Providers
Configure foreign JNDI providers
A foreign JNDI provider represents a JNDI tree that resides outside of a WebLogic Server environment. This could be a JNDI tree in a different server environment or within an external Java program. By setting up a foreign JNDI provider you can lookup and use a remote object with the same ease as using an object bound in your WebLogic Server instance. In other words, you can access local and remote objects using a single WebLogic Server connection.
This section includes the following tasks:
- Configure foreign JNDI provider general settings
- Configure foreign JNDI object links
- Create foreign JNDI object links
- Configure a foreign JNDI object link
- Configure tags for a foreign JNDI provider
- Target a foreign JNDI provider
- Create foreign JNDI provider notes
Parent topic: WebLogic Server Foreign JNDI Providers
Configure foreign JNDI provider general settings
To configure general settings for a specific foreign JNDI provider:
Parent topic: Configure foreign JNDI providers
Configure foreign JNDI object links
A foreign JNDI object link represents a local link to an object in a foreign (remote) JNDI tree. After you create a foreign JNDI provider you can add foreign JNDI links that set up a relationship between a name in your local JNDI tree and the object in the remote tree.
To configure foreign JNDI object links:
Parent topic: Configure foreign JNDI providers
Create foreign JNDI object links
To create object links to a foreign JNDI provider:
- From the WebLogic Domain menu, select Other Services, then select Foreign JNDI Providers.
- In the Foreign JNDI Provider table, select the name of the foreign JNDI provider to which you want to create object links.
- Select Configuration, then select Links.
- Click Create.
- Define the configuration settings for your new foreign JNDI object link on each page of the following sections.
- Then, click Create.
Parent topic: Configure foreign JNDI providers
General Configuration
On the General Configuration page, you can define general configuration settings for your new foreign JNDI object link
-
Name: enter a name for the foreign JNDI link.
-
Local JNDI Name: specify the name that the remote JNDI object will be bound to in the local server's JNDI tree and used to look up the object on the local server.
-
Remote JNDI Name: specify the name of the remote object that will be looked up in the foreign JNDI directory.
For more information about these fields, see Configuration Options.
Parent topic: Create foreign JNDI object links
Review
On the Review page, review the configuration for this foreign JNDI object link.
Parent topic: Create foreign JNDI object links
Configure a foreign JNDI object link
A foreign JNDI object link represents a local link to an object in a foreign (remote) JNDI tree. After you create a foreign JNDI provider you can add foreign JNDI links that set up a relationship between a name in your local JNDI tree and the object in the remote tree.
This section includes the following tasks:
Parent topic: Configure foreign JNDI providers
Configure foreign JNDI link general settings
To configure general settings for a foreign JNDI object link:
Parent topic: Configure a foreign JNDI object link
Create foreign JNDI link notes
To create notes to describe the configuration of this foreign JNDI link:
Parent topic: Configure a foreign JNDI object link
Configure tags for a foreign JNDI provider
To configure tags for a specific foreign JNDI provider:
Parent topic: Configure foreign JNDI providers
Target a foreign JNDI provider
To target a specific foreign JNDI provider:
Parent topic: Configure foreign JNDI providers
Create foreign JNDI provider notes
To create notes to describe the configuration of this foreign JNDI provider:
Parent topic: Configure foreign JNDI providers