uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

2.4.4 Customizing a Test Environment

The information described in "2.4.3(2) Information required for operating the test environment is specified in the test environment that is set up with the HCSC Easy Setup functionality. You can customize this information after setting up the test environment.

To customize a test environment, edit the values specified in definition files during the setup of the test environment with the HCSC Easy Setup functionality.

The table below describes the editable definition files. For details about each definition file, see the manuals specified in the Reference Destination column of the table.

Table 2-8 Editable definition files

File name Explanation Storage destination Reference destination
adminagent.properties
(Administration Agent property file)
The port number used in the communication with the Administration Agent is set in this property file. A a
cdsetupconfig.bat
(Embedded database setup batch file)
The environment variables of the embedded database are set in this batch file. B c
cmdconf.bat
(HCSC-Messaging command definition file)
The class path of HiRDB type4 JDBC Driver for accessing the embedded database using the csmXXX command of the uCosminexus Service Platform is set in this batch file. C d
Cosminexus_Reliable_Messaging.xml
(Connector attribute file)
The resource adapter attributes (configuration property value and property value) are specified in this XML file. D b
csccmd.properties
(HCSC-Manager command definition file)
The omitted values (login user ID and login password) of the commands used in the operating environment are specified in this property file. E d
cscmng.properties
(HCSC-Manager definition file)
The information required for HCSC-Manager operations is specified in this property file. E d
cscsvconfig.properties
(HCSC server runtime definition file)
The runtime information (execution history management information and database information) required for starting the HCSC server is specified in this property file. D d
cscsvsetup.properties
(HCSC server setup definition file(model with DB/without RM))#1
This is property file in which information (J2EE server, Reliable Messaging, database related information) required for HCSC server setup to be used in model without DB/RM is set. D d
cscsvsetup.properties.esb
(HCSC server setup definition file(model with DB/RM))# 1
This is property file in which information (J2EE server, Reliable Messaging, database related information) required for HCSC server setup to be used in model with DB/RM is set. D d
cscsvsetup.xml
(HCSC server configuration definition file(model with DB/without RM))
This is XML file in which HCSC server configuration information (definition of cosminexus-manager, jms-physical-reception, ejb-reception) to be used in model with DB/without RM is set. D d
cscsvsetup.xml.esb
(HCSC server configuration definition file (model without DB/RM))
This is XML file in which HCSC server configuration information (definition of cosminexus-manager, jms-physical-reception, ejb-reception) to be used in model without DB/RM is set. D d
cscsvsetup.xml.rm
(HCSC server configuration definition file(model with DB/RM))
This is XML file in which configuration information (definition of cosminexus-manager, jms-physical-reception, ejb-reception) of HCSC server to be used in the model with DB/RM is set D d
DB_Connector_for_HiRDB_Type4.xml
(Connector attribute file)
The resource adapter attributes (configuration property value and property value) are specified in this XML file. D b
DB_Connector_for_HiRDB_Type4_LT.xml
(Connector attribute file)
This is XML file in which properties (value of configuration property, property value) of resource adapter is set.
This is definition for local application to be used in environment without RM.
D b
DB_Connector_for_HiRDB_Type4_Cosminexus_RM.xml
(Connector attribute file)
The resource adapter attributes (configuration property value and property value) are specified in this XML file. D b
grantuser
(User-defined file)
This file is used for creating a HiRDB user and schema. B c
hrmqueue-transmit.xml
(Application attribute file)
The application attributes are specified in this XML file. D b
input.properties
(Property file wherein system information is coded)
The information entered in the HCSC Easy Setup screen and system information is specified in this property file. D -
inserttableshirdb.sql
(Insert table SQL file)
This SQL file is used to insert records in the system management information table. D -
mserver.cfg
(Option definition file for Management Server)
The start option of JavaVM that runs the Management Server is specified in this file. A a
mserver.properties
(Management Server environment setup file)
The port number used by the Management Server and command operations in the case of failure detection are specified in this property file. A a
qconf.txt
(Queue definition file)
The queue information (DisplayName and QueueName) is specified in this text file. E e
setupscript
(Setup script file(For model with DB/without RM and SOAP1.1 mode))
This is script file in which execution order of tasks in the setup process, to be used in model with DB/without RM is set. Use this file to setup environment of SOAP1.1 mode. D -
setupscript.cjw
(Setup script file(for model with DB/without RM and SOAP1.1/1.2 combined mode))
This is script file in which tasks of the setup process to be used in the model with DB/without RM are described in execution order. Use this file to setup the environment of SOAP1.1/1.2 combined mode. D --
setupscript.esb
(Setup script file(for model without DB/RM and SOAP1.1 mode))
This is script file in which execution order of tasks of setup process to be used in model without DB/RM is set. Use this file to setup the environment of SOAP1.1 mode. D -
setupscript.esb.cjw
(Setup script file(for model without DB/RM and SOAP1.1/1.2 combined mode))
This is script file in which tasks o setup process to be used in model without DB/RM is described in execution order. Use this file to setup the environment of SOAP1.1/1.2 combined mode. D --
setupscript.rm
(setup script file(for model with DB/RM and SOAP1.1 mode))
This is script file in which tasks of setup process to be used in model with DB/RM are described in execution order.
Use this file to setup the environment of SOAP1.1 mode.
D --
setupscript.rm.cjw
(setup script file(for model with DB/RM and SOAP1.1/1.2 combined mode))
This is script file in which tasks of the setup process to be used in model with DB/RM are described in execution order.
Use this file to setup environment of SOAP1.1/1.2 combined mode.
D --
simple_model.xml
(HCSC Easy Setup definition file or SOAP1.1 mode)#2
The Web system built with the commands of Smart Composer functionality is defined in this XML file. This file is used to set up the environment for the SOAP1.1 mode. D --
simple_model_cjl.xml
(HCSC Easy Setup definition file or SOAP1.1/1.2 combined mode)#2
This XML file defines the Web system set up using the commands of the Smart Composer functionality. This file is used to set up the environment for the SOAP1.1/1.2 combined mode. D --
tablecreate
(Table definition file)
This file is used for creating the HiRDB schema and tables. B c
unsetupscript
(unsetup script file (model with DB/without RM))
This is the script file in which execution order of tasks for unsetup process to be used in model with DB/without RM is set. D -
unsetupscript.esb
(unsetup script file (model without DB/RM))
This is script file in which execution order of tasks for unsetup process to be used in model without DB/RM is set. D -
unsetupscript.rm
(unsetup script file (model without DB/RM))
This is script file in which execution order of tasks for unsetup process to be used in model with DB/RM is set. D -

