0% found this document useful (0 votes)
693 views

Configuring T24 Browser and Listener in JBoss 6.XX EAP Using TOCF (EE)

Uploaded by

Tuấn Nghiêm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
693 views

Configuring T24 Browser and Listener in JBoss 6.XX EAP Using TOCF (EE)

Uploaded by

Tuấn Nghiêm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

10/3/2021 Configuring T24 Browser and Listener in JBoss 6.

XX EAP using TOCF(EE)

Temenos Support Forum (/SitePages/tsf.aspx)  Portal Help tuannt3

Customer Support
Portal
(/SitePages/Home.aspx)

 MENU Entire Site Enter your keywords here 

Configuring T24 Browser and Listener in JBoss 6.XX EAP using


TOCF(EE)
Introduction
The purpose of this document is to give an overview the procedure used to configure T24 Browser and Listener(For
 (/SitePages/Home.aspx)
example, batchfilelistner for SWIFT message processing) in JBoss 6.XX EAP using TOCF(EE).
 (/SitePages/supportinterface.aspx)
Server Connection Method Configuration in Browser

Change the server connection method as JMS or AGENT in the browserParameters.xml which present in the (..\jboss-eap-
 (/TCSPProfileCenter/infodefault.aspx)
6.XX\standalone\deployments\BrowserWeb\) and (..\jboss-eap-6.XX\standalone\deployments\BrowserWeb\) directory as
 (/Support/DashBoard.aspx)
shown below:
 (/OpenSourcePortal/SitePages/Home.aspx)

Deployment of Components in Jboss


The below mentioned components need to be deployed in Jboss 6.XX EAP to connect to T24 via Browser. Kindly make
ensure that the following files are present under the path (..\jboss-eap-6.XX\standalone\deployments\).

1. tocfT24ra-ra.rar (present inside TOCFEE pack)


2. tocfee.ear(present inside TOCFEE pack)
3. BrowserWeb.war (deployed as WAR file)

The components will get deployed once the JBoss is started.

Was
Note: Kindly use latest Browser War from TCSP portal through the core update RXX_BrowserClient_XX.zip this page
and latest
TOCF(EE) pack from Distribution team ([email protected] (mailto:[email protected])).

Configuration of the Files Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 1/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

Configure the files as shown below to connect to T24 environment via T24 Browser and listener using Jboss EAP 6.X
version.

Step 1:
Create two t24ConnectionFactory's in the standalone-full.xml (..\jboss-eap-6.XX\standalone\configuration\) file for each
T24 Browser and Listener namely jca/t24ConnectionFactoryBROWSER and jca/t24ConnectionFactorySWIFT and
corresponding pool-names T24ConnectionFactoryBROWSER and T24ConnectionFactorySWIFT respectively.

  <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
 <resource-adapters>
<resource-adapter id="tocfT24ra-ra.rar">
                    <archive>
                        tocfT24ra-ra.rar
                    </archive>
                    <transaction-support>XATransaction</transaction-support>
                    <config-property name="listenPort">
                        0
                    </config-property>
                    <config-property name="listenHost">
                       10.92.12.66
 (/SitePages/Home.aspx)
                   </config-property>
                    <connection-definitions>
 (/SitePages/supportinterface.aspx)
                    <connection-definition class-name="com.temenos.tocf.t24ra.outbound.T24ManagedConnectionFactory"
 jndi-name="java:/jca/t24ConnectionFactoryBROWSER" pool-name="T24ConnectionFactoryBROWSER">
                            <config-property name="ports">
 (/TCSPProfileCenter/infodefault.aspx)
                                9595
                            </config-property>
 (/Support/DashBoard.aspx)
                            <config-property name="actionTimeout">
                                60
 (/OpenSourcePortal/SitePages/Home.aspx)
                            </config-property>
                            <config-property name="allowInput">
                                false
                           </config-property>
                            <config-property name="envVariables">
                                OFS_SOURCE=BROWSERTC
                           </config-property>
                            <config-property name="compressionThreshold">
                               2048
                            </config-property>
                            <config-property name="hosts">
                                127.0.0.1
                            </config-property>
                            <config-property name="charset">
                                ISO-8859-1
                            </config-property>
                            <config-property name="compression">
                               true
                            </config-property>
                           <config-property name="loadBalancing">
                                false
                            </config-property>
                        </connection-definition>
                          <connection-definition class-
