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

How To Configure R11 Browser With TOCF (EE) Using Jboss

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)
106 views

How To Configure R11 Browser With TOCF (EE) Using Jboss

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

10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

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

Customer Support
Portal
(/SitePages/Home.aspx)

 MENU Entire Site Enter your keywords here 

Introduction
The purpose of this document is to give an overview the procedure used to deploy T24 R11 Browser using JBoss

1. JMS mode :

Server Connection Method Configuration in Browser


 (/SitePages/Home.aspx)
Change the server connection method as JMS in the browserParameters.xml which present in the (…
 (/SitePages/supportinterface.aspx)
\jboss\server\default\deploy\BrowserWeb) directory as shown below

<browserParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 (/TCSPProfileCenter/infodefault.aspx)
                <messageData>
 (/Support/DashBoard.aspx)
                                <parameter>
 (/OpenSourcePortal/SitePages/Home.aspx)
                                                <parameterName>Product</parameterName>

                                                <parameterValue>BROWSER</parameterValue>

                                                <!-- Options: BROWSER / ARC-IB -->

                                </parameter>

                                <parameter>

                                                <parameterName>Server Connection Method</parameterName>

                                                <parameterValue>JMS</parameterValue>

                                                <!-- Options: INSTANCE / AGENT / JMS -->

                                </parameter>

                                <parameter>

                                                <parameterName>JMSConnectionTimeout</parameterName>

                                                <parameterValue>60</parameterValue> <!-- Number of seconds. -->

                                </parameter>

Deployment of Components in Jboss Was this page


The below mentioned components need to be deployed in Jboss to connect to T24 via Browser. Kindly make ensure that
the following files are present under the path (…\jboss\server\default\deploy).
Yes
1.         tocfT24ra-ra.rar  & tocfee.ear(which will be present in TOCF(EE)-R11.0.0.1)
https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 1/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

2.         t24-ds.xml                              

3.         t24-destinations-service.xml     

4.         tocfOFSmessage-ejb.jar (present in the tocfee.ear(which will be present in TOCF(EE)-R11.0.0.1))

6.         BrowserWebR11.war (deployed as folder)

The components will get deployed once the JBoss is started.

Configuration of the Files


Step: 1

 Create t24ConnectionFactory in the t24-ds.xml for connecting T24 environment.

<tx-connection-factory>

      <jndi-name>jca/t24ConnectionFactoryR11</jndi-name>

      <rar-name>tocfT24ra-ra.rar</rar-name>

      <connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition>
 (/SitePages/Home.aspx)
      <config-property name="hosts" type="java.lang.String">127.0.0.1</config-property>
 (/SitePages/supportinterface.aspx)
       <config-property name="ports" type="java.lang.String">9595</config-property>

 (/TCSPProfileCenter/infodefault.aspx)
      <config-property name="loadBalancing" type="java.lang.Boolean">true</config-property>

 (/Support/DashBoard.aspx)
      <config-property name="allowInput" type="java.lang.Boolean">true</config-property>
 (/OpenSourcePortal/SitePages/Home.aspx)
      <config-property name="compression" type="java.lang.Boolean">true</config-property>

      <config-property name="compressionThreshold" type="java.lang.Integer">2048</config-property>

      <config-property name="envVariables" type="java.lang.String">OFS_SOURCE=BROWSERTC</config-property>

      <config-property name="actionTimeout" type="java.lang.Integer">120</config-property>      

      <config-property name="charset" type="java.lang.String">ISO-8859-1</config-property>     

      <min-pool-size>6</min-pool-size>

      <max-pool-size>10</max-pool-size>

      <idle-timeout-minutes>15</idle-timeout-minutes>     

<!--

      <config-property name="debugPort" type="java.lang.Integer">30097</config-property>

      <config-property name="SSL" type="java.lang.Boolean">true</config-property>

      <config-property name="NaiveTrustManager" type="java.lang.Boolean">true</config-property>

      <config-property name="account" type="java.lang.String">MYACCOUNT</config-property>

      <config-property name="user" type="java.lang.String">test</config-property>

      <config-property name="password" type="java.lang.String">account_password</config-property> Was this page


-->

   </tx-connection-factory> Yes

https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 2/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

</tx-connection-factory>

Step: 2

Create t24OFSQueue and t24OFSReplyQueue corresponding to the connection factory created in the t24-destinations-


service.xml

<mbean code="org.jboss.mq.server.jmx.Queue"

name="jboss.mq.destination:service=Queue,name=t24OFSQueueR11">

