uCosminexus Service Platform, Basic Development Guide
Service Architect includes embedded database that can be used as test environment to test the developed HCSC components.
If you use embedded database to set up the HCSC server for testing in the development environment, you need not arrange or set up a separate DB server.
The following points describe the settings required for using the embedded database.
The embedded database is installed at the stage of installing Service Architect. Therefore, you need not install embedded database separately.
You must execute the following tasks for using the embedded database.
Each of the above-listed tasks is explained as follows:
Install HiRDB SQL Executer included in the embedded database.
For details on how to install HiRDB SQL Executer when creating the embedded database, see "3.2 Installing HiRDB SQL Executer" in the "Application Server Application Development Guide".
Once the installation is complete, add/setup the following environment variable PATH.
<Service platform installation directory>\DB\BIN; <Service platform installation directory>\DB\CLIENT\UTL;
Use Eclipse for setting up DB server and configuring environment of the embedded database.
For the method to set up DB server and configure the environment, see "Appendix B.3 Creating embedded database" in "Application Server Application Development Guide".
In DB server setup settings screen, select [Large (2GB)] as the size of the created database.
Define the user and schema that will use the database.
For the method to set up the user and define schema of the embedded database, see "Appendix B.3 Creating the embedded database" in "Application Server Application Development Guide".
Create, add or expanded RDAREAs as and when required, to store the management information table of HCSC Messaging. Also, when you create, add or expanded RDAREAs, check whether it is processed properly.
Procedure for creating, adding or expanding RDAREAs is as follows:
Stop and restart the embedded database.
For the method to stop and restart the embedded database, see "6.2 Starting and stopping the embedded database" in "Application Server Application Development Guide".
When using the embedded database, you must perform following operations, as the settings of DB client (HCSC server).
Each operation is explained as follows:
Set up the environment variables PDXAMODE and PDTXACANUM.
Register the environment variables group with "Client environment variable registration tool" in the following path.
<Service platform installation directory>\DB\CLIENT\UTL
For the details on registering the environment variables group with the client environment variable registration tool, see the "HiRDB UAP Development Guide".
Specify the registered environment variable group name with XA_OPEN character string of the DB Connector property. For XA_OPEN character string (XAOpenString) of DB Connector properties, see "<4.2.2 Defining DB Connector properties" in "Application Server Application Setup Guide".
Increase the concurrent connections count of embedded database, as and when required. Change the operand of the DB definition file of embedded database. DB definition file exists in directory to be set up through the settings screen of DB server setup, at the time of implementing work of "(1)(b) Setting up DB server and configuring the environment".
Change the following operands in the DB definition file.
Also, set the value of environment variable PDTXACANUM to the value greater than the specified value of pd_max_users.
Set up user limitation and prepare RDAREAs for Reliable Messaging, as and when required.
The method to set up user limitations is same as the method given in "(1)(c) Setting up users and defining schemas".
The method to prepare RD area is same as the method given in "(1)(d) Preparing RDAREAs".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.