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. If it is not already open, launch the WebLogic Administration Console.
  2. In the WebLogic Administration Console, expand Services/Messaging and click JMS Modules in the Domain Structure pane.
  3. On the JMS Modules page, select the module you created for the remote server.
  4. On the Settings page, click the Configuration tab and under Summary of Resources click New.
  5. On the Create a New JMS System Module Resource page:
    1. Under Choose the type of resource you want to create, select the Foreign Server option and click Next.
    2. Under Foreign Server Properties, enter a name in the Name field and click Next.
    3. Under The following properties will be used to target your new JMS system module resource, ensure the correct server is targeted and click Finish.

      Note: If you are deploying to a cluster, the cluster should be selected as the target.

  6. On the Configuration tab of the Settings page, click the name of the new foreign server.
  7. On the Settings page, click the Configuration tab and then click the General tab.
  8. On the General tab:
    1. Enter the URL of the remote server created from step 4 of section Sending Events to a Remote WebLogic JMS Server in the JNDI Connection URL field.

      For example:

      • If you are using a standalone server: t3://<hostname>:7001.
      • If you are using a cluster: t3://<hostname>:7003,<hostname>:7004.
    2. Enter the password that you used to log on to the remote WebLogic server in the JNDI Properties Credential field.
    3. Reenter this password in the Confirm JNDI Properties Credential field.
    4. Enter java.naming.security.principal=<name> in the JNDI Properties box, where name is the user name you used to log on to the remote WebLogic server.
    5. Click Save.
  9. On the Configurations tab, click the Destinations tab and click New under Foreign Destinations.
  10. On the Create a New Foreign JMS Destination page:
    1. Enter a name in the Name field.
    2. Enter a JNDI name in the Local JNDI Name field. Ensure that the Local JNDI name is different from the JNDI name that you had previously assigned to the message queue for the remote server.
    3. Enter the JNDI name that you assigned to the message queue for the remote server in the Remote JNDI Name field.
    4. Click OK.
  11. On the Configurations tab, click the Connection Factories tab and click New under Foreign Connection Factories.
  12. On the Create a New Foreign JMS Connection Factory page:
    1. Enter a name in the Name field.
    2. Enter a JNDI name in the Local JNDI Name field. Ensure that the Local JNDI name is different from the JNDI name that you had previously assigned to the connection factory for the remote server.
    3. Enter the JNDI name that you assigned to the connection factory for the remote server in the Remote JNDI Name field.
    4. Click OK.

Related Topics

Configuring the WebLogic Message Queue

Sending Events to a Remote WebLogic JMS Server

Configuring a Trust Relationship

Configuring and Testing the WebLogic Message Queue Security

Configuring the Security Policy for the WebLogic Message Queue

Creating a WebLogic Domain on a Remote or Local Server

Creating a JMS Server and Persistence Store

Creating a JMS Module

Creating a JMS Connection Factory

Creating a JMS Message Queue and Subdeployment



Legal Notices | Your Privacy Rights
Copyright © 1999, 2020

Last Published Monday, September 27, 2021