|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
using JMS in WSAD - continue |
« View previous topic :: View next topic » |
Author |
Message
|
hagai2003 |
Posted: Thu Jun 12, 2003 12:44 am Post subject: using JMS in WSAD - continue |
|
|
Novice
Joined: 08 Jun 2003 Posts: 15
|
hi jackie and all, for some reason i couldn't continue the previous topic :
I think that i have some basic problem with the product or with my understanding of it.
You, jackie sayed :
"go to admin console, go to Websphere MQ JMS and bind MQ objects with your JNDI name such as "jms/SendQCF" ...."
i don't have these things on my wsad.
I'd like you to see my WSAD screen snapshot:
(no file sharing in this forum)
http://community.webshots.com/sym/image6/5/73/11/76657311crXJsE_fs.jpg
is this the screen you work with ?
as you can see i don't have any "websphere mq" section in my wsad, i don't have any resources section (like the help mentions)
i only have the "Websphere JMS Provider Options" that does not mention MQ series.
do you define JMS connection factories and JMS queue factories using the screen like the snapshot i made of my screen ?
thanks, Hagai. |
|
Back to top |
|
 |
dotjas |
Posted: Thu Jun 12, 2003 10:20 am Post subject: |
|
|
Novice
Joined: 28 Apr 2002 Posts: 14 Location: Madison, WI
|
Here is a setup procedure for using WebSphere MQ, with an application using WAS v5.0 in WSAD v5.0
1. JRE Setup
· Select Windows -> Preferences
· Expand 'Java' and select 'Installed JREs'
· Select 'Add' and create a JRE called 'WebSphere v5 JRE'
· Load the following JAR files:
i. 'JRE home directory' path is, 'C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java\jre'.
ii. 'Add External JARs…' and add 'C:\Program Files\IBM\WebSphere Studio\base_v5\java\jre\lib\rt.jar'.
2. Java Build Path Setup – This is the classpath setup that WSAD will use to compile your java application. The order of the JAR files should be the same as below. To navigate to it, right-click on your Project -> Properties -> Java Build Path.
Add the following External JARs (Add External JARs..):
· C:\WSMQ\Java\lib\jms.jar
· C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java\jre\lib\rt.jar
3. Launch Configuration (two screens)Classpath Setup – Make sure that your classpath is described below: To navigate to it, select the Java Perspective -> Select 'Run' on the Menu bar -> Run -> Select the application you are going to run. The order of the JAR files should be the same as below. Note, the Launch Configuration – Classpath Setup must be setup for each application that will be using WebSphere MQ.
Add the following External JARS (Add External JARs):
· C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\lib\messagingClient.jar
· C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\lib\namingserver.jar
· C:\WSMQ\Java\lib\com.ibm.mq.jar
· C:\WSMQ\Java\lib\com.ibm.mqjms.jar
· C:\Program Files\IBM\WebSphere Studio\wstools\eclipse\plugins\com.ibm.websphere.v5_5.0.2\implfactory.jar
JRE Setup - The JRE defined in Step 1 must be selected in the Launch Configuration panel. To navigate to it, just select the 'JRE' tab.
4. Server Configuration Setup· Navigate to the Server Perspective and open the Server Configuration that is going to be used.
· Select the 'Configuration' tab and select 'Enable administration console'.
5. Administrative Console Setup· Bring the up the Administrative Console by right clicking on your running Server and selecting run Administrative Console.
· Signon using your DOT Userid.
· Expand the 'Resources' tab in the Navigation menu (on the left).
· Select the 'WebSphere MQ JMS Provider'. This will bring up the entry screen.
· For the Scope of the configuration, select the 'Server' and hit 'Apply'.
· Scroll down to find 'WebSphere MQ Queue Connection Factories' and select it.
· Select 'New' to add and define a 'WebSphere MQ Queue Connection Factories'.
· There are only three fields required on this screen, these are as follows:
i. Name – enter a meaningful name for this Queue Connection Factory.
ii. JNDI Name – enter the name of the JNDI Resource including the path.
iii. Queue Manager – enter the name of the WebSphere MQ Queue Manager.
iv. Scroll down and hit 'Apply'
v. Repeat for other Queue Connection Factories as needed.
· Re-select the 'WebSphere MQ JMS Provider' (on the left). This will bring up the entry screen.
· Scroll down to find 'WebSphere MQ Queue Destinations' and select it.
· Select 'New' to add and define a 'WebSphere MQ Queue Destination'.
· There are four fields that are required on this screen, these are as follows:
i. Name – enter a meaningful name for this Queue.
ii. JNDI Name – enter the name of the JNDI Resource including the path.
iii. Base Queue Name – enter the name of the WebSphere MQ Queue.
iv. Base Queue Manager Name – enter the name of the WebSphere MQ Queue Manager.
v. Scroll down and hit 'Apply'.
vi. Repeat for all Queues.
· Click on 'Save' which is on the upper navigation bar.
· Confirm the 'Save'.
· Done with Administrative Console setup. _________________ Jim Schuchardt
Principal Consultant
MQ Certified Specialist |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|