TAFJ-Oracle Install 12cR1
TAFJ-Oracle Install 12cR1
I n s t all
R17
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Amendment History:
Revisio
Date Amended Name Description
n
G.Gowriman
16 4th Feb 2015 Altered the Database creation steps
i
Page 2
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Copyri g h t
Copyright (c) 2014 TEMENOS HOLDINGS NV
All rights reserved.
This document contains proprietary information that is protected by copyright. No part of this document may
be reproduced, transmitted, or made available directly or indirectly to a third party without the express
written agreement of TEMENOS UK Limited. Receipt of this material directly TEMENOS UK Limited
constitutes its express permission to copy. Permission to use or copy this document expressly excludes
modifying it for any purpose, or using it to create a derivative therefrom.
Temenos Headquarters SA
2 Rue de l’Ecole-de-Chimie,
CH - 1205 Geneva,
Switzerland
Please include your name, company, address, and telephone and fax numbers, and email
address if applicable. [email protected]
Page 3
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Table of Contents
Copyright................................................................................................................................................ 3
Errata and Comments............................................................................................................................ 3
Introduction............................................................................................................................................. 5
Install Oracle........................................................................................................................................... 5
Create a Database Instance................................................................................................................... 5
Launch the Database configuration assistant...........................................................5
Create TableSpace and a User............................................................................................................ 12
Load the necessary Stored functions................................................................................................... 15
Page 4
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Intro d u c t i o n
This document will show all steps to configure a database, ready to be used by T24 with
TAFJ. At this time TAFJ only supports Oracles Version 11 and up.
This procedure is for Windows® platform. For all other OS please refer to the official product
documentation.
Inst a l l Oracl e
Most steps aren’t shown. Please follow the official Oracle document setup.
Or
Execute %ORACLE_HOME%\BIN\dbca.bat
Page 5
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Press Next…
Page 6
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Set a Global Database name. You will have to report this name in the property file of
your project to the key temn.tafj.jdbc.url
Set a Password. This is NOT (!) the password you will set in the properties file...
Unselect the container database and do not specify a Pluggable Database name.
Press Next…
Press Next…
Page 7
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Press Finish…
Page 8
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Press Exit… (The URL will be used as to connect to the database monitor.)
Page 9
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Press Close…
(The port number will be the one mentioned in the Database configuration Assistant)
Page 10
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Connect as SYSDBA
Page 11
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Page 12
TAFJ-O r a cl e 1 2 c R 1 I n s t all
In the TAFJ installation <TAFJ_HOME> \dbscripts\oracle, you will find 2 SQL scripts:
createtablespace.sql
createuser.sql
You will need to edit this script to reflect the correct data.
i.e:
Page 13
TAFJ-O r a cl e 1 2 c R 1 I n s t all
In the createuser_oracle.sql, you will need to change the username and the password and
the tablespace name (in Green):
i.e:
Page 14
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Once these values have been changed, launch a console and from <TAFJ_HOME>
\dbscripts\oracle, type:
Then, type:
@createtablespace_oracle.
sql
And
@createuser_oracle.sq
l
You will have to give the full path to these scripts if there are not in the current directory.
These script can take several minutes to be executed.
exit
Page 15
TAFJ-O r a cl e 1 2 c R 1 I n s t all
you will need to change the username and the password and the tablespace name (in
Green):
i.e:
>javaload
Page 16
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Resources Loaded: 0
Sources Loaded: 1
Published Interfaces: 0
Classes generated: 0
Classes skipped: 0
Synonyms Created: 0
Errors: 0
>sqlplus <DBUser>
And type
@javafunctions_oracle.sql
This should create your sqlfunction which bind to the java functions you created earlier.
exit
Once this is finished you should be able to run a DBImport for oracle. Don’t forget to copy
the ORACLE drivers from <TAFJ_HOME>/dbdrivers to <TAFJ_HOME>/ext. The
properties that go in the TAFJ properties file look like this:
temn.tafj.jdbc.url = jdbc:oracle:thin:@localhost:1521:T24DB
temn.tafj.jdbc.driver = oracle.jdbc.driver.OracleDriver
temn.tafj.jdbc.username = tafj
temn.tafj.jdbc.password = secret
Page 17
TAFJ-O r a cl e 1 2 c R 1 I n s t all
Page 18