Legend:
A: Cosminexus-installation-directory\manager\config
B: Cosminexus-installation-directory\CSC\DB\bats
C: Cosminexus-installation-directory\CSC\config\msg
D: Cosminexus-installation-directory\CSC\system\manager\setup
E: Cosminexus-installation-directory\CSC\config\manager
--: There is no manual for reference.
a: Cosminexus Application Server Server Definitions
b: Cosminexus Application Server Application and Resource Definitions
c: Cosminexus Application Server Application Development Guide
d: Cosminexus Application Server Cosminexus Service Platform Reference
e: Cosminexus Application Server Cosminexus Reliable Messaging

#1
You cannot change properties (db-use property, rm-use property, and hcscserver-data-filepath property) related to the setup configuration.

#2
To change the number of concurrent executions of the Web containers in an environment set up using the HCSC Easy Setup functionality, change the webserver.connector.inprocess_http.max_execute_threads property.
For details about the webserver.connector.inprocess_http.max_execute_threads property, see the manual Cosminexus Application Server Function Guide - Basic Development for Web Container.

Reference note
To customize the test environment, you can use the files in the following directory as a reference for customization:
 
Cosminexus-installation-directory\CSC\log\manager\setup
 
If multiple testing environments (setup of the environment variable CSCMNG_HOME) are built in a single machine, you can use the files saved in the following directory for customization:
 
%CSCMNG_HOME%\log\manager\setup
 
The files saved in these directories are described below:

Files with the names same as the definition files described in Table 2-8
These files (log files of the HCSC Easy Setup functionality) have the contents same as the definition files set up during the execution of the HCSC Easy Setup functionality.

adminagent.properties.bak (back up file of adminagent.properties)
The settings of adminagent.properties, one version prior to the current adminagent.properties are saved.

cmdconf.bat.bak (back up file of cmdconf.bat)
The settings of cmdconf.bat, one version prior to the current cmdconf.bat are saved.

csccmd.properties.bak (back up file of csccmd.properties)
The settings of csccmd.properties, one version prior to the current csccmd.properties are saved.

cscmng.properties.bak (back up file of cscmng.properties)
The settings of cscmng.properties, one version prior to the current cscmng.properties are saved.

mserver.cfg.bak (back up file of mserver.cfg)
The settings of mserver.cfg, one version prior to the current mserver.cfg are saved.

mserver.properties.bak (back up file of mserver.properties)
The settings of mserver.properties, one version prior to the current mserver.properties are saved.