Creating a Foreign JMS Server
Create a foreign JMS server to establish a link between the WebLogic domains.
To create a foreign JMS server:
- If it is not already open, launch the WebLogic Administration Console.
- In the WebLogic Administration Console, expand Services/Messaging and click JMS Modules in the Domain Structure pane.
- On the JMS Modules page, select the module you created for the remote server.
- On the Settings page, click the Configuration tab and under Summary of Resources click New.
- On the Create a New JMS System Module Resource page:
- Under Choose the type of resource you want to create, select the Foreign Server option and click Next.
- Under Foreign Server Properties, enter a name in the Name field and click Next.
- 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.
- On the Configuration tab of the Settings page, click the name of the new foreign server.
- On the Settings page, click the Configuration tab and then click the General tab.
- On the General tab:
- 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.
- Enter the password that you used to log on to the remote WebLogic server in the JNDI Properties Credential field.
- Reenter this password in the Confirm JNDI Properties Credential field.
- 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.
- Click Save.
- 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.
- On the Configurations tab, click the Destinations tab and click New under Foreign Destinations.
- On the Create a New Foreign JMS Destination page:
- Enter a name in the Name field.
- 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.
- Enter the JNDI name that you assigned to the message queue for the remote server in the Remote JNDI Name field.
- Click OK.
- On the Configurations tab, click the Connection Factories tab and click New under Foreign Connection Factories.
- On the Create a New Foreign JMS Connection Factory page:
- Enter a name in the Name field.
- 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.
- Enter the JNDI name that you assigned to the connection factory for the remote server in the Remote JNDI Name field.
- 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 Connection Factory
Creating a JMS Message Queue and Subdeployment
Last Published Thursday, October 12, 2023