Preparing the Environment for the JDBC Driver

How to:

The following components are needed to use the JDBC adapter for Jethro:

Procedure: How to Configure the Java CLASSPATH

The location of the Jethro JDBC Driver must be specified to the server. If you are running the server on the same system as a Drillbit, you can specify its location. If you are running the server on another system, copy the files listed below to some location on your system and specify their location.

This can be done in the system CLASSPATH or in the DataMigrator or WebFOCUS Reporting Server IBI_CLASSPATH variable as follows:

  1. From the Web Console menu bar, click Workspace

    or

    From the Data Management Console, expand the Workspace folder.

  2. Expand the Java Services folder. Right-click DEFAULT and click Properties.

    The Java Services Configuration page opens.

  3. Click the chevrons to expand Class Path.

    In the IBI_CLASSPATH box, enter the full location of the jar file. For example:

    /opt/jethro/current/JethroDataJDBC.jar
    /opt/jethro/current/protobuf-java-2.4.1.jar

    Note: The file names must be entered one per line.

    If you are installing the adapter on a different system than where you have Apache Phoenix installed, copy the jar file to a location on that system.

    Note: For a server running on Windows, use Windows syntax for directory names. For example:
    C:\jethro\JethroDataJDBC.jar
    C:\jethro\protobuf-java-2.4.1.jar
    
  4. Scroll down and click the Save and Restart Java Services button.

WebFOCUS

Feedback