name="com.temenos.tocf.t24ra.outbound.T24ManagedConnectionFactory" jndi- Was this page
name="java:/jca/t24ConnectionFactorySWIFT" pool-name="T24ConnectionFactorySWIFT">
                           <config-property name="ports">
                                9596
                           </config-property> Yes
                            <config-property name="actionTimeout">
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 2/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

                                60
                            </config-property>
                            <config-property name="allowInput">
                                false
                            </config-property>
                            <config-property name="envVariables">
                               OFS_SOURCE=SWIFTIN
                            </config-property>
                            <config-property name="compressionThreshold">
                                2048
                            </config-property>
                            <config-property name="hosts">
                                127.0.0.1
                            </config-property>
                            <config-property name="charset">
                                ISO-8859-1
                            </config-property>
                            <config-property name="compression">
                                true
                            </config-property>
                            <config-property name="loadBalancing">
                              false
 (/SitePages/Home.aspx)
                            </config-property>
                       </connection-definition>
 (/SitePages/supportinterface.aspx)
                    </connection-definitions>
                 </resource-adapter>
            </resource-adapters>
 (/TCSPProfileCenter/infodefault.aspx)
        </subsystem>

 (/Support/DashBoard.aspx)
Create the required JMS Queues and default queues for connecting T24 environment with T24 Browser and
Listener under <Hornetq-server>
 (/OpenSourcePortal/SitePages/Home.aspx)
<subsystem xmlns="urn:jboss:domain:messaging:1.4">
<hornetq-server>
…..
…...
<jms-destinations>
   <jms-queue name="t24OFSQueue">
                        <entry name="queue/t24OFSQueue"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSQueue"/>
                    </jms-queue>
                    <jms-queue name="t24OFSReplyQueue">
                        <entry name="queue/t24OFSReplyQueue"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSReplyQueue"/>
                    </jms-queue>                                                                   
                      <jms-queue name="requestQueue">
                        <entry name="queue/requestQueue"/>
                        <entry name="java:jboss/exported/jms/queue/requestQueue"/>
                    </jms-queue>
                    <jms-queue name="responseQueue">
                        <entry name="queue/responseQueue"/>
                       <entry name="java:jboss/exported/jms/queue/responseQueue"/>
                    </jms-queue>                                                                   
                    <jms-queue name="t24OFSQueueBROWSER">
                        <entry name="queue/t24OFSQueueBROWSER"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSQueueBROWSER"/>
                    </jms-queue> Was this page
                    <jms-queue name="t24OFSReplyQueueBROWSER">
                        <entry name="queue/t24OFSReplyQueueBROWSER"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSReplyQueueBROWSER"/>
Yes
                    </jms-queue>                                                                   

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 3/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

               <jms-queue name="t24OFSQueueSWIFT">


                        <entry name="queue/t24OFSQueueSWIFT"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSQueueSWIFT"/>
                    </jms-queue>
                    <jms-queue name="t24OFSReplyQueueSWIFT">
                        <entry name="queue/t24OFSReplyQueueSWIFT"/>
                        <entry name="java:jboss/exported/jms/queue/t24OFSReplyQueueSWIFT"/>
                    </jms-queue>
  </jms-destinations>
            </hornetq-server>
   </subsystem>

Deployment of Components:

Step 2:

<?xml version="1.0" encoding="UTF-8"?>

<jboss-web>

<!--
 (/SitePages/Home.aspx)
    <security-domain>java:/jaas/T24</security-domain>
 (/SitePages/supportinterface.aspx)
-->

<!--Start - Enable the below security domain and valves configuration only when SSO with SAML and ADFS is enabled
 (/TCSPProfileCenter/infodefault.aspx)
-->
 (/Support/DashBoard.aspx)
<!--           <security-domain>tsp</security-domain>
 (/OpenSourcePortal/SitePages/Home.aspx)
                <valve>  

                                <class-
name>org.picketlink.identity.federation.bindings.tomcat.sp.ServiceProviderAuthenticator</class-name>

                </valve> -->

<!-- End -->

   <resource-ref>

        <res-ref-name>jca/t24ConnectionFactory</res-ref-name>

        <res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>

        <jndi-name>java:/jca/t24ConnectionFactoryBROWSER</jndi-name>    

        <!--  For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->

        <!--

        <jndi-name>java:/jca/t24ConnectionFactory</jndi-name> -->

    </resource-ref>  

