Communicator e3000 MPE/iX Release 6.0 Express 1 (C.60.01) (30216-90286)
36 Chapter3
Technical Articles
HP Driver for JDBC
Extracting the HP Driver for JDBC Class Files The HP Driver for JDBC class files
must be installed in your Java class path so that the Java compiler and the Java class
loader can find them.
Example on the Win32 Platform
CLASSPATH=C:\JDK1.1.4\LIB;.
You would then install the HP Driver for JDBC class files in the directory:
C:\JDK1.1.4\LIB\
Example on HP 3000
CLASSPATH=/usr/local/java/latest/lib:.
In order to use the HP Driver for JDBC client on the MPE/iX system, you need to have the JAVA/iX
installed. JAVA/iX is shipped with MPE/iX starting in Release 6.0.
The following sub-directories for the Driver class files should be automatically created:
com/hp/jdbc/allbase
com/hp/jdbc/allbase/samples
Configuring HP JDBC Server
The HP JDBC Server components behave the same on both the HP-UX and MPE/iX
platforms. Thus both the configuration file and log file are the same (except for filenames).
The following example shows the standard HP JDBC default server configuration file,
servcfg. This is a text file that resides on the server host in the same directory as the HP
JDBC Server executable files and can be used to alter some of the server’s behavior.
LOGFILE /opt/allbase/jdbc/logs/servlog
TIMEOUT 7200
#LOGGING ERROR
#LOGGING CONNECTION
#LOGGING INFO
#LOGGING WARNING
#LOGGING FATAL
#LOGGING IN
#LOGGING OUT
#LOGGING INHEX
#LOGGING OUTHEX
#LOGGING DEBUG
#LOGGING TIMESTAMP
LOGGING NONE
# If LOGGING NONE is not commented out, it must be the
# last line for it to have the desired effect.
The first configuration option LOGFILE refers to the path and filename for the HP JDBC
Server log file. On HP-UX this is normally set to /opt/allbase/jdbc/logs/servlog. On
MPE/iX this is normally set to SERVLOG.JDBC.SYS.
The second configuration option TIMEOUT specifies the number of seconds that the HP
JDBC Server can remain idle before terminating.