uCosminexus Service Platform, Setup and Operation Guide

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

5.3.27 Changing resource adapter properties

This subsection describes the prerequisites and method to change properties of resource adapters being used by the HCSC server:

Organization of this subsection
(1) Prerequisites
(2) Method for changing

(1) Prerequisites

To change resource adapter properties, the following conditions must be fulfilled.

(2) Method for changing

The following is the procedure for changing properties of the resource adapter. For details on how to acquire and set the Connector property file as mentioned in the procedure, see"4.4.2 Defining resource adapter properties (for Connector 1.0) "or "4.4.3 Defining resource adapter properties (for Connector 1.5) " in "Application Server Application Setup Guide".

  1. Stopping the HCSC server and the logical server concurrently in a batch
    When the HCSC server is in a running status, specify -system option in the cscsvstop command, to concurrently stop the HCSC server and the logical server in a batch.
    For details on how to check the status of HCSC server, "5.3.15 Checking the HCSC server information".
    For details on how to stop the HCSC server and the logical server, see "5.3.33 Terminating the HCSC Server".
    Execution format of the cscsvstop command is as follows:
     
    cscsvstop -user <login user ID> -pass <login password> -csc <HCSC server name> -system
     
  2. Starting the J2EE server without starting J2EE applications.
    To start the J2EE server without starting J2EE applications, specify the -logical option in the cscsvstart command.
    For details on how to start the J2EE server, "5.3.4 Starting HCSC server".
    Execution format of the cscsvstart command is as follows:
     
    cscsvstart -user <login user ID> -pass <login password> -csc <HCSC server name> -logical <J2EE server name>
     
  3. Stopping the resource adapter.
    Execute the cjstoprar command, to stop the resource adapter that is being used by the HCSC server.
    For details on how to stop resource adapters, see "4.4.7 Stopping J2EE resource adapters" in "Application Server Application Setup Guide"
    Execution format of the cjstoprar command is as follows:
     
    cjstoprar <J2EE server name> [-nameserver <providerURL>]-resname <display name of the resource adapter>
     
    Note
    When you stop DB Connector for Reliable Messaging, Reliable Messaging must be in a stopped state.
  4. Acquiring the Connector property file of the resource adapter.
    Execute the cjgetrarprop command As and when required to acquire the Connector property file of the resource adapter being used the HCSC server.
    The execution format of the cjgetrarprop command is as follows:
     
    cjgetrarprop <server name> [-nameserver <provider URL>] -resname <display name of the resource adapter> -c <Connector property file path>
     
  5. Editing the Connector property file of the resource adapter.
    For the setup value of the Connector property file of the resource adapter that is being used by the HCSC server, see "3.1.2 Setting up the software required for the execution environment".
  6. Specifying the value of the Connector property file in the resource adapter.
    By executing the cjsetrarprop command, the value of the Connector property file is reflected in the resource adapter that is being used by the HCSC server.
    Execution format of the cjsetrarprop command is as follows:
     
    cjsetrarprop <server name> [-nameserver <provider URL>] -resname <display name of the resource adapter -c <Connector property file path>
     
  7. Performing the Connection Test of the resource adapter.
    Execute the cjtestrescommand, and validate whether the information set in the resource adapter is correct, with the connection test.
    For the Connection test of resource adapters, see "4.4.5 Connection test of J2EE resource adapters" in "Application Server Application Setup Guide".
    Execution format of the cjtestres command is as follows:
     
    cjtestres [<server name>] [-nameserver <provider URL>] -type rar -resname <display name of the resource adapter
     
    Note
    To perform the connection test of Reliable Messaging, you must start DB Connector for Reliable Messaging. Also, to perform the connection test of DB Connector for Reliable Messaging, Reliable Messaging must be already started.
  8. Starting the resource adapter.
    Execute the cjstartrar command to start the resource adapter being used by the HCSC server.
    For details on how to start the resource adapter, see "4.4.6 Starting J2EE resource adapters" in "Application Server Application Setup Guide".
    Execution format of the cjstartrar command is as follows:
    cjstartrar ¡e<server name>¡f ¡e-nameserver <provider URL>¡f -resname <display name of the resource adapter
     
    Note
    When you start Reliable Messaging, DB Connector for Reliable Messaging must be already started.
  9. Stopping the J2EE server.
    To stop the J2EE server, specify the -logical option in the cscsvstop command.
    For details on how to stop the J2EE server, see "5.3.33 Terminating the HCSC Server".
    Execution format of the cscsvstop command is as follows:
     
    cscsvstop -user <login user ID> -pass <login password> -csc <HCSC server name> -logical <J2EE server name>
     
  10. Starting the HCSC server and the logical server concurrently in a batch
    Specify -system option in the cscsvstart command, to start the HCSC server and the logical server in a batch concurrently.
    For details on how to start the HCSC server and the logical server, see "5.3.4 Starting HCSC server".
    The execution format of the cscsvstart command is as follows:
     
    cscsvstart -user <login user ID> -pass <login password> -csc <HCSC server name> -system