Hitachi

uCosminexus Application Server Application Setup Guide


3.5.1 Procedure for setting the properties of a J2EE resource adapter

This subsection describes the procedure for setting up the properties of resource adapters and other J2EE resources.

Organization of this subsection

(1) Procedure for setting up the properties of resource adapters

The procedure for setting up the properties of a resource adapter deployed and used as a J2EE resource adapter is described here.

For details on the procedure to set up the properties of resource adapters included in J2EE applications, see 3.5.2 Procedure for setting the properties of a J2EE application.

  1. Acquire the attribute file.

    When acquiring the attribute file of an un-deployed resource adapter, execute the cjgetresprop command. When acquiring the attribute file of the resource adapter after deploying the resource adapter, execute the cjgetrarprop command.

    You must acquire the Connector property file.

    For details on the cjgetresprop command, see cjgetresprop (get resource Property) in the uCosminexus Application Server Command Reference Guide. For details on the cjgetrarprop command, see cjgetrarprop (get RAR file Property) in the uCosminexus Application Server Command Reference Guide.

  2. Edit the property settings.

    Edit the acquired attribute file by using a text editor. For editing the items in the attribute file, see the explanation about each property setting.

    For details on the property file, see 4.1 HITACHI Connector Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

  3. Set the properties.

    When setting the properties of an un-deployed resource adapter, execute the cjsetresprop command. When setting the properties of a deployed resource adapter, execute the cjsetrarprop command.

    For details on the cjsetresprop command, see cjsetresprop (set Property of resource) in the uCosminexus Application Server Command Reference Guide. For details on the cjsetrarprop command, see cjsetrarprop (HITACHI Connector Property Settings) in the uCosminexus Application Server Command Reference Guide.

(2) Procedure for setting up the properties of J2EE resources other than resource adapters

The procedure for setting up the properties of JavaBeans resources, and the mail configuration is as follows:

  1. Acquiring the property file.

    For acquiring the property file of JavaBeans resources, execute the cjgetjbprop command. For acquiring the property file of the mail configuration, execute the cjgetresprop command.

    The property files to be acquired are as follows:

    • For a JavaBeans resource

      JavaBeans resource property file

    • For a mail configuration

      Mail property file

    For details on the cjgetjbprop command, see cjgetjbprop (get HITACHI JavaBeans Resource Property) in the uCosminexus Application Server Command Reference Guide. For details on the cjgetresprop command, see cjgetresprop (get resource Property) in the uCosminexus Application Server Command Reference Guide.

  2. Editing the property settings.

    You use a text editor to edit the acquired property file. For editing the items in the property file, see the explanation of each property setting.

    For details on the property file, see 2.2.9 Details of the Connector property in the uCosminexus Application Server Application and Resource Definition Reference Guide.

  3. Setting up the properties.

    For setting up the JavaBeans resource properties, execute the cjsetjbprop command. For setting up the mail configuration properties, execute the cjsetresprop command.

    For details on the cjsetjbprop command, see cjsetjbprop (set HITACHI JavaBeans Resource Property) in the uCosminexus Application Server Command Reference Guide. For details on the cjsetresprop command, see cjsetresprop (set Property of resource) in the uCosminexus Application Server Command Reference Guide.