J2EE Messaging
885
Setting up Weblogic 6.0 for JMS
These are the instructions to set up the Weblogic 6.0 server, and create a JMS connection factory and a
JMS topic on Windows NT. An evaluation copy of Weblogic 6.0 can be downloaded from
http://commerce.bea.com/downloads/weblogic_server.jsp.
q
From the Start menu select BEA Weblogic E-Business Platform | Weblogic Server 6.0 | Start
Default Server
q
Run the console application by navigating to http://localhost:7001/console
Creating a JMS Server
q
In the navigation bar of the console app select Services | JMS | Servers
q
Click Create a new JMS Server
q
Enter MyJMSServer as the name for the server
q
Click the Create button
q
Click on the Targets tab
q
Choose the default server myserver
q
Click the Apply button
Creating a JMS Connection Factory
q
In the navigation bar of the console app select Services | JMS | Connection Factories
q
Click Create a new JMS Connection Factory
q
Enter MyJMSConnectionFactory as the name
q
Enter MyJMSConnectionFactory as the JNDI name
q
Click the Create button
q
Click on the Targets tab
q
Choose the default server myserver
q
Click the Apply button
Creating a JMS Topic
q
In the navigation bar of the console app select Services | JMS | Servers | MyJMSServer |
Destinations
q
Click Create a new JMS Topic
q
Enter MyJMSTopic as the topic name
q
Enter MyJMSTopic as the JNDI name
q
Click on Create