Creating a Foreign JMS Server

Create a foreign JMS server to establish a link between the WebLogic domains.

To create a foreign JMS server:

  1. Launch the WebLogic Remote Console.
  2. Create a foreign server.
    1. In the NavStrip, click Edit Tree.
    2. In the Navigation Tree, expand Services and select JMS Modules.
    3. Expand the JMS module you previously created, and select Foreign Servers.
    4. In the Content Pane, click New.
    5. In the Name field, enter a name for the foreign server, then click Create.
    6. In the JNDI Connection URL field, enter the URL of the remote server you created.

      For example:

      • If you are using a standalone server: t3://<hostname>:7001.
      • If you are using a cluster: t3://<hostname>:7003,<hostname>:7004.
    7. In the JNDI Properties Credential field, enter the password that you used on the remote server when you configured the trusted connection.
    8. Click the Default Targeting Enabled toggle on.
    9. Click Save.
  3. Configure a JDNI Property for your foreign server.
    1. In the NavStrip, click Edit Tree.
    2. In the Navigation Tree, expand Services and select JMS Modules.
    3. Expand the JMS module you previously created, and select Foreign Servers.
    4. Expand the foreign server you created earlier, then click JNDI Properties.
    5. In the Content Pane, click New.
    6. In the Key field, enter java.naming.security.principal.
    7. In the Value field, enter the WebLogic user name for our remote server.
    8. Click Create.
  4. Configure a destination for your foreign server.
    1. In the NavStrip, click Edit Tree.
    2. In the Navigation Tree, expand Services and select JMS Modules.
    3. Click the JMS module you previously created, and select Foreign Servers.
    4. Click the foreign server you created earlier, then click Foreign Destinations.
    5. In the Content Pane, click New.
    6. In the Name field, enter a name for the foreign server.
    7. In the Local JNDI Name field, enter a JNDI name.

      Note: This JNDI name should be different from the name you previously assigned to the message queue for the remote server.

    8. In the Remote JNDI Name field, enter the JDNI name you previously assigned to the message queue for the remote server.
    9. Click Create.
    10. In the Username and Password fields, enter the credentials for the logging into the remote server.
  5. Configure a connection factory for your foreign server.
    1. In the NavStrip, click Edit Tree.
    2. In the Navigation Tree, expand Services and select JMS Modules.
    3. Expand the JMS module you previously created, and select Foreign Servers.
    4. Expand the foreign server you created earlier, then click Foreign Connection Factories.
    5. In the Content Pane, click New.
    6. In the Name field, enter a name for the foreign server.
    7. In the Local JNDI Name field, enter a JNDI name.

      Note: This JNDI name should be different from the name you previously assigned to the connection factory for the remote server.

    8. In the Remote JNDI Name field, enter the JDNI name you previously assigned to the connection factory for the remote server.
    9. Click Create.
  6. Click Click to view shopping cart actions, and select Commit Changes.

Related Topics

Sending Events to a Remote WebLogic JMS Server

Creating a WebLogic Domain on a Remote or Local Server

Configuring a Trust Relationship



Last Published Wednesday, February 25, 2026