<resource-ref>

        <res-ref-name>jms/jmsConnectionFactory</res-ref-name> Was this page


        <res-type>javax.jms.ConnectionFactory</res-type>

        <jndi-name>java:/ConnectionFactory</jndi-name>       Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 4/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

    </resource-ref>

    <resource-ref>

        <res-ref-name>queue/t24OFSQueue</res-ref-name>

        <res-type>javax.jms.Queue</res-type>

        <!-- <jndi-name>queue/t24OFSQueue</jndi-name>  -->  

        <!--  For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->

        <jndi-name>java:/queue/t24OFSQueueBROWSER</jndi-name>

    </resource-ref>

    <resource-ref>

        <res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

        <res-type>javax.jms.Queue</res-type>

        <!-- <jndi-name>queue/t24OFSReplyQueue</jndi-name>   -->   

        <!--  For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->
 (/SitePages/Home.aspx)
        <jndi-name>java:/queue/t24OFSReplyQueueBROWSER</jndi-name>
 (/SitePages/supportinterface.aspx)
    </resource-ref>

   </jboss-web>
 (/TCSPProfileCenter/infodefault.aspx)
 (/Support/DashBoard.aspx)
Edit the jboss-web.xml file present under the (..\jboss-eap-6.XX\standalone\deployments\BrowserWeb.war\WEB-INF) as
shown below to Browser.
 (/OpenSourcePortal/SitePages/Home.aspx)
 Tenvironment

Step 3:
Edit the jboss-deployment-structure.xml file present under the (..\jboss-eap-
6.XX\standalone\deployments\BrowserWebUAT.war\WEB-INF) and (..\jboss-eap-
6.XX\standalone\deployments\BrowserWebPROD.war\WEB-INF) as shown below

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">

                <deployment>

                       <!-- Adding Resource Adapter As Explicit Module Dependency-->

                       <!-- for TAFC in JBoss AS7 or EAP 6 uncomment the line below -->

                      <dependencies>

                         <module name="deployment.tocfT24ra-ra.rar" />

                                </dependencies> 

                                <!--Enable the below configuration only when SSO with SAML and ADFS is enabled-->

                                                 <!--<module name="org.apache.xerces" />


Was this page
                         <module name="org.picketlink" /> -->

                                                <!-- Exclusions allow you to prevent the server from automatically adding some
Yes
dependencies -->

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 5/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

                                <exclusions>

                                               <module name="org.apache.log4j" />

                                </exclusions>       

                </deployment>

</jboss-deployment-structure>

Step 4:
Install the TOCFEE and do the following configurations. Please check the below configuration files to have the same values
for the queues mentioned in standalone-full.xml and jboss-web.xml.

Here we are going to configure listener as batchfilelistener for processing swift messages along with for browser
configuration.

1. tcserver.xml inside …tocfee.ear\tocfplugin-ra.rar\META-INF\ - create MESSAGEFORMATTER, ADAPTER and


LISTENER as given below.

<?xml version="1.0" ?>


 (/SitePages/Home.aspx)
<!-- DOCTYPE LISTENER SYSTEM "../dtd/LISTENER.dtd" -->
 (/SitePages/supportinterface.aspx)
 <!-- GLOBUS Connector communications server LISTENERs definitions -->

<!-- T&R Department 2002 -->


 (/TCSPProfileCenter/infodefault.aspx)
 (/Support/DashBoard.aspx)
<!-- Please check the installation documentation for a detailed

 (/OpenSourcePortal/SitePages/Home.aspx)
description of this file -->

<TCSERVER>

      <ADAPTERS>

         <!--

 This type of adapter 'TOCF' will process requests using the message endpoint (tocflistener-mdb) that activated the
plugin.  An adapter stance will process messages using at most one tocflistener-mdb. If you require more than one
tocflistener-mdb configuration to be called (for different listeners) then you must configure one ADAPTER instance per
tocflistener-mdb.

         -->

         <ADAPTER id="T24" type="TOCF" active="true"> 

<!--       

            <REQUEST_FORMATTER>Thai2UTF, OFSML, UTF2Thai</REQUEST_FORMATTER>   

            <RESPONSE_FORMATTER>Thai2UTF, OFSML, UTF2Thai</RESPONSE_FORMATTER>

