Creating a Foreign JMS Server
Configuring Your Environment to Support Event Notification > Sending Events to a Remote WebLogic JMS Server
Create a foreign JMS server to establish a link between the WebLogic domains.
To create a foreign JMS server:
- Launch the WebLogic Remote Console.
- Create a foreign server.
- In the NavStrip, click Edit Tree.
- In the Navigation Tree, expand Services and select JMS Modules.
- Expand the JMS module you previously created, and select Foreign Servers.
- In the Content Pane, click New.
- In the Name field, enter a name for the foreign server, then click Create.
- 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.
- In the JNDI Properties Credential field, enter the password that you used on the remote server when you configured the trusted connection.
- Click the Default Targeting Enabled toggle on.
- Click Save.
- Configure a JDNI Property for your foreign server.
- In the NavStrip, click Edit Tree.
- In the Navigation Tree, expand Services and select JMS Modules.
- Expand the JMS module you previously created, and select Foreign Servers.
- Expand the foreign server you created earlier, then click JNDI Properties.
- In the Content Pane, click New.
- In the Key field, enter
java.naming.security.principal. - In the Value field, enter the WebLogic user name for our remote server.
- Click Create.
- Configure a destination for your foreign server.
- In the NavStrip, click Edit Tree.
- In the Navigation Tree, expand Services and select JMS Modules.
- Click the JMS module you previously created, and select Foreign Servers.
- Click the foreign server you created earlier, then click Foreign Destinations.
- In the Content Pane, click New.
- In the Name field, enter a name for the foreign server.
- 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.
- In the Remote JNDI Name field, enter the JDNI name you previously assigned to the message queue for the remote server.
- Click Create.
- In the Username and Password fields, enter the credentials for the logging into the remote server.
- Configure a connection factory for your foreign server.
- In the NavStrip, click Edit Tree.
- In the Navigation Tree, expand Services and select JMS Modules.
- Expand the JMS module you previously created, and select Foreign Servers.
- Expand the foreign server you created earlier, then click Foreign Connection Factories.
- In the Content Pane, click New.
- In the Name field, enter a name for the foreign server.
- 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.
- In the Remote JNDI Name field, enter the JDNI name you previously assigned to the connection factory for the remote server.
- Click Create.
- 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