Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Configuration Reference

# ForeignJMSServer

# Description

This class represents a JNDI provider that is outside the WebLogic JMS server. It is a parent element of the ForeignJMSConnectionFactory and ForeignJMSDestination MBeans. It contains information that allows WebLogic Server to reach the remote JNDI provider. This way, a number of connection factory and destination objects can be defined on one JNDI directory.

# Syntax

>     <ForeignJMSServer
>       ConnectionURL="String"
>       DeploymentOrder="number"
>       InitialContextFactory="String"
>       JNDIProperties="java.util.Properties"
>       Name="String"
>       Notes="String"
>       Targets="list of Target names"
>     />

# Parent Elements

- Domain

# Child Elements

- ForeignJMSConnectionFactory
- ForeignJMSDestination

# Attributes

Table 18-1 ForeignJMSServer attributes

Attribute | Description | Range of Values and Default
--- | --- | ---
ConnectionURL | The URL that WebLogic Server will use to contact the JNDI provider. The syntax of this URL depends on which JNDI provider is being used. This value corresponds to the standard JNDI property, `java.naming.provider.url`. If not specified, look-ups will be performed on the JNDI server within the WebLogic Server instance where this connection factory is deployed. | Admin Console field label: JNDI Connection URL Required: no
DeploymentOrder | A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type. For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes. Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters. | Default: 1000 Minimum: 0 Maximum: 231-1
InitialContextFactory | The name of the class that must be instantiated to access the JNDI provider. This class name depends on the provider and vendor that are being used. It defaults to `weblogic.jndi.WLInitialContextFactory`, which is the correct value for WebLogic Server. This value corresponds to the standard JNDI property, `java.naming.factory.initial`. | Admin Console field label: JNDI Initial Context Factory Default: weblogic.jndi.WLInitialContextFactory
JNDIProperties | Additional properties that must be set for the particular JNDI provider. These properties will be passed directly to the constructor for the JNDI provider's InitialContext class. | Admin Console field label: JNDI Properties Required: no
Name | The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration. | Admin Console field label: Name Required: no
Notes | Optional information that you can include to describe this configuration. | Admin Console field label: Notes Required: no
Targets | The targets in the current domain on which this item can be deployed. | Admin Console field label: Targets Required: no