-->

            <!-- Configure the number of threads that will deliver messages to the associated tocflistener-mdb -->

            <MAX_SESSION>20</MAX_SESSION> Was this page


            <MIN_SESSION>20</MIN_SESSION>

            <!-- Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 6/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

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  the encoding of the message using the following parameter.Please
make sure appropriate encoded files [UTF-8 / ISO-8859-1] to be given to the listeners. In case if use UTF-8 charset , all
request files must be in UTF-8 Compatible. Commenting this attribte all type of requests will be   processed platform
specific encoding.        

            <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 message to the ofsRequestQueue for processing.  The
following timeout should be a value             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.

            -->

            <TIMEOUT>60</TIMEOUT>

             <!--
 (/SitePages/Home.aspx)
 (/SitePages/supportinterface.aspx)
 Configure the Number of Seconds , the JMS Message will live in a Queue

  Set '0' , Means ,we are setting Request/Response JMS Message should live infinite period in a Request / Response
Queue
 (/TCSPProfileCenter/infodefault.aspx)
 Set '40', Means ,We are setting Request/Response JMS Message should live a specific period in a Request / Response
 (/Support/DashBoard.aspx)
Queue
 (/OpenSourcePortal/SitePages/Home.aspx)
Set '  ', Means <MESSAGETTL><MESSAGETTL> will set DEFAULT 30 Secs for Request/Response Messages

Note:  It should be less than the value of TIMEOUT. prefered Level 60 Secs

 -->

<MESSAGETTL>40</MESSAGETTL>

          </ADAPTER>

         <ADAPTER id="T24_formatter" type="TOCF" active="true"> 

            <REQUEST_FORMATTER>OFSML</REQUEST_FORMATTER>   

            <RESPONSE_FORMATTER>OFSML</RESPONSE_FORMATTER>

            <MAX_SESSION>5</MAX_SESSION>

            <MIN_SESSION>5</MIN_SESSION>

            <TIMEOUT>60</TIMEOUT>

            <MESSAGETTL>40</MESSAGETTL>

          </ADAPTER>

            <ADAPTER id="T24_SWIFT" type="TOCF" active="true">            


Was this page
            <MAX_SESSION>5</MAX_SESSION>

            <MIN_SESSION>5</MIN_SESSION>
Yes
            <TIMEOUT>60</TIMEOUT>

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 7/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

            <MESSAGETTL>40</MESSAGETTL>

          </ADAPTER>

      </ADAPTERS>

      <MESSAGEFORMATTERS>

         <!--================================================

              Sample Formatters converting charsets

         =================================================-->

         <MESSAGEFORMATTER id="Thai2UTF" type="charsetformatter">

            <FROM>CP838</FROM>

            <TO>UTF-8</TO>

         </MESSAGEFORMATTER>

         <MESSAGEFORMATTER id="UTF2Thai" type="charsetformatter">

            <FROM>UTF-8</FROM>
 (/SitePages/Home.aspx)
            <TO>CP838</TO>
 (/SitePages/supportinterface.aspx)
         </MESSAGEFORMATTER>

            <MESSAGEFORMATTER Id="my_appender" type="appender">
 (/TCSPProfileCenter/infodefault.aspx)
             <PREFIX>DECARRIER=SWIFT,</PREFIX> 
 (/Support/DashBoard.aspx)
            </MESSAGEFORMATTER>
 (/OpenSourcePortal/SitePages/Home.aspx)
            <MESSAGEFORMATTER Id="crlf" type="crlfformatter">

                <CRTAG>&lt;Cr&gt;</CRTAG>

                <LFTAG>&lt;Lf&gt;</LFTAG>

            </MESSAGEFORMATTER>

      </MESSAGEFORMATTERS>

  <LISTENERS>

     <LISTENER id="SWIFT" type="batchfilelistener" active="true">

         <ADAPTERID>T24_SWIFT</ADAPTERID>

             <REQUEST_FORMATTER>my_appender,crlf</REQUEST_FORMATTER>

         <DIR_IN>C:\swiftrequests</DIR_IN>

         <DIR_OUT>C:\swiftresponses</DIR_OUT>

         <DIR_ERR>C:\swifterrors</DIR_ERR>

         <MAX_PROCESS>0</MAX_PROCESS>

         <EXTENSION_INDEX>idx</EXTENSION_INDEX>
