Manual de Atualização Onesource
Manual de Atualização Onesource
Manual de Atualização Onesource
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
TABLE OF CONTENTS
INTRODUCTION............................................................................................................................................ 1
TARGET AUDIENCE ...................................................................................................................................... 1
PREREQUISITES ........................................................................................................................................... 1
PROCEDURE TO START/STOP SERVICES OF ONESOURCE ....................................................................2
DATABASE UPDATE.....................................................................................................................................3
RUNNING IN WINDOWS .......................................................................................................................... 4
RUNNING IN LINUX ................................................................................................................................. 4
UPDATE MESSAGING PROCESS ................................................................................................................ 5
RUNNING MESSAGING MODULE IN CLUSTER ......................................................................................... 7
DATABASE SETTINGS.............................................................................................................................. 8
UPDATE ONESOURCE PORTAL AND WEBSERVICES IN WEBLOGIC...................................................... 9
UPDATE ONESOURCE PORTAL AND WEBSERVICES IN TOMCAT ........................................................ 12
UPDATE ONESOURCE PORTAL AND WEBSERVICES IN JBOSS ............................................................ 13
INTEGRATOR UPDATE............................................................................................................................... 14
TECHNICAL SUPPORT ............................................................................................................................... 16
Release: V01.R60
Latest update: 05/24/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
INTRODUCTION
This document describes the procedures for ONESOURCE eSOCIAL/ECF update.
TARGET AUDIENCE
This document is intended to infrastructure team responsible for the application update.
PREREQUISITES
Files of Database current version
Banco_de_Dados
Portal Web
o Weblogic/Jboss
onesource-taxbr-web.ear
o Tomcat
taxbr-solution-web.war
Web Services
o Weblogic/Jboss
onesource-taxbr-webservices.ear
o Tomcat
taxbr-solution-webservices.war
onesource-messaging-<CurrentVersion>
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
tr-taxbr-onesource-integrator-installer-<VersoCorrente>
The following steps describe the procedures for ONESOURCE eSOCIAL/ECF update.
The following steps aim to describe the procedure to start OneSource Services:
1. Start ActiveMQ
2. Start Apache Tomcat (ONESOURCE Portal/Webservices)
3. Start ONESOURCE Messaging
4. Start ONESOURCE Integrator
The following steps aim to describe the procedure to stop OneSource Services:
1. Stop ActiveMQ
2. Stop Apache Tomcat (ONESOURCE Portal/Webservices)
3. Stop ONESOURCE Messaging
4. Stop ONESOURCE Integrator
Notice that the ActiveMQ Service must follow the rule below:
1. ActiveMQ is always the first service to be started (mandatory)
2. ActiveMQ is always the last service to be stopped (mandatory).
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
DATABASE UPDATE
You need to back up the database before continuing the upgrade process.
To create the base of the product we use a tool called 'Liquibase' which connects itself in your
database and performs all creation and load:
Prerequisites for Liquibase usage:
An operational system with a Java virtual machine installed in the workstation which will run
the Liquibase (Oracle Java 7 64 bits);
This tool can be used on both on Windows and Linux through command line.
Place the 'Liquibase' files in the directory: "Installation\Database" (Instalacao\BancoDeDados).
To set the parameter of the database, change in the file "liquibase.properties" the following values:
url:jdbc:oracle:thin:@<SERVER>:<PORT>/<SERVICES_NAME>
username:<DATABASE_USERNAME>
password:<DATABASE_PASSWORD>
EXAMPLE:
url:jdbc:oracle:thin:@192.168.0.1.:1521/ORCL
username:onesource
password:onesource@123
Note: If usage of the Oracle SID be necessary, change the URL property as below:
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
url:jdbc:oracle:thin:@<SERVER>:<PORT>:<SID>
username:<DATABASE_USERNAME>
password:<DATABASE_PASSWORD>
Note: Oracle will no longer support the SID in future versions, it is highly recommended to use
SERVICE_NAME instead of SID.
RUNNING IN WINDOWS
For running creation, type the command line "liquibase.bat update"; or, if it is preferable, a SQL file
via "liquibase.bat updateSQL> <filename> .sql" command can be created.
RUNNING IN LINUX
For running liquibase in Linux, type the command "liquibase.sh update" or, if you wish, you can create
a SQL file via "liquibase.sh updateSQL> <filename>.sql" command.
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Note: If administrator permission is needed on the installation service, access the command
prompt in administrator mode for running BAT files. To run these files, the root folder,
where they are, must be accessed.
Find below some short descriptions of each messaging server folder:
Conf Contain scripts for messaging module settings
Lib Contain the default library of messaging module
Data Contain the service logs of messaging module
Service Contain the binary for running messaging module as Windows service
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
findLotToSend.autoStartup=true
checkOccurrenceConsistency.autoStartup=true
NOTE 2: Unzip each instance in a different folder/server. If it is in the same server and you want to
install as a service, you must modify the wrapper.conf file (name defined in the file
INS_ONESOURCE_eSOCIALECF<CurrentVersion>\Instalacao\Processamento\Processador\onesource-messaging<CurrentVersion>\service\win64\wrapper.conf), in order to the service name be different for each
instance.
DATABASE SETTINGS
In the messaging module installation folder, find the file conf/application.properties and change the
value of the properties below to set the access to the database (you can copy the data from the backup
file created in last step):
db.url=jdbc:oracle:thin:@<SERVER>:<PORT>/<SERVICES_NAME>
db.username=<DATABASE_USERNAME>
db.password=<DATABASE_PASSWORD>
EXAMPLE:
db.url=jdbc:oracle:thin:@192.168.0.1.:1521/ORCL
db.username=onesource
db.password=onesource@123
Note: If usage of Oracle SID is needed, modify the URL property as below:
db.url=jdbc:oracle:thin:@<SERVER>:<PORT>:<SID>
db.username=<DATABASE_USERNAME>
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
db.password=<DATABASE_PASSWORD>
Note: Oracle will no longer support the SID in future versions, it is highly recommended to use
SERVICE_NAME instead of SID.
Release: V01.R59
Latest update: 05/10/2016
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
3. In Localizar Novos Arquivos de Implantao (Locate new implantation files), use Alterar
Caminho (Change the menu path) Button if you want to change the application source file or
change the associated implantation plan.
Release: V01.R59
Latest update: 05/10/2016
10
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
11
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
12
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
13
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
INTEGRATOR UPDATE
Update Prerequisites in application Server:
Stop TAXBR-Integrator service running;
Remove the integrator service (Windows):
%INTEGRADOR_DIR%\bin\TAXBR-Integrator-service.bat remove
Backup the files that start with taxbr in the folder <INTEGRADOR_DIR>\etc;
Running the file "karaf.bat" is only possible through the Command Prompt as administrator.
You may not run directly the "karaf.bat" file as below:
Release: V01.R59
Latest update: 05/10/2016
14
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
Release: V01.R59
Latest update: 05/10/2016
15
THOMSON
REUTERS
ONESOURCE
ONESOURCE
ECF
UPDATE
MANUAL
MANUAL
OPERACIONAL
TECHNICAL SUPPORT
For special aid on technical issues that exceeds the information of this manual, count on Support
team.
The Technical Support works from Mondays to Fridays (9:00 AM - 6:00 PM).
Release: V01.R59
Latest update: 05/10/2016
16