Avaya Logo

Home

Previous Topic

Next Topic

Book Contents

Book Index

Installing the DB2 JDBC driver

The JDBC driver for DB2 is included as part of the DB2 software installed on your database server. To install the driver, you must transfer the driver file from the database server to the Avaya IR system and then decompress the files.

To install the DB2 JDBC driver:

  1. Locate the driver file (db2java.zip) on server on which DB2 is installed.

    For Microsoft Windows installations, the driver file is usually in the directory HD:\Program Files\SQLLIB\java where HD is the hard disk drive containing the DB2 software.

    For Unix installations, enter find . �name db2java.zip �print to locate the file on the DB2 server.

  2. Transfer the file (using the ftp command or by some other method) to the /vs/java/ directory on the Avaya IR system.
  3. If necessary, log in as root.
  4. Enter mv /vs/java/db2java.zip /vs/java/ibmdb2.jar
  5. Enter jar tvf /vs/java/ibmdb2.jar

    The driver software is extracted from the jar file. To enable the driver, you must restart the Apache Tomcat servlet engine.

  6. Enter /etc/init.d/tomcat stop

    The system displays messages indicating that the Tomcat engine is stopped.

  7. Enter /etc/init.d/tomcat start

    The system displays messages indicating that the Tomcat engine is started.

  8. Configure and test the database DIP using the JDBC Administration - Edit screen in Web administration.

See Also

Administering the JDBC database interface

� 2003 Avaya Inc. All Rights Reserved.