

- #DB2 UNIVERSAL DATABASE FOR ISERIES ADMINISTRATION HOW TO#
- #DB2 UNIVERSAL DATABASE FOR ISERIES ADMINISTRATION INSTALL#
In this case, you can install db2jcc-9.5.jar first. Click Browse and select the first file to install.Enter system as the user name and manager as the password and click Login.Access the Geronimo Administration Console by pointing your browser to the following URL: To use the administration console, Apache Geronimo must be running. Using the Geronimo Administration Console Using command lineĬreate the following directory structures under the \repository directory and copy the appropriate files to the respective directories.Īnd copy the db2jcc-9.5.jar file into that directory.Īnd copy the db2jcc_license_cisuz-9.5.jar file into that directory. You can either use any graphical or command line tool to copy the files and create the necessary directories, or use the Geronimo Administration Console and add the driver and licenses to the common libraries. This means that for this particular case, DB2 v9.5 is used.Īt this point, you are ready to add those files to the Geronimo repository in two ways. In this case, you will not use db2jcc_license_cisuz.jar because it is for Z/OS and iSeries. To use these files in Geronimo, rename (copy and rename) the files according to the following table. For additional information about the DB2 JDBC drivers and licenses, visit the DB2 Information Center available at the following URL: These files are available in the \java directory. db2jcc_license_cisuz.jar - This is the DB2 (DB2 ESE and DB2 Connect) JDBC Driver license for z/OS and iSeries that should be used in addition to the standard license for these servers.db2jcc_license_cu.jar - This is the standard DB2 Universal JDBC driver license file that allows access to the DB2 Universal database for Linux, UNIX and Windows servers.db2jcc.jar - This is the actual DB2 Universal JDBC Driver jar file.You will normally have two or three files to add to the repository. To add the DB2 drivers and license to the Geronimo repository, you are required to place the files in a particular directory structure.

This article provides two alternatives to deploy the connection pool: using the Geronimo Administration Console and using the command line option. The steps described in this article are valid for deploying any other datasource when you do not have the drivers installed on the server, require multiple driver files, or both. Depending on your implementation you will need different license files. They include the JDBC driver itself and the respective license files. In this scenario, you will create a connection pool for a DB2 database, to connect to that database you are required to define at least two driver jar files.
#DB2 UNIVERSAL DATABASE FOR ISERIES ADMINISTRATION HOW TO#
This article shows you how to configure a DB2 datasource in Apache Geronimo.
