To connect to a database from a batch application, use a resource adapter called DB Connector. This subsection describes setting of resource adapter, which is used on a batch server. On a batch server, deploy and use a resource adapter as a J2EE resource adapter.
- Reference note
- If resource adapter is DB Connector, you can use template file of Connector property file provided with Application Server. If you use the template file of Connector property file, you can edit the Connector property file before importing DB Connector. As a result, the operation of acquiring Connector property file to be edited, by using the server management command (cjgetrarprop or cjgetresprop command) is no more required. Templates in Connector property file are stored in the following locations. Copy and use the template files.
- In Windows,
Cosminexus-installation-directory \CC\admin\templates\
- In UNIX,
/opt/Cosminexus/CC/admin/templates/
- For details on template files of Connector property file and points to be considered when using the template files, see 4.1.14 Template files of Connector property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
- Note
- You must perform migration of the resource adapters, if you want to use the resource adapters used by the versions earlier than Application Server 07-10, in Application Server 07-10 or later versions. For details on how to migrate resources, see 10.9.1 Executing migration command of resource adapters in the uCosminexus Application Server Maintenance and Migration Guide.
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.