The JDBC
driver for Oracle is provided by the database vendor. If the JDBC driver for your
database is not already installed, obtain the appropriate driver from the vendor Web
site.
For the Oracle JDBC driver, go to the Oracle download page for JDBC
drivers. Scroll down to Drivers, and click JDBC
Drivers.
- Install the JDBC driver on the host machine on which
Replication Agent resides.
- Add the location of the JDBC driver to the CLASSPATH environment variable.
-
On UNIX:
Add the following to the .login file
of the user account that is used to start and stop the Replication
Agent instance:
setenv CLASSPATH /path_name/driver:$CLASSPATH
Log out and log back in for this change to take effect,
or issue source .login after the
change.
-
On Microsoft Windows:
Select ,
and add the following to the existing CLASSPATH environment variable, using
the semicolon (;) as the path separator, or create the path in the User
Variables pane:
drive:\path_name\driver
Click .
- On the Oracle host machine, the Oracle primary
server must be running the Transparent Network Substrate (TNS) Listener
Service. See the Oracle networking document for more information
about TNS.