Was this page
         <EXTENSION_TOPROCESS>txt</EXTENSION_TOPROCESS>

         <EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 8/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

         <EXTENSION_ERROR>err</EXTENSION_ERROR>

         <EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>

         <REQ_SEPARATOR>$</REQ_SEPARATOR>

         <SORT_DIRECTORY>false</SORT_DIRECTORY>

         <DELETE_SOURCE>false</DELETE_SOURCE>

      </LISTENER>

      <LISTENER id="BYTES" type="byteslistener" active="false">

         <ADAPTERID>T24</ADAPTERID>

         <PORT>7099</PORT>

      </LISTENER>

      <LISTENER id="BFL" type="batchfilelistener" active="false">

         <ADAPTERID>T24</ADAPTERID>

         <DIR_IN>C:\temp\sv\ofsrequests</DIR_IN>
 (/SitePages/Home.aspx)
         <DIR_OUT>C:\temp\sv\ofsresponses</DIR_OUT>
 (/SitePages/supportinterface.aspx)
         <DIR_ERR>C:\temp\sv\ofserrors</DIR_ERR>

         <MAX_PROCESS>0</MAX_PROCESS>
 (/TCSPProfileCenter/infodefault.aspx)
         <EXTENSION_INDEX>idx</EXTENSION_INDEX>
 (/Support/DashBoard.aspx)
         <EXTENSION_TOPROCESS>tpr</EXTENSION_TOPROCESS>
 (/OpenSourcePortal/SitePages/Home.aspx)
         <EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>

         <EXTENSION_ERROR>err</EXTENSION_ERROR>

         <EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>

         <REQ_SEPARATOR>lf</REQ_SEPARATOR>

         <SORT_DIRECTORY>true</SORT_DIRECTORY>

         <DELETE_SOURCE>true</DELETE_SOURCE>

      </LISTENER>

      <LISTENER id="BFL_OFSML" type="batchfilelistener" active="false">

         <ADAPTERID>T24_formatter</ADAPTERID>

         <DIR_IN>C:\temp\sv\ofsmlrequests</DIR_IN>

         <DIR_OUT>C:\temp\sv\ofsmlresponses</DIR_OUT>

         <DIR_ERR>C:\temp\sv\ofsmlerrors</DIR_ERR>

         <MAX_PROCESS>0</MAX_PROCESS>

         <EXTENSION_INDEX>idx</EXTENSION_INDEX>
Was this page
         <EXTENSION_TOPROCESS>tpr</EXTENSION_TOPROCESS>

         <EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 9/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

         <EXTENSION_ERROR>err</EXTENSION_ERROR>

         <EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>

         <REQ_SEPARATOR>lf</REQ_SEPARATOR>

         <SORT_DIRECTORY>true</SORT_DIRECTORY>

         <DELETE_SOURCE>true</DELETE_SOURCE>

      </LISTENER>

            <LISTENER id="FileUploadDownloadChannel" type="tcp" active="false">

        <ADAPTERID>T24</ADAPTERID>

        <PORT>10003</PORT>

                  <DOWNLOAD_PATH>C:\temp\doc</DOWNLOAD_PATH>

          <STREAM_PROVIDER>FileInputStreamProvider</STREAM_PROVIDER>

                          <UPLOAD_PATH>C:\temp\doc</UPLOAD_PATH>

                          <STREAM_WRITER>FileOutputStreamWriter</STREAM_WRITER>
 (/SitePages/Home.aspx)
      </LISTENER>    
 (/SitePages/supportinterface.aspx)
              <LISTENER id="DbUploadDownloadChannel" type="tcp" active="false">

        <ADAPTERID>T24</ADAPTERID>
 (/TCSPProfileCenter/infodefault.aspx)
        <PORT>10004</PORT>
 (/Support/DashBoard.aspx)
                <DBINOUT>
 (/OpenSourcePortal/SitePages/Home.aspx)
                   <DATASOURE_NAME>jdbc/T24DS</DATASOURE_NAME>                         

                           <!--

                               for jBoss

                               <DATASOURE_NAME>java:jdbc/T24DS</DATASOURE_NAME>

                           -->                          

                           <ID_COLUMN_NAME>RECID</ID_COLUMN_NAME>

                           <DATA_COLUMN_NAME>XMLRECORD</DATA_COLUMN_NAME>

        </DBINOUT>

        <STREAM_PROVIDER>DbInputStreamProvider</STREAM_PROVIDER>

                        <STREAM_WRITER>DbOutputStreamWriter</STREAM_WRITER>

              </LISTENER> 

   </LISTENERS> 

