HPlogo HP Driver for JDBC User's Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 Installation

Configuring HP JDBC Server

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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/servlogTIMEOUT 7200#LOGGING ERROR#LOGGING CONNECTION#LOGGING INFO#LOGGING WARNING#LOGGING FATAL#LOGGING IN#LOGGING OUT#LOGGING INHEX#LOGGING OUTHEX#LOGGING DEBUG#LOGGING TIMESTAMPLOGGING 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.

The next set of lines are the LOGGING levels used to determine the type of information to be logged to the server log file. The meanings of the various logging levels are discussed in the Troubleshooting Section, under "Server Logging" of the HP Driver for JDBC User's Manual.

The server configuration file is read in anew each time a new server process is started. Thus once the file is edited and saved, the changes will take place beginning with the next server process.

If logging is turned on in this file, it will be in effect for all subsequent server processes.

For a complete listings of JDBC Server log file, please refer to Appendix C “HP JDBC Server”

Feedback to webmaster