uCosminexus Application Server, Application Setup Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(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.
- 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 (Acquiring resource properties) in the uCosminexus Application Server Command Reference Guide. For details on the cjgetrarprop command, see cjgetrarprop (Acquiring RAR file properties) in the uCosminexus Application Server Command Reference Guide.
- 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 Connector property file in the uCosminexus Application Server Definition Reference Guide.
- 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 (Setting resource properties) in the uCosminexus Application Server Command Reference Guide. For details on the cjsetrarprop command, see cjsetrarprop (Setting RAR properties) 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:
- 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 (Acquiring the properties of JavaBeans resources) in the uCosminexus Application Server Command Reference Guide. For details on the cjgetresprop command, see cjgetresprop (Acquiring resource properties) in the uCosminexus Application Server Command Reference Guide.
- 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 Connector property in the uCosminexus Application Server Application and Resource Definition Reference Guide.
- 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 (Setting properties of JavaBeans resources) in the uCosminexus Application Server Command Reference Guide. For details on the cjsetresprop command, see cjsetresprop (Setting resource properties) in the uCosminexus Application Server Command Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.