How to connect to WebSphere MQ 7.1 in JNDI mode with JMS palette in BW 5.x ?

How to connect to WebSphere MQ 7.1 in JNDI mode with JMS palette in BW 5.x ?

book

Article ID: KB0073993

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 5.x

Description


WebSphere MQ Setup

1). In WebSphere MQ Explorer, create a Queue Manager and destinations.
For example, create Queue queue.sample.

NOTE: Create a Server-Connection channel if you don’t use the default (“SYSTEM.DEF.SVRCONN”).

2). Right click on JMS Administered Objects, and create a new connection factory (Queue Connection Factory e.g.).

NOTE: Be sure to choose “MQ Client” Transport.

3). In the page of Connection Factoy, modify Connection List.(from “localhost(1414)” to “192.168.xxx.xxx(1414)”) to specify the Ip address of the MQ server.

4). Choose the Channel if you don’t want to use “SYSTEM.DEF.SVRCONN” by default.

5). Copy the created .bindings file to BW machine.

BW machine Setup

1). Copy all jar files from <MQ_HOME>\IBM\WebSphere MQ\java\lib to some folder and add the folder path to the classpath in designer.tra file and bwengine.tra file.

2). In Configuration tab of JMS Connection palette, set thr JNDI Context Factory to ”com.sun.jndi.fscontext.RefFSContextFactory”.

3). Set the JNDI Context URL to “file:/d:/JNDI/”, where d:/JNDI is the directory name in the BW machine where you copied the .bindings file.

NOTE:

1).  Keep the username/password blank in the Configuration tab of JMS Connection palette.

2).  If your logon user name on BW machine differs from WebSphere MQ server,
    a). Create a user on WebSphere MQ server with the same name.
    b). Assign Object Authorities to it in WebSphere MQ Explorer.

Issue/Introduction

How to connect to WebSphere MQ 7.1 in JNDI mode with JMS palette in BW 5.x ?