Professional Documents
Culture Documents
Customer Support
Portal
(/SitePages/Home.aspx)
Introduction
The purpose of this document is to setup Browser and Listeners using JBoss.
(/SitePages/supportinterface.aspx)
1. jremote-ra.rar
2. t24-ds.xml
3. t24-destinations-service.xml
(/TCSPProfileCenter/infodefault.aspx)
4. ofsmessage-ejb.jar (present in the tocfee.ear)
(/Support/DashBoard.aspx)
5. tocflistener-ejb.jar (present in the tocfee.ear)
6. tocfplugin-ra.rar (present in the tocfee.ear)
(/OpenSourcePortal/SitePages/Home.aspx)
7. BrowserBuild1 (for UAT environment)
8. BrowserBuild2 (for PROD environment)
Step: 1:
Create three jca/t24ConnectionFactory's in the t24-ds.xml for setup both browser's and listeners.
<connection-factories>
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactoryUAT</jndi-name>
<rar-name>jremote-ra.rar</rar-name>
<connection-definition>com.jbase.jremote.JConnectionFactory</connection-definition>
<!-- If the agent is accepting SSL connections you can enable SSL -->
https://tcsp.temenos.com/HowTo/tocf.aspx 1/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
</tx-connection-factory>
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactoryPROD</jndi-name>
<rar-name>jremote-ra.rar</rar-name>
<connection-definition>com.jbase.jremote.JConnectionFactory</connection-definition>
<!-- If the agent is accepting SSL connections you can enable SSL -->
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactoryBFL</jndi-name>
<rar-name>jremote-ra.rar</rar-name>
<connection-definition>com.jbase.jremote.JConnectionFactory</connection-definition>
<!-- If the agent is accepting SSL connections you can enable SSL -->
</tx-connection-factory>
</connection-factories>
Step: 2:
https://tcsp.temenos.com/HowTo/tocf.aspx 2/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<!--
| This file defines the default Queues and Topics that JBossMQ
| ships with. The default Queues and Topics are used by the
|
| You can add other destinations to this file, or you can create other
-->
<server>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSReplyQueueUAT">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSQueuePROD">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSReplyQueuePROD">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSQueueBFL">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
https://tcsp.temenos.com/HowTo/tocf.aspx 3/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSReplyQueueBFL">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Topic"
name="jboss.mq.destination:service=Topic,name=tecEvents">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
</server>
Step: 3:
In jboss.xml present under the ofsmessage-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\ofsmessage-
ejb.jar\META-INF\)
(/SitePages/Home.aspx)
<?xml version="1.0" encoding="UTF-8"?>
(/SitePages/supportinterface.aspx)
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
(/TCSPProfileCenter/infodefault.aspx)
<jboss>
(/Support/DashBoard.aspx)
<enterprise-beans>
(/OpenSourcePortal/SitePages/Home.aspx)
<message-driven>
<ejb-name>OFSMessageMDBUAT</ejb-name>
<destination-jndi-name>queue/t24OFSQueueUAT</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<!-- <res-type>javax.jms.Queue</res-type>
-->
<jndi-name>queue/t24OFSReplyQueueUAT</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<jndi-name>java:jca/t24ConnectionFactoryUAT</jndi-name>
<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>
https://tcsp.temenos.com/HowTo/tocf.aspx 4/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
-->
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>OFSMessageMDBPROD</ejb-name>
<destination-jndi-name>queue/t24OFSQueuePROD</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<!-- <res-type>javax.jms.Queue</res-type>
(/SitePages/Home.aspx)
-->
(/SitePages/supportinterface.aspx)
<jndi-name>queue/t24OFSReplyQueuePROD</jndi-name>
</resource-ref>
(/TCSPProfileCenter/infodefault.aspx)
<resource-ref>
(/Support/DashBoard.aspx)
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
(/OpenSourcePortal/SitePages/Home.aspx)
<jndi-name>java:jca/t24ConnectionFactoryPROD</jndi-name>
<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>
-->
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>OFSMessageMDBBFL</ejb-name>
<destination-jndi-name>queue/t24OFSQueueBFL</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<!-- <res-type>javax.jms.Queue</res-type>
-->
https://tcsp.temenos.com/HowTo/tocf.aspx 5/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<jndi-name>java:jca/t24ConnectionFactoryBFL</jndi-name>
<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>
-->
</resource-ref>
</message-driven>
</enterprise-beans>
</jboss>
Step: 4:
In ejb-jar.xml present under the ofsmessage-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\ofsmessage-
(/SitePages/Home.aspx)
ejb.jar\META-INF\)
(/SitePages/supportinterface.aspx)
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar id="EJBJar_OfsMessageMDB" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee"
(/TCSPProfileCenter/infodefault.aspx)
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
<display-name>OFSMessage</display-name>
<enterprise-beans>
<message-driven id="MessageDriven_OfsMessageMDB">
<display-name>OFSMessage Bean</display-name>
<ejb-name>OFSMessageMDBUAT</ejb-name>
<ejb-class>com.temenos.ofsmessage.mdb.OFSMessageMDB</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
https://tcsp.temenos.com/HowTo/tocf.aspx 6/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24ConnectionFactory">
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
(/SitePages/Home.aspx)
<res-auth>Container</res-auth>
(/SitePages/supportinterface.aspx)
</resource-ref>
</message-driven>
(/TCSPProfileCenter/infodefault.aspx)
<message-driven id="MessageDriven_OfsMessageMDB">
(/Support/DashBoard.aspx)
<display-name>OFSMessage Bean</display-name>
(/OpenSourcePortal/SitePages/Home.aspx)
<ejb-name>OFSMessageMDBPROD</ejb-name>
<ejb-class>com.temenos.ofsmessage.mdb.OFSMessageMDB</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
https://tcsp.temenos.com/HowTo/tocf.aspx 7/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<resource-ref id="ResourceRef_t24ConnectionFactory">
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
(/SitePages/Home.aspx)
<message-driven id="MessageDriven_OfsMessageMDB">
(/SitePages/supportinterface.aspx)
<display-name>OFSMessage Bean</display-name>
<ejb-name>OFSMessageMDBBFL</ejb-name>
(/TCSPProfileCenter/infodefault.aspx)
<ejb-class>com.temenos.ofsmessage.mdb.OFSMessageMDB</ejb-class>
(/Support/DashBoard.aspx)
<messaging-type>javax.jms.MessageListener</messaging-type>
(/OpenSourcePortal/SitePages/Home.aspx)
<transaction-type>Bean</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24ConnectionFactory">
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
https://tcsp.temenos.com/HowTo/tocf.aspx 8/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
</enterprise-beans>
</ejb-jar>
Step: 5:
(/SitePages/Home.aspx)
In tcserver.xml present under the tocfplugin-ra.rar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\ tocfplugin-ra.rar\),
(/SitePages/supportinterface.aspx)
create raw-tcp and batchfile listener.
<?xml version="1.0" ?>
(/TCSPProfileCenter/infodefault.aspx)
<!-- DOCTYPE LISTENER SYSTEM "../dtd/LISTENER.dtd" -->
(/Support/DashBoard.aspx)
<!-- GLOBUS Connector communications server LISTENERs definitions -->
(/OpenSourcePortal/SitePages/Home.aspx)
<!-- T&R Department 2002 -->
<TCSERVER>
<ADAPTERS>
<!--
This type of adapter 'TOCF' will process requests using the message endpoint (tocflistener-mdb)
that activated the plugin. An adapter instance will process messages using at most one tocflistener-mdb.
If you require more than one tocflistener-mdb configuration to be called (for different listeners)
-->
<!--
-->
<!-- Configure the number of threads that will deliver messages to the associated tocflistener-mdb -->
https://tcsp.temenos.com/HowTo/tocf.aspx 9/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<MAX_SESSION>20</MAX_SESSION>
<MIN_SESSION>20</MIN_SESSION>
<!--
Configure the charset of the incoming messages. By default the tocflistner is expecting to
receive messages encoded in the Java platform default Charset. You may either use a request
formatter to change the messages format to the default encoding or inform the tocflistener of
<CHARSET>UTF-8</CHARSET>
-->
<!--
Configure the number of seconds this adapter will wait for the processing of a message.
NOTE - this adapter delivers messages the tocflistener-mdb which in turn delivers the
(/SitePages/Home.aspx)
message to the ofsRequestQueue for processing. The following timeout should be a value
(/SitePages/supportinterface.aspx)
longer than the total time for this processing including the possible retries of the
ofsmessage-mdb. See the TOCF(EE) user guide for more details.
(/TCSPProfileCenter/infodefault.aspx)
-->
(/Support/DashBoard.aspx)
<TIMEOUT>60</TIMEOUT>
(/OpenSourcePortal/SitePages/Home.aspx)
</ADAPTER>
<REQUEST_FORMATTER>OFSML</REQUEST_FORMATTER>
<RESPONSE_FORMATTER>OFSML</RESPONSE_FORMATTER>
<MAX_SESSION>5</MAX_SESSION>
<MIN_SESSION>5</MIN_SESSION>
<TIMEOUT>60</TIMEOUT>
</ADAPTER>
</ADAPTERS>
<MESSAGEFORMATTERS>
<!--================================================
=================================================-->
<FROM>CP838</FROM>
<TO>UTF-8</TO>
</MESSAGEFORMATTER>
https://tcsp.temenos.com/HowTo/tocf.aspx 10/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<FROM>UTF-8</FROM>
<TO>CP838</TO>
</MESSAGEFORMATTER>
</MESSAGEFORMATTERS>
<LISTENERS>
<ADAPTERID>T24</ADAPTERID>
<PORT>7099</PORT>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
(/SitePages/Home.aspx)
<DIR_IN>C:\requests</DIR_IN>
(/SitePages/supportinterface.aspx)
<DIR_OUT>C:\responses</DIR_OUT>
<DIR_ERR>C:\errors</DIR_ERR>
(/TCSPProfileCenter/infodefault.aspx)
<MAX_PROCESS>0</MAX_PROCESS>
(/Support/DashBoard.aspx)
<EXTENSION_INDEX>idx</EXTENSION_INDEX>
(/OpenSourcePortal/SitePages/Home.aspx)
<EXTENSION_TOPROCESS>txt</EXTENSION_TOPROCESS>
<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
<EXTENSION_ERROR>err</EXTENSION_ERROR>
<EXTENSION_RESPONSE>txt</EXTENSION_RESPONSE>
<REQ_SEPARATOR>lf</REQ_SEPARATOR>
<SORT_DIRECTORY>true</SORT_DIRECTORY>
<DELETE_SOURCE>true</DELETE_SOURCE>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<PORT>7023</PORT>
</LISTENER>
</LISTENERS>
</TCSERVER>
Step: 6:
In jboss.xml present under the tocflistener-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\tocflistener-
ejb.jar\META-INF\)
https://tcsp.temenos.com/HowTo/tocf.aspx 11/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>OFSListenerMDBBFL</ejb-name>
<resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</resource-adapter-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
(/SitePages/Home.aspx)
<res-ref-name>queue/t24OFSQueue</res-ref-name>
(/SitePages/supportinterface.aspx)
<jndi-name>queue/t24OFSQueueBFL</jndi-name>
</resource-ref>
(/TCSPProfileCenter/infodefault.aspx)
<resource-ref>
(/Support/DashBoard.aspx)
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
(/OpenSourcePortal/SitePages/Home.aspx)
<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>RAWTCPOFSListenerMDB</ejb-name>
<resource-adapter-name>tocfrawtcp-ra.rar</resource-adapter-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<jndi-name>queue/t24OFSQueue</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
https://tcsp.temenos.com/HowTo/tocf.aspx 12/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<jndi-name>queue/t24OFSReplyQueue</jndi-name>
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>BytesOFSListenerMDB</ejb-name>
<resource-adapter-name>tocfbytes-ra.rar</resource-adapter-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<jndi-name>queue/t24OFSQueue</jndi-name>
(/SitePages/Home.aspx)
</resource-ref>
(/SitePages/supportinterface.aspx)
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
(/TCSPProfileCenter/infodefault.aspx)
<jndi-name>queue/t24OFSReplyQueue</jndi-name>
(/Support/DashBoard.aspx)
</resource-ref>
(/OpenSourcePortal/SitePages/Home.aspx)
</message-driven>
<message-driven>
<ejb-name>BatchFileOFSListenerMDB</ejb-name>
<resource-adapter-name>tocfbatchfile-ra.rar</resource-adapter-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<jndi-name>queue/t24OFSQueue</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<jndi-name>queue/t24OFSReplyQueue</jndi-name>
</resource-ref>
</message-driven>
https://tcsp.temenos.com/HowTo/tocf.aspx 13/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
-->
</enterprise-beans>
</jboss>
Step: 7:
In ejb-jar.xml present under the tocflistener -ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\tocflistener-
ejb.jar\META-INF\)
<display-name>OFSListeners</display-name>
<enterprise-beans>
<message-driven id="MessageDriven_OFSListenerMDB">
<display-name>OFSListener Bean</display-name>
(/SitePages/Home.aspx)
<ejb-name>OFSListenerMDBBFL</ejb-name>
(/SitePages/supportinterface.aspx)
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
(/TCSPProfileCenter/infodefault.aspx)
<transaction-type>Bean</transaction-type>
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
<activation-config>
<activation-config-property>
<activation-config-property-name>listener</activation-config-property-name>
<activation-config-property-value>BFL,RAW.TCP</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_OFSListenerMDB_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSQueue">
<description>OFS queue</description>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSReplyQueue">
https://tcsp.temenos.com/HowTo/tocf.aspx 14/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>RAWTCPOFSListenerMDB</ejb-name>
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
(/SitePages/Home.aspx)
<activation-config>
(/SitePages/supportinterface.aspx)
<activation-config-property>
<activation-config-property-name>port</activation-config-property-name>
(/TCSPProfileCenter/infodefault.aspx)
<activation-config-property-value>7023</activation-config-property-value>
(/Support/DashBoard.aspx)
</activation-config-property>
(/OpenSourcePortal/SitePages/Home.aspx)
</activation-config>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>OFS queue</description>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
https://tcsp.temenos.com/HowTo/tocf.aspx 15/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>BytesOFSListenerMDB</ejb-name>
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>port</activation-config-property-name>
<activation-config-property-value>7099</activation-config-property-value>
</activation-config-property>
(/SitePages/Home.aspx)
</activation-config>
(/SitePages/supportinterface.aspx)
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
(/TCSPProfileCenter/infodefault.aspx)
<res-type>javax.jms.QueueConnectionFactory</res-type>
(/Support/DashBoard.aspx)
<res-auth>Container</res-auth>
(/OpenSourcePortal/SitePages/Home.aspx)
</resource-ref>
<resource-ref>
<description>OFS queue</description>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>BatchFileOFSListenerMDB</ejb-name>
https://tcsp.temenos.com/HowTo/tocf.aspx 16/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>dirIn</activation-config-property-name>
<activation-config-property-value>c:\temp\ofsrequests</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>dirOut</activation-config-property-name>
<activation-config-property-value>c:\temp\ofsresponses</activation-config-property-value>
</activation-config-property>
<activation-config-property>
(/SitePages/Home.aspx)
<activation-config-property-name>dirErr</activation-config-property-name>
(/SitePages/supportinterface.aspx)
<activation-config-property-value>c:\temp\ofserrors</activation-config-property-value>
</activation-config-property>
(/TCSPProfileCenter/infodefault.aspx)
</activation-config>
(/Support/DashBoard.aspx)
<resource-ref>
(/OpenSourcePortal/SitePages/Home.aspx)
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>OFS queue</description>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
https://tcsp.temenos.com/HowTo/tocf.aspx 17/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
-->
</enterprise-beans>
</ejb-jar>
To connect to the Browser UAT environment, we need to start jbase_agent with the port number (20002) as specified in t24-
ds.xml.
To connect to the Browser PROD, we need to start jbase_agent with the port number (20003) as specified in t24-ds.xml.
To connect to the raw-tcp and batchfile listener, we need to start jbase_agent with the port number (20004) as specified in
t24-ds.xml.
(/SitePages/Home.aspx)
Starting of JBoss
(/SitePages/supportinterface.aspx)
JBoss can be started by executing the run.bat file present in (..\jboss-4.2.3.GA\bin) directory or by using the start command
shown below,
(/TCSPProfileCenter/infodefault.aspx)
C:\ jboss-4.2.3.GA\bin>run.bat -b 0.0.0.0
(/Support/DashBoard.aspx)
Launch the Browser for UAT:
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 18/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 19/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 20/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
Batchfile listener:
1. Create a file which contains valid request:
https://tcsp.temenos.com/HowTo/tocf.aspx 21/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
2. Put it in request directory:
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 22/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 23/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 24/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
1. tocfT24ra-ra.rar
2. t24-ds.xml
3. t24-destinations-service.xml
4. tocfOFSmessage-ejb.jar (present in the tocfee.ear)
5. tocflistener-ejb.jar (present in the tocfee.ear)
6. tocfplugin-ra.rar (present in the tocfee.ear)
7. R10.36.war (for browser environment)
Step: 1:
Create two jca/t24ConnectionFactory's in the t24-ds.xml for setup both browser and listeners.
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactorytest</jndi-name>
<rar-name>tocfT24ra-ra.rar</rar-name>
<connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition>
https://tcsp.temenos.com/HowTo/tocf.aspx 25/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<min-pool-size>6</min-pool-size>
<max-pool-size>100</max-pool-size>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!--
(/SitePages/Home.aspx)
<config-property name="debugPort" type="java.lang.Integer">30097</config-property>
(/SitePages/supportinterface.aspx)
<config-property name="SSL" type="java.lang.Boolean">true</config-property>
<config-property name="NaiveTrustManager" type="java.lang.Boolean">true</config-property>
(/TCSPProfileCenter/infodefault.aspx)
<config-property name="account" type="java.lang.String">MYACCOUNT</config-property>
(/Support/DashBoard.aspx)
<config-property name="user" type="java.lang.String">test</config-property>
(/OpenSourcePortal/SitePages/Home.aspx)
<config-property name="password" type="java.lang.String">account_password</config-property>
-->
</tx-connection-factory>
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactoryBFL</jndi-name>
<rar-name>tocfT24ra-ra.rar</rar-name>
<connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition>
<min-pool-size>6</min-pool-size>
https://tcsp.temenos.com/HowTo/tocf.aspx 26/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<max-pool-size>100</max-pool-size>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!--
-->
</tx-connection-factory>
Step: 2:
Create t24OFSQueue and t24OFSReplyQueue created in the t24-destinations-service.xml
(/SitePages/Home.aspx)
<?xml version="1.0" encoding="UTF-8"?>
(/SitePages/supportinterface.aspx)
<!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->
<!--
(/TCSPProfileCenter/infodefault.aspx)
| This file defines the default Queues and Topics that JBossMQ
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
| ships with. The default Queues and Topics are used by the
|
| You can add other destinations to this file, or you can create other
-->
<server>
create=false.
-->
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=testOFSQueue">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=testOFSReplyQueue">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
https://tcsp.temenos.com/HowTo/tocf.aspx 27/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSQueueBFL">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=t24OFSReplyQueueBFL">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
<mbean code="org.jboss.mq.server.jmx.Topic"
name="jboss.mq.destination:service=Topic,name=tecEvents">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
(/SitePages/Home.aspx)
</server>
(/SitePages/supportinterface.aspx)
Step: 3:
In jboss.xml present under the tocfOFSmessage-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\
(/TCSPProfileCenter/infodefault.aspx)
tocfOFSmessage-ejb.jar\META-INF\)
(/Support/DashBoard.aspx)
<?xml version="1.0" encoding="UTF-8"?>
(/OpenSourcePortal/SitePages/Home.aspx)
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
<!--
<security-domain>java:/jaas/T24App</security-domain>
-->
<enterprise-beans>
<message-driven>
<ejb-name>OFSMessageMDBtest</ejb-name>
<destination-jndi-name>queue/testOFSQueue</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<!-- <res-type>javax.jms.Queue</res-type>
https://tcsp.temenos.com/HowTo/tocf.aspx 28/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
-->
<jndi-name>queue/testOFSReplyQueue</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<jndi-name>java:jca/t24ConnectionFactorytest</jndi-name>
<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>
-->
</resource-ref>
</message-driven>
<message-driven>
<ejb-name>OFSMessageMDBBFL</ejb-name>
(/SitePages/Home.aspx)
<destination-jndi-name>queue/t24OFSQueueBFL</destination-jndi-name>
(/SitePages/supportinterface.aspx)
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
(/TCSPProfileCenter/infodefault.aspx)
<jndi-name>java:/ConnectionFactory</jndi-name>
(/Support/DashBoard.aspx)
</resource-ref>
(/OpenSourcePortal/SitePages/Home.aspx)
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<!-- <res-type>javax.jms.Queue</res-type>
-->
<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<jndi-name>java:jca/t24ConnectionFactoryBFL</jndi-name>
<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>
-->
</resource-ref>
</message-driven>
</enterprise-beans>
</jboss>
Step: 4:
https://tcsp.temenos.com/HowTo/tocf.aspx 29/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<display-name>OFSMessage</display-name>
<enterprise-beans>
<message-driven id="MessageDriven_OfsMessageMDB">
<display-name>RLMessage Bean</display-name>
<ejb-name>OFSMessageMDBtest</ejb-name>
<ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
(/SitePages/Home.aspx)
<message-destination-type>javax.jms.Queue</message-destination-type>
(/SitePages/supportinterface.aspx)
<activation-config>
<activation-config-property>
(/TCSPProfileCenter/infodefault.aspx)
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
(/Support/DashBoard.aspx)
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
(/OpenSourcePortal/SitePages/Home.aspx)
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24ConnectionFactory">
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
https://tcsp.temenos.com/HowTo/tocf.aspx 30/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
<message-driven id="MessageDriven_OfsMessageMDB">
<display-name>RLMessage Bean</display-name>
<ejb-name>OFSMessageMDBBFL</ejb-name>
<ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
(/SitePages/Home.aspx)
<activation-config-property>
(/SitePages/supportinterface.aspx)
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
(/TCSPProfileCenter/infodefault.aspx)
</activation-config-property>
(/Support/DashBoard.aspx)
</activation-config>
(/OpenSourcePortal/SitePages/Home.aspx)
<resource-ref id="ResourceRef_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24ConnectionFactory">
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
https://tcsp.temenos.com/HowTo/tocf.aspx 31/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
</resource-ref>
</message-driven>
</enterprise-beans>
<!--
<assembly-descriptor>
<security-role>
<role-name>t24user</role-name>
</security-role>
<method-permission>
<role-name>t24user</role-name>
<method>
(/SitePages/Home.aspx)
<ejb-name>OFSMessageMDB</ejb-name>
(/SitePages/supportinterface.aspx)
<method-name>*</method-name>
</method>
(/TCSPProfileCenter/infodefault.aspx)
</method-permission>
(/Support/DashBoard.aspx)
</assembly-descriptor>
(/OpenSourcePortal/SitePages/Home.aspx)
-->
</ejb-jar>
Step: 5:
<TCSERVER>
<ADAPTERS>
<!--
This type of adapter 'TOCF' will process requests using the message endpoint (tocflistener-mdb)
that activated the plugin. An adapter instance will process messages using at most one tocflistener-mdb.
https://tcsp.temenos.com/HowTo/tocf.aspx 32/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
If you require more than one tocflistener-mdb configuration to be called (for different listeners)
-->
<!--
-->
<!-- Configure the number of threads that will deliver messages to the associated tocflistener-mdb -->
<MAX_SESSION>20</MAX_SESSION>
<MIN_SESSION>20</MIN_SESSION>
<!--
Configure the charset of the incoming messages. By default the tocflistner is expecting to
(/SitePages/Home.aspx)
receive messages encoded in the Java platform default Charset. You may either use a request
(/SitePages/supportinterface.aspx)
formatter to change the messages format to the default encoding or inform the tocflistener of
the encoding of the message using the following parameter.
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
<CHARSET>UTF-8</CHARSET>
(/OpenSourcePortal/SitePages/Home.aspx)
-->
<!--
Configure the number of seconds this adapter will wait for the processing of a message.
NOTE - this adapter delivers messages the tocflistener-mdb which in turn delivers the
longer than the total time for this processing including the possible retries of the
-->
<TIMEOUT>60</TIMEOUT>
</ADAPTER>
<REQUEST_FORMATTER>OFSML</REQUEST_FORMATTER>
<RESPONSE_FORMATTER>OFSML</RESPONSE_FORMATTER>
<MAX_SESSION>5</MAX_SESSION>
<MIN_SESSION>5</MIN_SESSION>
https://tcsp.temenos.com/HowTo/tocf.aspx 33/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<TIMEOUT>60</TIMEOUT>
</ADAPTER>
</ADAPTERS>
<MESSAGEFORMATTERS>
<!--================================================
=================================================-->
<FROM>CP838</FROM>
<TO>UTF-8</TO>
</MESSAGEFORMATTER>
<FROM>UTF-8</FROM>
(/SitePages/Home.aspx)
<TO>CP838</TO>
(/SitePages/supportinterface.aspx)
</MESSAGEFORMATTER>
</MESSAGEFORMATTERS>
(/TCSPProfileCenter/infodefault.aspx)
<LISTENERS>
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
<LISTENER id="BYTES" type="byteslistener" active="false">
<ADAPTERID>T24</ADAPTERID>
<PORT>7099</PORT>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<DIR_IN>C:\requests</DIR_IN>
<DIR_OUT>C:\responses</DIR_OUT>
<DIR_ERR>C:\errors</DIR_ERR>
<MAX_PROCESS>0</MAX_PROCESS>
<EXTENSION_INDEX>idx</EXTENSION_INDEX>
<EXTENSION_TOPROCESS>txt</EXTENSION_TOPROCESS>
<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
<EXTENSION_ERROR>err</EXTENSION_ERROR>
<EXTENSION_RESPONSE>txt</EXTENSION_RESPONSE>
<REQ_SEPARATOR>lf</REQ_SEPARATOR>
<SORT_DIRECTORY>true</SORT_DIRECTORY>
https://tcsp.temenos.com/HowTo/tocf.aspx 34/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<DELETE_SOURCE>true</DELETE_SOURCE>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<PORT>7023</PORT>
</LISTENER>
</LISTENERS>
</TCSERVER>
Step: 6:
In jboss.xml present under the tocflistener-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\tocflistener-
ejb.jar\META-INF\)
<resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</resource-adapter-name>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<jndi-name>queue/t24OFSQueueBFL</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>
</resource-ref>
</message-driven>
</enterprise-beans>
</jboss>
https://tcsp.temenos.com/HowTo/tocf.aspx 35/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
Step: 7:
In ejb-jar.xml present under the tocflistener-ejb.jar (…\jboss 4.2.3.GA\server\default\deploy\ tocfee.ear\tocflistener-
ejb.jar\META-INF\)
<display-name>OFSListeners</display-name>
<enterprise-beans>
<message-driven id="MessageDriven_OFSListenerMDB">
<display-name>OFSListener Bean</display-name>
<ejb-name>OFSListenerMDBBFL</ejb-name>
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
(/SitePages/Home.aspx)
<transaction-type>Bean</transaction-type>
(/SitePages/supportinterface.aspx)
<activation-config>
<activation-config-property>
(/TCSPProfileCenter/infodefault.aspx)
<activation-config-property-name>listener</activation-config-property-name>
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
<activation-config-property-value>RAW.TCP,BFL</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref id="ResourceRef_OFSListenerMDB_jmsQueueConnectionFactory">
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSQueue">
<description>OFS queue</description>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSReplyQueue">
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
https://tcsp.temenos.com/HowTo/tocf.aspx 36/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
</enterprise-beans>
</ejb-jar>
To connect to the Browser environment, we need to start jbase_agent with the port number (9904) as specified in t24-ds.xml.
To connect to the raw-tcp and batchfile listener, we need to start jbase_agent with the port number (9905) as specified in
t24-ds.xml.
Starting of JBoss
(/SitePages/Home.aspx)
JBoss can be started by executing the run.bat file present in (..\jboss-4.2.3.GA\bin) directory or by using the start command
(/SitePages/supportinterface.aspx)
shown below,
C:\ jboss-4.2.3.GA\bin>run.bat -b 0.0.0.0
(/TCSPProfileCenter/infodefault.aspx)
Launch the Browser:
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 37/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 38/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
Batchfile listener:
1. Create a file which contains valid request:
https://tcsp.temenos.com/HowTo/tocf.aspx 39/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
2. Put it in request directory:
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 40/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 41/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
https://tcsp.temenos.com/HowTo/tocf.aspx 42/43
10/3/2021 Browser and Listener configuration using TOCF and Jboss
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
COPYRIGHT © 2018 TEMENOS HEADQUARTERS SA
(/OpenSourcePortal/SitePages/Home.aspx) (http://www.temenos.com/)
Best viewed in Internet Explorer 10 & above
https://tcsp.temenos.com/HowTo/tocf.aspx 43/43