uCosminexus Application Server, System Setup and Operation Guide
This subsection describes the setup procedure when using DB Connector as the resource adapter. Implement these settings on the host for allocating the J2EE server. The following table describes the settings used in the example.
Table 4-12 Settings used in the example (DB Connector settings)
| Item | Setup example |
|---|---|
| Name of the resource adapter file | DBConnector_HiRDB_Type4_CP.rar# |
| Display name of the resource adapter | DB_Connector_for_HiRDB_Type4 |
| Name of the Connector Property file | MyDBConnectorAttr.xml |
| Name of the J2EE server for importing resource adapter | MyWebSystem_J2EE01 |
# RAR file for connecting to HiRDB using the HiRDB Type4 JDBC Driver when there are no local transactions or when transactions are not managed.
For details on the types of available RAR files and their proper usage, see 3.6.4 Types of DB Connector (RAR file) in the uCosminexus Application Server Common Container Functionality Guide.
cjimportres MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -type rar -f DBConnector_HiRDB_Type4_CP.rar-file-path |
cjdeployrar MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -resname DB_Connector_for_HiRDB_Type4 |
cjsetrarprop MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -resname DB_Connector_for_HiRDB_Type4 -c MyDBConnectorAttr.xml-file-path |
cjtestres MyWebSystem_J2EE01 -nameserver corbaname::192.168.100.12:900 -resname DB_Connector_for_HiRDB_Type4 |
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.