</TCSERVER> 

Note: Other listeners can be set to 'FALSE' if it's not required. Was this page

2. jboss-ejb3.xml inside …tocfee.ear\tocflistener-ejb.jar\META-INF\ make sure to create MDB for SWIFT as given
below and mention the listener id created in tcserver.xml
Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 10/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

<jee:message-driven>

            <jee:ejb-name>OFSListenerMDBSWIFT</jee:ejb-name>

            <activation-config>

               <activation-config-property>

                  <activation-config-property-name>listener</activation-config-property-name>

                  <activation-config-property-value>SWIFT</activation-config-property-value>

               </activation-config-property>

            </activation-config>

            <jee:resource-ref>

                <jee:res-ref-name>jms/jmsConnectionFactory</jee:res-ref-name>

                <jee:jndi-name>java:/ConnectionFactory</jee:jndi-name>

            </jee:resource-ref>

                                    <jee:resource-ref>
 (/SitePages/Home.aspx)
 (/SitePages/supportinterface.aspx)
                <jee:res-ref-name>queue/t24OFSQueue</jee:res-ref-name>

                 <jee:jndi-name>java:/queue/t24OFSQueueSWIFT</jee:jndi-name>
 (/TCSPProfileCenter/infodefault.aspx)
            </jee:resource-ref>
 (/Support/DashBoard.aspx)
            <jee:resource-ref>
 (/OpenSourcePortal/SitePages/Home.aspx)
                <jee:res-ref-name>queue/t24OFSReplyQueue</jee:res-ref-name>

                <jee:jndi-name>java:/queue/t24OFSReplyQueueSWIFT</jee:jndi-name>

            </jee:resource-ref>

   </jee:message-driven>

And include the ejb-name reference as part of assembly-description

<jee:assembly-descriptor>

                                <!-- MDB and Plugin RA bindings -->

                                <mdb:resource-adapter-binding>

                                                <jee:ejb-name>OFSListenerMDB</jee:ejb-name>

                                                <mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
name>

                                </mdb:resource-adapter-binding>

                                <mdb:resource-adapter-binding>

                                                <jee:ejb-name>CustomDownloadListenerMDB</jee:ejb-name>

                                                <mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
Was this page
name>

                                </mdb:resource-adapter-binding>
Yes
<mdb:resource-adapter-binding>

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 11/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

                                                <jee:ejb-name>OFSListenerMDBSWIFT</jee:ejb-name>

                                                <mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
name>

                                </mdb:resource-adapter-binding>

               </jee:assembly-descriptor>

3. ejb-jar.xml inside …tocfee.ear\tocflistener-ejb.jar\META-INF\ make sure to create MDB for SWIFT as given below
and mention the listener id created in tcserver.xml

<message-driven id="MessageDriven_OFSListenerMDBSWIFT">

            <display-name>OFSListener Bean</display-name>

            <ejb-name>OFSListenerMDBSWIFT</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>listener</activation-config-property-name>
 (/TCSPProfileCenter/infodefault.aspx)
                    <activation-config-property-value>SWIFT</activation-config-property-value>
 (/Support/DashBoard.aspx)
                </activation-config-property>
 (/OpenSourcePortal/SitePages/Home.aspx)
            </activation-config>

            <resource-ref id="ResourceRef_OFSListenerMDB_jmsQueueConnectionFactorySWIFT">

                <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_t24OFSQueueSWIFT">

                        <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_t24OFSReplyQueueSWIFT">

                        <description>OFS reply queue</description>


Was this page
                        <res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

                                <res-type>javax.jms.Queue</res-type>


Yes
                        <res-auth>Container</res-auth>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 12/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

            </resource-ref>

        </message-driven>

4. jboss-ejb3.xml inside …tocfee.ear\tocfOFSMessage-ejb.jar\META-INF\ make sure to create MDB for both both T24
Browser and for batchfile listener.

