JNDI Naming Service Options

Use the following information to enter data in the fields of the Cache Coordination tab to configure the naming service options:

Field | Description
--- | ---

URL

The location of the JNDI naming service.

For a JMS coordinated cache: If you are using the Oracle Containers for J2EE (OC4J) JNDI naming service and all the hosts in your coordinated cache can communicate using the OC4J proprietary RMI protocol ORMI, use a URL similar to the following:

    ormi://<JMS-host-IP>:<JMS-host-port>

where `JMS-host-IP` is the IP address of the host on which the JMS service provider is running and `JMS-host-port` is the port on which the JMS service provider is listening for JMS requests.

For an RMI or CORBA coordinated cache: If you are using the OC4J JNDI naming service and all the hosts in your coordinated cache can communicate using the OC4J proprietary RMI protocol ORMI on OC4J default port 23791, use a URL similar to the following:

    ormi://<session-host-IP>:23791

where `session-host-IP` is the IP address of the host on which this session is deployed.

Username | The user name required to log in to the JNDI naming service. The value you enter defines the `Context.SECURITY_PRINCIPAL` environment property.
Password | The plain text (unencrypted) password required to log in to the JNDI naming service. The password appears in plain text in TopLink Workbench, but it is encrypted when written to the `sessions.xml` file The value you enter defines the `Context.SECURITY_CREDENTIALS` environment property.

Initial Context Factory

The name of the factory class, provided by your JNDI naming service provider, that implements the `javax.naming.spi.InitialContextFactory` interface. This factory class is used to create a `javax.naming.Context` instance that can access the JNDI naming service provider's context implementation.

The value you enter defines the `Context.INITIAL_CONTEXT_FACTORY` environment property.

Properties | The JNDI context properties. Click Properties to configure custom JNDI context properties (see "Configuring Context Properties").

See Also

  Configuring JNDI Naming Service Information