Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At this point you are ready to add those files to the Geronimo repository, to do that you have two alternatives. You can either use any graphical or command line tool to copy the files and create the necessary directories or you use the Geronimo Administration Console and add the driver and licenses to the common libraries. Next we will cover both alternatives.

Using command line

You will need to create the following directory structures under the <geronimo_home>\repository directory and copy the appropriate files to the respective directories.

  • com/ibm/db2/db2jcc/8.1.8
    and copy the db2jcc-8.1.8.jar into that directory.
  • com/ibm/db2/db2jcc_license_cisuz/8.1.8
    and copy the db2jcc_license_cisuz-8.1.8.jar into that directory.
  • com/ibm/db2/db2jcc_license_cu/8.1.8
    and copy the db2jcc_license_cisuz-8.1.8.jar into that directory.

Using the Geronimo Administration Console

In order to use the console Apache Geronimo must be running. Access the Geronimo Administration Console by pointing your browser to the following URL:

http://localhost:8080/consoleImage Added

  • Enter the system as the user and manager as the password and click Login.
  • Click on Common Libs to access the Repository viewer portlet.
  • Click on Browse and select the first file to install. In this case we will first install db2jcc-8.1.8.jar.
  • A set of values will be proposed by default, set the Group: to com.ibm.db2, leave the rest by default and click Install.
  • Repeat the previous two steps for db2jcc_license_cisuz-8.1.8.jar and db2jcc_license_cisuz-8.1.8.jar

With the drivers and license files installed you can now create a new database connection pool.