Learn how to configure a Message Server in WebLogic Server

Source: Internet
Author: User

1. Start the WebLogic Server and open the Weblogic console by usingHttp: // localhost: 7001/consoleOpen, 1-1; enter the user name and password to enter the Weblogic management interface, 1-2.

Figure 1-1

Figure 1-2

2. Click "service | message passing | JMS server". The "new" tab is displayed on the right side, 2-1. Click this tab to create the JMS servers. The interface shown in 2-2 is displayed.

Click "Next" to go to the page shown in Figure 2-3. Select adminserver and click "finish" to create the JMS server. 2-4 displays the created JMS server.

Figure 2-1

Figure 2-2

Figure 2-3

 

Figure 2-4


3. Configure JMS modules. Click "service | message transmission | JMS module", and the "new" tab appears on the right. Click it to create a JMS module, as shown in Figure 3-1.

Click "Next" to go to the 3-2 page. Select the "target" server as "adminserver ".

Figure 3-1

Figure 3-2

Click "Next" to go to Figure 3-3. Select "do you want to add resources to this JMS system module ?" Click "finish" to go to Figure 3-4, indicating that the module is successfully created.

Figure 3-3

Figure 3-4


4. Create resources. Click "new" to go to Figure 4-1. Select a queue and click "Next" to go to Figure 4-2. Set the JNDI nameJMS/mymdb.

Note: The JNDI name must be consistent with the message objective in the message-driven bean code and the message objective of the message sender.

Figure 4-1

Figure 4-2

Click "Next" to go to Figure 4-3. Click Create Sub-deployment to go to Figure 4-4. Click OK to go to Figure 4-5 and select a JMSServer-0. Click Finish to return to Figure 4-6.

Figure 4-3

Figure 4-4

Figure 4-5

Figure 4-6

5. Create a "connection factory ". Click new to go to Figure 5-1. Select "connection factory ". Click "Next" to go to Figure 5-2. Enter the connection factory's JNDI Name:JMS/mymdb-factory.

Note: The JNDI name here must be the same as the name of the message factory used in the previous message sending program.

Figure 5-1

Figure 5-2

Click "Next" to go to Figure 5-3. The server adminserver has been selected. Keep the default settings. Click Finish to go to Figure 5-4. It shows the resources in the created JMS module,

Includes a connection factory and a queue.

Figure 5-3

Figure 5-4

6. view the JNDI tree. For more information, see learning to view the JNDI tree diagram in weblogic.

The JNDI tree is shown in 6-1:

Figure 6-1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.