<message-driven>

            <ejb-name>OFSMessageMDBBROWSER</ejb-name>

            <activation-config>

                 <activation-config-property>

                    <activation-config-property-name>destinationType</activation-config-property-name>

                    <activation-config-property-value>javax.jms.Queue</activation-config-property-value>

                </activation-config-property>

                          <activation-config-property>

                    <activation-config-property-name>destination</activation-config-property-name>
 (/SitePages/Home.aspx)
                    <activation-config-property-value>java:/queue/t24OFSQueueBROWSER</activation-config-property-
 (/SitePages/supportinterface.aspx)
value>

                </activation-config-property>
 (/TCSPProfileCenter/infodefault.aspx)
                   <activation-config-property>
 (/Support/DashBoard.aspx)
                    <activation-config-property-name>acknowledgeMode</activation-config-property-name>
 (/OpenSourcePortal/SitePages/Home.aspx)
                    <activation-config-property-value>Auto-acknowledge</activation-config-property-value>

                </activation-config-property>

                      </activation-config>

                   <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>

                <jndi-name>java:/queue/t24OFSReplyQueueBROWSER</jndi-name>

            </resource-ref>

            <resource-ref>

                <res-ref-name>eis/t24ConnectionFactory</res-ref-name>

                <jndi-name>java:/jca/t24ConnectionFactoryBROWSER</jndi-name>
Was this page
            </resource-ref>

        </message-driven>
Yes
<message-driven>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 13/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

            <ejb-name>OFSMessageMDBSWIFT</ejb-name>

            <activation-config>

                 <activation-config-property>

                    <activation-config-property-name>destinationType</activation-config-property-name>

                    <activation-config-property-value>javax.jms.Queue</activation-config-property-value>

                </activation-config-property>

                <activation-config-property>

                    <activation-config-property-name>destination</activation-config-property-name>

                    <activation-config-property-value>java:/queue/t24OFSQueueSWIFT</activation-config-property-value>

                </activation-config-property>

                  <activation-config-property>

                    <activation-config-property-name>acknowledgeMode</activation-config-property-name>

                    <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
 (/SitePages/Home.aspx)
                </activation-config-property>
 (/SitePages/supportinterface.aspx)
             </activation-config>

                 <resource-ref>
 (/TCSPProfileCenter/infodefault.aspx)
                <res-ref-name>jms/jmsConnectionFactory</res-ref-name>
 (/Support/DashBoard.aspx)
                <jndi-name>java:/ConnectionFactory</jndi-name>
 (/OpenSourcePortal/SitePages/Home.aspx)
            </resource-ref>

            <resource-ref>

                <res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

                <jndi-name>java:/queue/t24OFSReplyQueueSWIFT</jndi-name>

            </resource-ref>

            <resource-ref>

                <res-ref-name>eis/t24ConnectionFactory</res-ref-name>

                <jndi-name>java:/jca/t24ConnectionFactorySWIFT</jndi-name>

            </resource-ref>

        </message-driven>

5. ejb-jar.xml inside …tocfee.ear\tocfOFSMessage-ejb.jar\META-INF\ make sure to create MDB for Browser and
Batchfile listener for SWIFT processing as given below

<message-driven id="MessageDriven_OfsMessageMDBBROWSER">

            <display-name>OFSMessage Bean</display-name> Was this page


            <ejb-name>OFSMessageMDBBROWSER</ejb-name>

            <ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class> Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 14/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

            <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_jmsQueueConnectionFactoryBROWSER">

                        <description>T24 Queue Connection Factory</description>

                <res-ref-name>jms/jmsConnectionFactory</res-ref-name>

                <res-type>javax.jms.QueueConnectionFactory</res-type>
 (/SitePages/Home.aspx)
                <res-auth>Container</res-auth>
 (/SitePages/supportinterface.aspx)
            </resource-ref>

            <resource-ref id="ResourceRef_t24ConnectionFactoryBROWSER">
 (/TCSPProfileCenter/infodefault.aspx)
                <description>T24 JCA Connection Factory</description>
 (/Support/DashBoard.aspx)
                <res-ref-name>eis/t24ConnectionFactory</res-ref-name>
 (/OpenSourcePortal/SitePages/Home.aspx)
                <res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>

                <res-auth>Container</res-auth>

            </resource-ref>

            <resource-ref id="ResourceRef_t24OFSReplyQueueBROWSER">

                <description>OFS reply queue</description>

                <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 id="MessageDriven_OfsMessageMDBSWIFT">

            <display-name>OFSMessage Bean</display-name>

            <ejb-name>OFSMessageMDBSWIFT</ejb-name>

            <ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class>
