# Create foreign connection factory overrides

Before you begin

Note: WebLogic Server Multitenant domain partitions are deprecated in WebLogic Server 12.2.1.4.0. The related Console and help pages will be removed in the next release.

- Configure JMS module overrides
- Configure foreign server overrides

A foreign connection factory override defines partition-specific overrides for the most commonly overridden attributes in a ForeignConnectionFactory MBean. It overrides some of the settings in a same-named ForeignConnectionFactory MBean instance in the same multi-tenant scope to which this override MBean belongs.

To create a foreign connection factory override:

1. In the left pane of the Console, select Domain Partitions.

   The Domain Partitions table displays all the partitions defined in the domain.

2. Click on the name of the domain partition for which you want to create a foreign destination override.
3. Select the Resource Overrides > JMS Modules configuration page.

   The JMS Module Overrides table displays all the JMS module overrides that have been configured in this domain partition.

4. Click on the name of the JMS module override for which you want to create a foreign connection factory override.
5. Click on the name of the JMS foreign server override for which you want to create a foreign connection factory override.
6. On the Configuration > Connection Factories page, click New.
7. On the Create a Foreign JMS Connection Factory Override page, provide a Foreign JMS Connection Factory Name for the foreign connection factory override.

   The name of this foreign connection factory override must match the name of the actual resource to be overridden.

8. Optionally, in the Remote JNDI Name, User Name, and Password fields, provide partition-specific values and click OK.

   The new foreign connection factory override appears in the Foreign Connection Factory Overrides table.

After you finish

If the resource is running, you must restart the partition for the overrides to take effect.