R18 Stack1 External Runbook
R18 Stack1 External Runbook
Contents
1 About this Runbook 4
1.1 Stacks table 4
1.2 Scope 4
1.3 Audience 4
1.4 Skills and knowledge 4
1.5 Other stack runbooks 5
1.6 Legal 6
1.7 History 7
2 Introduction 8
3 Prerequisites and assumptions 9
3.1 Prerequisites 9
3.2 Creating the target directory structure 9
3.3 Directory structure diagram 10
3.4 Setting the environment variables 10
4 Before you start 11
4.1 Supporting documentation 11
4.2 Verifying the system 11
5 Installing TAFJ 14
6 Installing and configuring Transact 16
6.1 Installing Transact 16
6.2 Configuring Transact 16
7 Configuring the database 17
7.1 Improving database performance 18
8 Verifying the installation of Transact 19
8.1 Starting Transact in Classic view 19
8.2 Running DBTools 20
9 Configuring JBoss modules 22
9.1 Configuring a TAFJ module 22
9.2 Configuring the Transact modules 23
9.3 JBossTools 24
9.3.1 Command syntax 24
9.3.2 Options 24
9.4 Using JBossTools 24
9.5 Configuring the Oracle database driver module 25
2
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
3
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Note:
This runbook does not tell you how to install third-party software. For more information, see the
relevant vendor's documentation.
1 .1 Stacks table
For the latest version of the stacks table, see either the Temenos Customer Portal or the Temenos
Partner Portal.
1 .2 Scope
This runbook covers:
l Installing TAFJ.
l Installing Transact.
l Configuring JBoss 7.2 EAP.
l Transact and TAFJ artefacts in JBoss.
1 .3 Audience
This runbook is designed for technical consultants who want to deploy TAFJ-Transact on a JBoss
application server EAP 7 and access it through a browser.
4
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
5
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1 .6 Legal
© Copyright 2020 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
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1 .7 History
1.2 September 2017 Technical author edits and formatting Dominik Wietrzak
7
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
2 Introduction
This Stack 1 Red Hat - JBoss Runbook describes how to install and configure TAFJ-Transact on a
Red Hat Linux server v7 Operating System.
After TAFJ-Transact is installed on the Linux server, the stack is deployed using a JBoss application
server. You access the system through a Temenos browser.
8
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
3 .1 Prerequisites
Before you start to install and configure the stack, you must have installed all 3rd party software,
including:
l JDK 1.8
l Oracle 12c database
l JBoss 7 EAP
The TAFJ runtime, T24 libraries and BrowserWeb.war files are available from Distribution for copying
into the Linux server. UXP Browser related files are also provided by Distribution - these include the
UXP Browser folder, hothouse-iris.war and browser-iris.war.
Note:
Remember to set the corresponding environment variables for 3rd party software. For example, set
JAVA_HOME to the Java installed path.
Procedure
Directory Description
9
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Directory Description
The 3rdParty directory contains all installed third-party software like JDK
3rdParty
1.8, JBoss 7 EAP etc.
l TEMENOS_HOME = path_of_Temenos_directory
l JDK_HOME = path_of_JDK
l TAFJ_HOME = path_of_TAFJ
l T24_HOME = path_of_T24
10
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Note:
This runbook does not tell you how to install third-party software. For more information, see the
relevant vendor's documentation.
4 .1 Supporting documentation
The TAFJ runtime contains a doc directory, which contains various documents on TAFJ utilities. It also
contains installation guides for various databases and application servers.
1. Check how much free disk space you have - run the following command:
df –h
2. To check if the required OS version is used, type uname –a in the command line and check the
platform and version.
3. You can also run the following command to get more user friendly information:
cat /etc/*-release
df –h
11
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
5. Check that you can connect to your database. To do that, you can use the Oracle SQL Developer
tool.
6. Verify that the required JDK is installed by checking the JAVA_HOME environment variable. To do
that, run the following command on the server:
java -version
12
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Note:
Your Java development Kit needs to be installed in the Temenos/3rdParty/Java
directory.
13
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
5 Installing TAFJ
The following chapter describes how to install TAFJ. The TAFJ runtime is a tar file. The filename is
TAFJ.DEV.201705.0.tar.gz.
Procedure
cd $TEMENOS_HOME/Install
mkdir tafjinst
3. Extract the contents of the tafj file into the tafjinst directory.
cd $TEMENOS_HOME/Install/tafjinst
5. Execute the Setup_TAFJ.DEV.201705.0.sh file and provide the TAFJ directory path. TAFJ
is now installed.
6. To view the directories in TAFJ, enter the following commands:
cd $TAFJ_HOME
ls
14
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
7. Use tDiag to check that you've set your TAFJ variables properly:
8. After you've installed TAFJ, change the permissions on the bin directory. To do this, use the
command for executing TAFJ utilities:
9. Use tVersion to check that you've installed the right version of TAFJ:
Important:
Make sure that the JDK is installed before trying to install TAFJ. See Prerequisites.
15
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Ensure that you have created the T24 directory. For more information, see Prerequisites.
6 .1 Installing Transact
Procedure
6 .2 Configuring Transact
Procedure
16
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Procedure
1. Specify the URL of the Oracle database for the parameter temn.tafj.jdbc.url.
2. Specify the JDBC driver name for the Oracle database for the parameter
temn.tafj.jdbc.driver. In the example below, the driver name is
oracle.jdbc.driver.OracleDriver.
3. Specify a user name for accessing the database for the parameter
temn.tafj.jdbc.username. In the example below, the user name is t24.
4. Specify a password for accessing the database for the parameter
temn.tafj.jdbc.password. In the example below, the password is t24.
5. Add the database drivers to the $TAFJ_HOME\ext path. The oracle-12c directory is copied
across.
6. Copy the oracle-12c directory (with its contents) that is in $TAFJ_HOME/dbdrivers to the
ext directory:
17
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
The database drivers are provided in $TAFJ_HOME\dbdrivers path - however, this is only for
reference. You need to copy the drivers from the database installation directory.
18
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1. Change to $TAFJ_HOME/bin.
2. Execute tRun EX.
3. Log into the application using a valid Transact user name and password.
19
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
8 .2 Running DBTools
To access DBTools, you need to create a user using the tUserMgnt utility. You use the same user
name and password to log into DBTools.
l Name
l IP address
l User name
Procedure
3. Start DBTools:
20
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
21
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
cd $JBOSS_HOME/modules
mkdir com/temenos/tafj/main
cd $JBOSS_HOME/modules/com/temenos/tafj/main
ln -s $TAFJ_HOME/lib lib
ls –ail
cp $TAFJ_
HOME/appserver/jboss/jboss7eap/modules/com/temenos/tafj/module.xml
$JBOSS_HOME/modules/com/temenos/tafj/main
5. Edit the file module.xml to add the Oracle 12c database dependency.
vi $JBOSS_HOME/modules/com/temenos/tafj/main/module.xml
22
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
The module.xml file that you need to use for TAFJ is present in the path $TAFJ_
HOME/appserver/jboss/jboss7eap/modules/com/temenos/tafj. Remember to add the
dependency module for the database in the dependencies section.
cd $JBOSS_HOME/modules
mkdir com/temenos/t24/main
cd $JBOSS_HOME/modules/com/temenos/t24/main
ln -s $T24_HOME/Lib/T24Lib lib
ls –ail
23
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
9 .3 JBossTools
Transact contains many libraries, which makes adding the jars into module.xml a lengthy process. To
make it easier, TAFJ provides a utility (JBossTools) to generate/update module.xml.
You need to run Module Generator (JBossTools.sh) from $TAFJ_HOME/bin with the required
arguments:
9.3.2 O ptions
Option Description
The list of directories that you want to parse. Use the operating system path
path_to_jars
separator between directories.
The directory - or path to the directory - where you want the file module.xml to
dest
be generated.
root_prefix Name of the link if module.xml is at the same level of the link.
9 .4 Using JBossTools
Procedure
2. Open module.xml in your text editor and verify if dependency module for tafj is present. Add
24
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
cd $JBOSS_HOME/modules
mkdir com/oracle/ora12c/main
cd $JBOSS_HOME/modules/com/oracle/ora12c/main
cp $TAFJ_
HOME/appserver/jboss/jboss7eap/modules/com/oracle/ora12c/module.xml
$JBOSS_HOME/modules/com/oracle/ora12c/main
cp $TAFJ_HOME/dbdrivers/oracle-12c/* $JBOSS_
HOME/modules/com/oracle/ora12c/main
25
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Procedure
You need to configure several parameters in the standalone.conf file that is in JBOSS_HOME/bin.
JAVA_OPTS="%JAVA_OPTS%
4. If you are deploying the UXP Browser, increase your memory settings by adding the following
snippet at the end of the new line. Example:
-Dtafj.home=$TAFJ_HOME
6. Optional: If you don’t want to run JBoss with the default port, specify the new port number:
-Djboss.socket.binding.port-offset=1009
-Dfile.encoding=UTF-8
-Djboss.node.name=node1
26
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Result: You have provided the new configurations in the following snippet:
In this scenario, you are going to create a standalone server for Transact in the Application layer. The
standalone name will be T24AppStd.
In JBoss EAP 7, in standalone mode, the configuration files are present in the
standalone/configuration directory of JBoss. In domain mode, the configuration files are
present in domain/configuration directory of JBoss.
Transact
product_name AML
TAP
Std Standalone
Clu Cluster
number From 00 to 99
You can create a standalone server for Transact in the application layer. The profile name will be
T24AppStd01.
27
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
Follow the same nomenclature to specify the server name. The name will be T24AppSrv01. You can
have multiple profiles on one server, for example you can have profiles T24AppStd01, T24AppMgr01,
and T24AppMng01 on the same machine T24AppSrv01.
Procedure
Procedure
1. Open the tafj.properties file in your text editor. The file is in the following location:
$TAFJ_HOME/appserver/jboss/jboss6eap/jboss-cli
2. Provide the following parameters values: DB_URL, DB_DRIVER, DB_USER and DB_PWD.
28
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
4. Under the drivers section, uncomment the line SQLServer drivers parameters.
5. Move to the $JBOSS_HOME/bin directory and open the jboss-cli.xml file in your text editor.
6. Set the value of the following parameters to true:
l resolve-parameter-values
l validate-operation-requests
$ jboss-cli.sh --connect --
file=/storage/hamsa/Temenos/TAFJ/appserver/jboss/jboss7eap/jboss-
cli/T24Setup.cli --
properties=/storage/hamsa/Temenos/TAFJ/appserver/jboss/jboss7eap/jb
oss-cli/tafj.properties
9. Open the modified T24AppStd01.xml file in your editor to verify that the following parameters
have been configured:
l System properties
l Drivers
l Data sources
29
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
30
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1. Upload the UXPBrowser.war, browser-iris.war and the UXP Browser zip files to the
$TEMENOS_HOME/Install directory.
2. Create the UXPBrowser directory under $TEMENOS_HOME.
3. Extract the contents of the UXP Browser zip file to $TEMENOS_HOME/UXPBrowser. The
UXPBrowser directory contains the generated and manual directories.
4. Add the environment variable GENERATED with the value of the path to the generated directory
export GENERATED=$TEMENOS_HOME/UXPBrowser/generated
5. Add the environment variable MANUAL with the value of the path to the manual directory:
export MANUAL=$TEMENOS_HOME/Install/UXPBrowser/manual
31
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
11 Deploying applications
The following chapter describes how to deploy TAFJEE, BrowserWeb and Apache Axis 2. It also shows
you how to deploy the stack through the new browser, the UXP Browser.
After you have edited the standalone-full.xml file, restart the JBoss application server.
To start JBoss with UXP Browser, run the following command (with several parameters):
Note:
You have to kill your JBoss process if you started it with the BrowserWeb parameter. You also have
to use the -Doverride.IRIS_ROOT parameter in non-UTP environments.
The default http port is 8080, as set in the JBoss configuration file in the socket-binding section for http
name. You can access the deployed applications such as Transact browser and axis2 with this port.
32
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1 1 .2 Deploying TAFJEE
You need to deploy TAFJEE_EAR.ear in the $JBOSS_HOME/standalone/deployments
directory.
Procedure:
cp –r $TAFJ_HOME/appserver/jboss/jboss7eap/TAFJJEE_EAR.ear $JBOSS_
HOME/standalone/deployments
cp –r $TAFJ_HOME/appserver/TAFJSpoolerPlugins.rar $JBOSS_
HOME/standalone/deployments
4. When the TAFJEE_EAR.ear file has been deployed, access the TAFJ services which are
available at the following URL in your web browser:
http://app_server_ip_address:port/TAFJEE
33
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1 1 .3 Deploying BrowserWeb
You need to deploy the BrowserWeb application for your specific version of TAFJ-Transact in the
$JBOSS_HOME/standalone/deployments directory. For example, the BrowserWeb.war
located on the path $TEMENOS_HOME/Install/BrowserWeb-201705.00.tar.
Procedure
1. Upload the BrowserWeb.tar file for your specific version of TAFJ-Transact to the $TEMENOS_
HOME/Install/browserweb directory.
2. Create the directory BrowserWebwar then untar the tar file.
3. Copy the BrowserWebwar directory into the deployments directory of JBoss:
cp $TEMENOS_HOME/Install/browserwebwar/BrowserWeb-
201705.00/BrowserWeb.war $JBOSS_HOME/standalone/deployments
34
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
1 1 .4 Deploying Axis2
Installing axis2.war is only required for accessing Integration Framework services. You do not need
Axis2 as of now. It is just one of the prerequisites that you are installing.
Procedure
cp –r $TEMENOS_HOME/Install/axis2.war $JBOSS_
HOME/standalone/deployments
35
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
http://app_server_ip_address:port/axis2
For the UXP Browser to work, the minimum version of TAFJ-Transact required is DEV201705.
Procedure
1. Copy the UXPBrowser.war and browser-iris.war files into the deployments directory.
cp $TEMENOS_HOME/Install/UXPBrowser.war $JBOSS_
HOME/standalone/deployments
cp $TEMENOS_HOME/Install/browser-iris.war $JBOSS_
HOME/standalone/deployments
36
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
3. UXP Browser takes a little bit longer to get fully deployed, so wait and check the console
messages.
4. Access the UXP browser with the following URL:
http://app_server_ip_address:8080/Browser
37
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
12 Glossary
A
Axis2
Apache Axis2 is a core engine for Web services. Axis2 provides the capability to add Web services
interfaces to Web applications.
BrowserWeb
A Temenos browser, used for accessing the Transact application.
IIB v10
IBM Integration Bus version 10
Integration
Communication between two or more systems.
Interaction
Communication between an automated system and a human user.
JBoss
JBoss Application Server (JBoss AS) is an open-source, cross-platform Java application server
developed by JBoss, a division of Red Hat Inc. JBoss AS is an open-source implementation of Java 2
Enterprise Edition (J2EE) that is used for implementing Java applications and other Web-based
applications and software.
JDK
Java Development Kit
38
S ta c k 1 R e d H a t - J B o s s R u n b o o k 1 .5
JMS
Java Message Service (JMS) is an application program interface (API) from Sun Microsystems that
supports the formal communication known as messaging between computers in a network.
Oracle 12c
Oracle Database 12c is an enterprise-class database from Oracle. Its features include pluggable
databases and multitenant architecture.
SOAP
Simple Object Access Protocol. An XML-based messaging protocol that uses HTTP.
TAFJ
Temenos Application Framework Java
Transact
Transact is Temenos' core banking solution
UXP Browser
The new browser from Temenos, designed to access the Transact application
WebSphere MQ
Renamed IBM MQ in 2014. IBM's enterprise messaging solution. It allows independent and potentially
non-concurrent applications in a distributed system to communicate securely with each other.
39