Was this page
            <messaging-type>javax.jms.MessageListener</messaging-type>

            <transaction-type>Bean</transaction-type>
Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 15/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

            <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_jmsQueueConnectionFactorySWIFT">

                        <description>T24 Queue Connection Factory</description>

                <res-ref-name>jms/jmsConnectionFactory</res-ref-name>

                <res-type>javax.jms.QueueConnectionFactory</res-type>

                <res-auth>Container</res-auth>

            </resource-ref>
 (/SitePages/Home.aspx)
            <resource-ref id="ResourceRef_t24ConnectionFactorySWIFT">
 (/SitePages/supportinterface.aspx)
                <description>T24 JCA Connection Factory</description>

                <res-ref-name>eis/t24ConnectionFactory</res-ref-name>
 (/TCSPProfileCenter/infodefault.aspx)
                <res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>
 (/Support/DashBoard.aspx)
                <res-auth>Container</res-auth>
 (/OpenSourcePortal/SitePages/Home.aspx)
            </resource-ref>

            <resource-ref id="ResourceRef_t24OFSReplyQueueSWIFT">

                <description>OFS reply queue</description>

                <res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

                <res-type>javax.jms.Queue</res-type>

                <res-auth>Container</res-auth>

            </resource-ref>

        </message-driven>

Establishing connection to T24 environments via Browser and listener:


Starting of jbase_agent for both T24 browser and Batchfilelistener processing from T24 environments

Start the corresponding agents.

1. To connect to the T24 environment using T24 Browser, we need to start jbase_agent with the port number (9595) as
specified in standalone-full.xml.
Was this page
jsh R15 ~ -->jbase_agent -p 9595
 
2. To process the SWIFT message, we need to start jbase_agent with the port number (9596) as specified in
standalone-full.xml. Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 16/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

 jsh R15 ~ -->jbase_agent -p 9596

Starting of JBoss
To start jBoss run following command from JBOSS_HOME/bin:

standalone.bat --server-config=standalone-full.xml -b 0.0.0.0

Logging on to T24 Browser


Note: The default 'Connector port' is '8080' which is defined in standalone-full.xml file (..\jboss-eap-
6.XX\standalone\configuration\). This default port can be change to '8081' in the standalone-full.xml file as given below

<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-


offset:0}">

<socket-binding name="http" port="8081"/>

To login to the corresponding environments use the URL as shown below

1. To login to the T24 environment use the Browser link as follows

 (/SitePages/Home.aspx)
http://<ipaddress_of_webserver>:8081/BrowserWeb/servlet/BrowserServlet

 (/SitePages/supportinterface.aspx)
(http://10.92.12.66:8081/BrowserWeb/servlet/BrowserServlet
 (http://10.92.12.66:8081/BrowserWeb/servlet/BrowserServlet))
 
 (/TCSPProfileCenter/infodefault.aspx)
 (/Support/DashBoard.aspx)
 (/OpenSourcePortal/SitePages/Home.aspx)

Was this page

Yes
2. To process the swift message, place the swift message as txt file in the path given in Batchfilelistener.

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 17/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

Place the above message file inside the swiftrequests directory.

 (/SitePages/Home.aspx)
 (/SitePages/supportinterface.aspx)

 (/TCSPProfileCenter/infodefault.aspx)
Swiftresponses directory.
 (/Support/DashBoard.aspx)
 (/OpenSourcePortal/SitePages/Home.aspx)

Response file there will be NULL response for SWIFT messages.

Was this page

Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 18/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)

 (/SitePages/Home.aspx)
From T24, check whether the file is generated under F.SWIFT.IN.LIST which will later get cleared if the SWIFT related
 (/SitePages/supportinterface.aspx)
services are running.

 (/TCSPProfileCenter/infodefault.aspx)
 (/Support/DashBoard.aspx)
 (/OpenSourcePortal/SitePages/Home.aspx)

COPYRIGHT © 2018 TEMENOS HEADQUARTERS SA


(http://www.temenos.com/)
Best viewed in Internet Explorer 10 & above

Was this page

Yes

https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 19/19

You might also like