<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=t24OFSReplyQueueR11">

<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

</mbean>
 (/SitePages/Home.aspx)
Step: 3
 (/SitePages/supportinterface.aspx)
In ejb-jar.xml present under the tocfOFSmessage-ejb.jar (…\jboss\server\default\deploy\ tocfee.ear\tocfOFSmessage-
 ejb.jar\META-INF\)

 (/TCSPProfileCenter/infodefault.aspx)
<?xml version="1.0" encoding="UTF-8"?>
 (/Support/DashBoard.aspx)
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" 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">
 (/OpenSourcePortal/SitePages/Home.aspx)
    <display-name>OFSMessage</display-name>

    <enterprise-beans>

         <message-driven id="MessageDriven_OfsMessageMDBR11">

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

            <ejb-name>OFSMessageMDBR11</ejb-name>

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

            <messaging-type>javax.jms.MessageListener</messaging-type>

            <transaction-type>Container</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>
Was this page
            </activation-config>

            <resource-ref id="ResourceRef_jmsQueueConnectionFactory">
Yes

https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 3/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

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

                <description>T24</description>

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

                <description>OFS reply queue</description>

                <res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
 (/SitePages/Home.aspx)
                <res-type>javax.jms.Queue</res-type>
 (/SitePages/supportinterface.aspx)
                <res-auth>Container</res-auth>

            </resource-ref>
 (/TCSPProfileCenter/infodefault.aspx)
        </message-driven>
 (/Support/DashBoard.aspx)
Step: 4
 (/OpenSourcePortal/SitePages/Home.aspx)
 Edit jboss.xml in tocfofsmessage-ejb.jar\META-INF\ and specify which queue must consume from and the queue it
should place response for the OFSMessageMDBR11 as shown below

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

 <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

<jboss>

    <enterprise-beans>

        <message-driven>

            <ejb-name>OFSMessageMDBR11</ejb-name>

            <destination-jndi-name>queue/t24OFSQueueR11</destination-jndi-name>

            <resource-ref>

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

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

            </resource-ref>

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

                <jndi-name>queue/t24OFSReplyQueueR11</jndi-name>
Yes
            </resource-ref>

https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 4/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

            <resource-ref>

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

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

            </resource-ref>

        </message-driven>

    </enterprise-beans>

</jboss>

Step: 5

a)     Edit the jboss-web.xml file present under the (…\jboss\server\default\deploy \BrowserWebR11.war\WEB-INF) as


shown below to connect to the Test environment

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

<jboss-web>

    <resource-ref>
 (/SitePages/Home.aspx)
        <res-ref-name>jca/t24ConnectionFactory</res-ref-name>
 (/SitePages/supportinterface.aspx)
        <res-type>com.jbase.jremote.JConnectionFactory</res-type>

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

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

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

    </resource-ref>

    <resource-ref>

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

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

        <jndi-name>queue/t24OFSQueueR11</jndi-name>

    </resource-ref>

    <resource-ref>

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

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

        <jndi-name>queue/t24OFSReplyQueueR11</jndi-name>

    </resource-ref>
Was this page
</jboss-web>

2. AGENT mode :
Yes
Server Connection Method Configuration in Browser

https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 5/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

Change the server connection method as AGENT in the browserParameters.xml which present in the (…


\jboss\server\default\deploy\BrowserWeb) directory as shown below

<browserParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                <messageData>

                                <parameter>

                                                <parameterName>Product</parameterName>

                                                <parameterValue>BROWSER</parameterValue>

                                                <!-- Options: BROWSER / ARC-IB -->

                                </parameter>

                                <parameter>

                                                <parameterName>Server Connection Method</parameterName>

                                                <parameterValue>AGENT</parameterValue>

                                                <!-- Options: INSTANCE / AGENT / JMS -->


 (/SitePages/Home.aspx)
                                </parameter>
 (/SitePages/supportinterface.aspx)
                                <parameter>

                                                <parameterName>JMSConnectionTimeout</parameterName>
 (/TCSPProfileCenter/infodefault.aspx)
                                                <parameterValue>60</parameterValue> <!-- Number of seconds. -->
 (/Support/DashBoard.aspx)
                                </parameter>
 (/OpenSourcePortal/SitePages/Home.aspx)
Deployment of Components in Jboss
The above mentioned components need to be deployed in Jboss to connect to T24 via Browser. Kindly make ensure that
the following files are present under the path (…\jboss\server\default\deploy).

1.         tocfT24ra-ra.rar (which will be present in TOCF(EE)-R11.0.0.1)

2.         t24-ds.xml

3.         BrowserWebR11.war (deployed as folder)

The components will get deployed once the JBoss is started.

Note : Here, we don't need tocfee.ear & t24-destinations-service.xml files for AGENT mode connection.

Configuration of the Files


Step: 1: Create t24ConnectionFactory in the t24-ds.xml for connecting T24 environment.

<tx-connection-factory>

      <jndi-name>jca/t24ConnectionFactoryR11</jndi-name>

      <rar-name>tocfT24ra-ra.rar</rar-name>

      <connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition>
Was this page
      <config-property name="hosts" type="java.lang.String">127.0.0.1</config-property>

      <config-property name="ports" type="java.lang.String">9595</config-property>


Yes
      <config-property name="loadBalancing" type="java.lang.Boolean">true</config-property>
https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 6/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

      <config-property name="allowInput" type="java.lang.Boolean">true</config-property>

      <config-property name="compression" type="java.lang.Boolean">true</config-property>

      <config-property name="compressionThreshold" type="java.lang.Integer">2048</config-property>

      <config-property name="envVariables" type="java.lang.String">OFS_SOURCE=BROWSERTC</config-property>

      <config-property name="actionTimeout" type="java.lang.Integer">120</config-property>      

      <config-property name="charset" type="java.lang.String">ISO-8859-1</config-property>

      <min-pool-size>6</min-pool-size>

      <max-pool-size>10</max-pool-size>

      <idle-timeout-minutes>15</idle-timeout-minutes>

<!--

      <config-property name="debugPort" type="java.lang.Integer">30097</config-property>

      <config-property name="SSL" type="java.lang.Boolean">true</config-property>

      <config-property name="NaiveTrustManager" type="java.lang.Boolean">true</config-property>


 (/SitePages/Home.aspx)
      <config-property name="account" type="java.lang.String">MYACCOUNT</config-property>
 (/SitePages/supportinterface.aspx)
      <config-property name="user" type="java.lang.String">test</config-property>

      <config-property name="password" type="java.lang.String">account_password</config-property>
 (/TCSPProfileCenter/infodefault.aspx)
-->
 (/Support/DashBoard.aspx)
   </tx-connection-factory>
 (/OpenSourcePortal/SitePages/Home.aspx)
</tx-connection-factory>

Step: 2

a)     Edit the jboss-web.xml file present under the (…\jboss\server\default\deploy \BrowserWebR11.war\WEB-INF) as


shown below to connect to the Test environment

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

<jboss-web>

    <resource-ref>

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

        <res-type>com.jbase.jremote.JConnectionFactory</res-type>

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

    </resource-ref>

    <resource-ref>

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

        <res-type>javax.jms.ConnectionFactory</res-type>
Was this page
        <jndi-name>java:/ConnectionFactory</jndi-name>

    </resource-ref>
Yes
    <resource-ref>

https://tcsp.temenos.com/HowTo/ConfigureR11BrowserWithTOCFusingjboss.aspx 7/8
10/3/2021 How to configure R11 browser with TOCF(EE) using jboss

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

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

        <jndi-name>queue/t24OFSQueue</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>

    </resource-ref>

</jboss-web>

Establishing connection to R11 T24 environment via Browser

Starting of jbase_agent:
 (/SitePages/Home.aspx)
Start the corresponding agent
 (/SitePages/supportinterface.aspx)
a)     To connect to the R11 environment using T24 Browser, we need to start jbase_agent with the port number (9595) as
 specified in t24-ds.xml.

 (/TCSPProfileCenter/infodefault.aspx)
jsh r11 ~ -->jbase_agent -p 9595

 (/Support/DashBoard.aspx)
Starting of JBoss
 (/OpenSourcePortal/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
shown below,

C:\ jboss\bin>run.bat  -b 0.0.0.0

Logging on to T24 Browser


Note: The default 'Connector port' is '8080' which is defined in server.xml file (….\jboss\server\default\deploy\jboss-
web.deployer). This default port can be change to '9090' in the server.xml file as given below

<Connector port="9090" address="${jboss.bind.address}" . . .  . .  .

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

a)     To login to the R11 environment use the Browser link as follows

http://<ipaddress_of_webserver>:9090/BrowserWebR11/servlet/BrowserServlet

(http://127.0.0.1:9090/BrowserWebR11/servlet/BrowserServlet)

Hence,  R11 T24 environment can be connected using JBoss.

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/ConfigureR11BrowserWithTOCFusingjboss.aspx 8/8

You might also like