Note:
If you are logged into a domain partition, navigate from the Domain Partition menu.
This chapter includes the following sections:
To create a new foreign JNDI provider:
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 a name=value
pair, separated by commas.
For more information about these fields, see Configuration Options.
On the Targets page, select the server instances and clusters on which you want to target the new foreign JNDI provider.
For more information, see Configuration Options.
On the Review page, review the configuration for this foreign JNDI provider.
For more information, see Configuration Options.
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
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:
To configure general settings for a specific foreign JNDI provider:
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:
To create object links to a foreign JNDI provider:
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.
On the Review page, review the configuration for this foreign JNDI object link.
For more information, see Configuration Options.
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:
To configure general settings for a foreign JNDI object link: