Documente Academic
Documente Profesional
Documente Cultură
Contents
1 About this runbook 4
1.1 Scope 4
1.1.1 Stacks table 5
1.2 Audience 5
1.3 Skills and knowledge 6
1.4 Legal 6
1.5 History 7
2 Introduction 8
2.1 Architecture diagram 8
3 Prerequisites and assumptions 9
3.1 Assumptions 9
3.2 Prerequisites 9
3.2.1 Third party software 9
3.2.2 Temenos artefacts 9
4 Before you start 11
4.1 Check disk drive space 11
4.2 Check OS details 12
4.3 Folder structure 12
4.4 Environment variables 13
4.5 Installing the Java Development Kit (JDK) 13
5 Installing T24 and TAFJ 15
5.1 Preparing the installation files 15
5.2 Installing T24 15
5.3 Installing TAFJ 15
5.4 Deploying the database driver 17
5.5 Verifying the installation of TAFJ 17
6 Configuring the T24 database 20
6.1 Prerequisites 20
6.2 Loading the TAFJ functions 20
6.3 Importing T24 DB into the Azure SQL DB 24
7 Configuring TAFJ 26
8 Sanity check 28
8.1 Accessing classic 28
2
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
8.2 DBTools 29
9 Installing and configuring JBoss EAP 7.1 31
9.1 Increasing the JVM memory 31
9.1 Deploying MSSQL database driver module 32
9.2 Configuring TAFJ modules 33
9.3 Configuring T24 modules 34
9.3.1 Generating a T24 module 35
9.4 Configuring T24/TAFJ in the application server 36
10 Configuring UXPBrowser 39
10.1 Modifying the browser-iris 39
11 Deployment 41
11.1 Deploying TAFJEE and TAFJ spooler plugins 41
11.2 Deploying BrowserWeb 41
11.3 Deploying Browser and browser-iris 41
11.4 Deploying Authenticator 42
12 Sanity check - post deployment 43
12.1 Starting the application server 43
12.2 Accessing TAFJEE 44
12.3 Accessing BrowserWeb 45
12.4 Accessing UXPBrowser 46
3
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
This runbook does not tell you how to install third-party software. For more information, see the
relevant vendor's documentation.
1 .1 Scope
This runbook covers:
l Installing TAFJ.
l Installing T24.
l Loading the TAFJ SQL server assembly and the CSharpload functions into the Azure SQL database.
l Deploying the T24 artefacts and a detailed focus on configuring and deploying the UXP browser.
4
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 .2 Audience
This document is aimed at those who are interested and involved in deploying TAFJ-T24 on a JBoss
application server.
5
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 .4 Legal
© Copyright 2018 Temenos Headquarters SA. All rights reserved.
TM
The information in this guide relates to TEMENOS information, products and services. It also includes
information, data and keys developed by other parties.
While all reasonable attempts have been made to ensure accuracy, currency and reliability of the content in
this guide, all information is provided "as is".
There is no guarantee as to the completeness, accuracy, timeliness or the results obtained from the use of this
information. No warranty of any kind is given, expressed or implied, including, but not limited to warranties
of performance, merchantability and fitness for a particular purpose.
In no event will TEMENOS be liable to you or anyone else for any decision made or action taken in reliance
on the information in this document or for any consequential, special or similar damages, even if advised of
the possibility of such damages.
TEMENOS does not accept any responsibility for any errors or omissions, or for the results obtained from the
use of this information. Information obtained from this guide should not be used as a substitute for
consultation with TEMENOS.
References and links to external sites and documentation are provided as a service. TEMENOS is not
endorsing any provider of products or services by facilitating access to these sites or documentation from this
guide.
The content of this guide is protected by copyright and trademark law. Apart from fair dealing for the
purposes of private study, research, criticism or review, as permitted under copyright law, no part may be
reproduced or reused for any commercial purposes whatsoever without the prior written permission of the
copyright owner. All trademarks, logos and other marks shown in this guide are the property of their
respective owners.
6
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 .5 History
Version Date Description
7
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
2 Introduction
This runbook helps you set up a Dev/Test Environment for T24/TAFJ on Azure stack. It helps you install and
configure TAFJ, T24 and JBoss to access a T24 browser. In this exercise, a 2-tier architecture was followed – an
application server and a database server.
The Application tier contains the application server with TAFJ/T24. In this exercise, we used JBoss EAP
(version 7.1.0). The Database tier contains the database that stores T24 data. In this exercise, we used an SQL
database.
2 .1 Architecture diagram
8
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
3 .1 Assumptions
When we wrote this guide, R19 was not yet available from distribution. We upgraded an R18 environment to
R19 (201805 first release of R19) using TEMP.RELEASE from distribution.
3 .2 Prerequisites
Before you start to install and configure the stack, you need to have installed all third party software and
copied all Temenos artefacts from Distribution.
JDK 1.8
9
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
browser-iris.war
Authenticator.war
UXP-Browser.R19.zip
10
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
This runbook does not tell you how to install third-party software. For more information, see the
relevant vendor's documentation.
2. Click properties.
11
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
4 .2 Check OS details
To check the required OS specification:
1. Go to Control panel.
4 .3 Folder structure
Create a folder structure, as shown below, with Temenos as the parent directory.
12
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
Folder Description
4 .4 Environment variables
After creating the folders, you need to set the following environment variables:
l TEMENOS_HOME= C:\Temenos
l T24_HOME= %TEMENOS_HOME%\T24
l TAFJ_HOME= %TEMENOS_HOME%\TAFJ
l UXPBROWSER= %TEMENOS_HOME%\UXPBrowser
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
13
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
3. Run the installer (.exe file) and provide the path to your Java installation as %TEMENOS_
HOME%\3rdParty\Java. The folder jdk1.8.0_171 is created.
6. Check that the required JDK is installed by typing java -version in the command prompt.
14
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
5 .2 Installing T24
To install T24:
2. Extract the tar file to %T24_HOME%. The file is extracted as a bnk folder.
5 .3 Installing TAFJ
Check that JDK 1.8 has been installed and that JAVA_HOME has been set to the correct path. These
are the only prerequisites for TAFJ installation.
To install TAFJ:
15
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
16
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1. Since we're using the SQL database, copy the sql driver in %TAFJ_HOME%\dbdrivers\sqljdbc_
6.0\enu\jre8.
17
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
l The default project and details of all the projects set in %TAFJ_HOME%\conf.
3. Run the command tVersion which shows the installed TAFJ version.
18
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
19
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
6 .1 Prerequisites
Before you set up the T24 database, you need to have created your SQL database on Azure. You should also
have the following items to hand:
Note that:
l Some SQL commands can't be run on the SQL cloud database. Loading the TAFJ SQL Server assembly
on Azure DB is therefore very different from loading it on a standalone SQL Server Host.
l You need to arrange the whitelisting of your TAFJSQLServer assembly with Microsoft. Microsoft will
provide you with a script for installing/creating the TAFJSQL CLR on the SQL database.
1. When you have the connection details, log into the Azure database server from SQL Server
Management Studio (SSMS).
2. In this example, the created SQL database on Azure is R18 with collation set to Latin1_General_BIN2.
Run the below queries.
20
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
21
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
6. In the CREATE ASSEMBLY statement set the path of whitelisted CLR script.
7. Copy the CREATE ASSEMBLY and all the CREATE FUNCTION statements and execute it in the SSMS.
22
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
23
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
This local environment is used as a datasource to populate your T24 Azure SQL database. You can use
DBImport to copy the database over as usual.
2. Open TAFJDBImport.default.
4. Set the URL, driver, username and password of the Azure SQL database where the data will be
imported to (target database).
24
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
5. Set the URL, driver, username and password from the local environment where the bak file has been
restored which forms the source database.
8. Click Next through the rest of the wizard and then click Start. It takes a few hours for the DBImport to
complete.
25
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
7 Configuring TAFJ
This chapter describes how to configure tafj.properties.
TAFJ does not use environment variables. Instead it uses a properties file (.properties) for its internal
configuration. Property files are stored in %TAFJ_HOME%\conf directory.
To configure TAFJ properties:
1. Go to %TAFJ_HOME%\conf folder.
26
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
27
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
8 Sanity check
This chapter describes how to verify T24 after TAFJ and the database connection has been configured for
standalone mode.
8 .1 Accessing classic
To access T24 through classic mode:
28
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
8 .2 DBTools
TAFJ-DBTools can be accessed only with authenticated users. A username and password has to be passed as
parameters to DBTools. To access DBTools, you need to create a user using a file tUserMgnt.bat. DBTools
provides access to SQL / JQL / OFS statements.
To access DBTools:
2. Create a user.
After logging in to DBtools, the database name, database username and IP address are displayed in the
29
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
30
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
https://developers.redhat.com/products/eap/download/
1. Move to %JBOSS_HOME%\bin.
3. Add the below line, to set tafj home and file encoding.
31
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
mkdir com\microsoft\sqlserver\jdbc\main
copy %TAFJ_HOME%\appserver\jboss\jboss7eap\modules\com\microsoft\sqlserver\main\module.xml
%JBOSS_HOME%\modules\com\microsoft\sqlserver\jdbc\main
The following screenshot shows the copied file module.xml and the database driver sqljdbc42.jar.
5. Open module.xml to check the jar name of driver and add .jdbc in module name. The module name
should be same as folder path for that module. As we have jdbc folder under the folder path, add
32
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
9 .2 Configuring TAFJ modules
To configure the TAFJ modules:
mkdir temenos\tafj\main
3. Copy the TAFJ module from TAFJ to the JBoss modules folder.
The following screenshot shows the symbolic links that were created and the copied file module.xml.
33
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
6. Open the TAFJ module.xml, uncomment the sql module name and add .jdbc to the module name.
Check whether the dependency module for t24 is present.
mkdir t24\main
34
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
T24 contains many libraries, which makes adding jars into module.xml a lengthy process. To make it easier,
TAFJ provides a utility JBossTools in %TAFJ_HOME%\bin to generate module.xml.
Syntax:
Option Description
1. Move to %TAFJ_HOME%\bin.
The following screenshot shows the created symbolic link and the module.xml.
35
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1. Move to %JBOSS_HOME%\standalone\configuration.
4. Go to %TAFJ_HOME%\appserver\jboss\jboss7eap\jboss-cli.
5. Open tafj.properties.
36
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
7. Open T24Setup.cli.
9. Move to %JBOSS_HOME%\bin.
37
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
%JBOSS_HOME%\bin\jboss-cli.bat --connect
--file=C:\Temenos\TAFJ\appserver\jboss\jboss7eap\jboss-cli\T24Setup.cli
--properties=C:\Temenos\TAFJ\appserver\jboss\jboss7eap\jboss-cli\tafj.properties
14. The scripts add the following to the standalone configuration file (T24.xml):
l System properties
l Drivers
l Datasources
l JMS Pools
l JMS Queues
38
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
10 Configuring UXPBrowser
To configure UXPBrowser:
3. The extracted UXPBrowser file has generated.zip, which needs to be extracted to get two more sub-
folders: manual and generated.
l GENERATED= %UXPBROWSER%\generated
l MANUAL= %UXPBROWSER%\manual
1. Move to %UXPBROWSER%.
2. Open brower-iris.war\WEB-INF\SSOAPI.properties.
39
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
4. Open browser-iris.war\WEB-INF\web.xml.
40
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
11 Deployment
This chapter describes how to deploy TAFJEE, BrowserWeb, browser-iris and Browser.war files to access
the BrowserWeb and UXP Browser.
1. Move to %TAFJ_HOME%\appserver\jboss\jboss7eap.
3. Move to %TAFJ_HOME%\appserver.
1 1 .2 Deploying BrowserWeb
To deploy BrowserWeb:
41
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 1 .4 Deploying Authenticator
Authenticator.war file is required for authentication in UXPBrowser. Without this file, you won't be able to
login to UXPBrowser.
The following screenshot shows the copied files under deployments folder.
42
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
If UXP browser is not being deployed the following start command parameters are sufficient (for
BrowserWeb).
%JBOSS_HOME%\bin\standalone.bat --server-config=T24.xml
-Djboss.http.port=9089 -Djboss.node.name=node1 -b 0.0.0.0
-Djboss.as.management.blocking.timeout=1200
-Dcom.edgeipk.librarypath=%MANUAL%/edge,%GENERATED%/edge
-DedgeSystemPropertyUpdaters=com.temenos.connect.system.BRPRuntimeProperties
-Doverride.IRIS_MAP=%MANUAL%/edge/data/HrefComponentManualMap.properties,
%GENERATED%/edge/data/HrefComponentMap.properties
-Dcom.temenos.interaction.config.dir=%GENERATED%/iris
-Doverride.SLANG_FOLDERS=%MANUAL%/edge/data/slang/manual,
%GENERATED%/edge/data/slang/generated,$$PROJECTHOME$/WEB-INF/data/slang/default
-Dcom.edgeipk.checkForUpdates=Y
-Doverride.ENABLE_COMMAND_LINE=Y
-Diris.cache.index.file=%TEMENOS_HOME%\workspace\BRP-models-gen\lastChange
-Diris.skip.validation=true
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true
-DRTP_REAPER_MEM_USED_PERCENT_ABORT=99
-Djava.awt.headless=true
After the server has started, go to JBoss deployments folder to see all the deployed artefacts.
43
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 2 .2 Accessing TAFJEE
Access TAFJJEE servlet using the URL: http://localhost:9089/TAFJEE
44
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 2 .3 Accessing BrowserWeb
To access BrowserWeb:
45
R 1 9 St a ck 7 C lo u d R u n b o o k 1 . 0
1 2 .4 Accessing UXPBrowser
To access UXPBrowser:
46