
Installing the Oracle JDBC driver
To integrate the Avaya IR system with an Oracle database, you must install the JDBC driver for Oracle. Oracle provides JDBC drivers with the Oracle software package. Or, you can download JDBC drivers from the Oracle website.
To obtain the JDBC driver for Oracle:
- To locate the driver on the system where Oracle is installed, or with the Oracle software, search the Oracle product documentation for JDBC driver information and file location.
- To download the driver from the Internet site:
- You can go to the Oracle home page and search the Product area for JDBC drivers, or you can go directly to http://otn.oracle.com/software/tech/java/sqlj_jdbc/index.html.
- Select the Oracle release number that most closely matches the one you have.
- When the license information page is displayed, click I Accept.
- Select the appropriate Thin driver package that matches your Oracle release and JDK 1.3. The driver should be in the form of a .zip file. You do not need the DLL files or the OCI driver package.
- Transfer the .zip file (using the
ftp
command or some other method) to the /tmp directory on the Avaya IR system. - Log on to the Avaya IR system as root.
- Enter
cd /tmp
to go to the directory that contains the .zip file. - Enter
cp
filename
.zip /vs/java/jdbc/lib/oracle.jar
to copy the .zip file to /vs/java/jdbc/lib directory of the Avaya IR system and to rename it as oracle.jar. - Enter
ls /vs/java/jdbc/lib
to display the contents of the java directory and to verify that the oracle.jar file was successfully copied and correctly renamed.
To administer the Oracle DIP:
- Enter
/etc/init.d/tomcat stop
The system displays messages indicating that the Tomcat engine is stopped.
- Enter
/etc/init.d/tomcat start
The system displays messages indicating that the Tomcat engine is started.
- Use a browser to access Avaya IR Web Administration and view the JDBC Administration - Main screen.
- Click the Dipid of the data interface process (DIP) you want to administer.
The JDBC Administration - Edit screen for the selected DIP is displayed.
- Select
Oracle
as the database type. - Complete the remaining fields to specify the database for your system. Click the Help link to see individual field descriptions.
- Select Test, and change settings if necessary.
- Select Save.
- Click Main to view the JDBC Administration - Main screen.
- Click the option button associated with the new DIPID.
- Click Start to make the connection between the Avaya IR system and the Oracle database.