Appendix

This section provides you the additional configuration details such as connecting browser to a remote WAS and creation of MQ manager and related objects.

Connecting Browser to a Remote WAS

Add the following configuration in BrowserWeb.war/WEB-INF/web.xml.

<resource-ref id="ResourceRef_jmsConnectionFactory">
            <description>Used to get connections to JMS for OFS queues</description>
            <res-ref-name>iiop://[IP]:[PORT_IIOP]/jmsConnectionFactory</res-ref-name>
            <res-type>javax.jms.ConnectionFactory</res-type>
            <res-auth>Container</res-auth>
      </resource-ref>

Creating MQ manager and Related Object

The following script is used to create the MQ manager and its associated object to be bound with WebSphere. The scripts are available in the %TAFJ_HOME%/appserver/was folder.

# UNIX Only
#
# execute the commands to create The Queue Manager , the Channel and the mandatory queues.
#
# Add to mqm group all user need access to the queues including user running the Application Server.

# define variable for Queue Manager Name.
export MQNAME=P2CBRMQ1

# Creation of the Queue manager.
crtmqm -q $MQNAME

# the Queue manager.Start Queue
strmqm $MQNAME

# run console  for the queue manager 
runmqsc $MQNAME

# In the console copy these commands 
DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(1414) CONTROL(QMGR)
START LISTENER('LISTENER.TCP')
DEFINE CHANNEL('SYSTEM.ADMIN.SVRCONN') CHLTYPE(SVRCONN)
ALTER QMGR CHLAUTH(DISABLED)
REFRESH SECURITY
DEFINE QLOCAL('t24BROWSERQueue') SHARE
DEFINE QLOCAL('t24BROWSERReplyQueue') SHARE
DEFINE QLOCAL('t24OFSQueue') SHARE
DEFINE QLOCAL('t24OFSReplyQueue') SHARE
DEFINE QLOCAL('t24TCIBQueue') SHARE
DEFINE QLOCAL('t24TCIBReplyQueue') SHARE
DEFINE QLOCAL('t24TCIBCORPQueue') SHARE
DEFINE QLOCAL('t24TCIBCORPReplyQueue') SHARE
DEFINE QLOCAL('t24TWSQueue') SHARE
DEFINE QLOCAL('t24TWSReplyQueue') SHARE
DEFINE QLOCAL('t24CALLATQueue') SHARE
DEFINE QLOCAL('t24CALLATReplyQueue') SHARE
DEFINE QLOCAL('t24ARCIBQueue') SHARE
DEFINE QLOCAL('t24ARCIBReplyQueue') SHARE
DEFINE QLOCAL('t24SEATQueue') SHARE
DEFINE QLOCAL('t24SEATReplyQueue') SHARE
DEFINE QLOCAL('t24EXECQueue') SHARE
DEFINE TOPIC('tecEventsTopic') TOPICSTR('/') SHARE

Copyright © 2020- Temenos Headquarters SA

Published on :
Friday, October 22, 2021 3:41:25 PM IST

Feedback
x