Jdbc type 2 driver for nonstop sql/mx – HP Integrity NonStop H-Series User Manual

Page 29

Advertising
background image

The setup script guides you through the deployment of NSJSP. For more information
on setup, see the NonStop Servlets for JavaServerPages (NSJSP) 6.0 System
Administrator's Guide
.

Ensure the following settings in NSJSP:
— The

unpackWARs

and

autoDeploy

parameters must be set to

true

in the

<NSJSP

deployment directory>/conf/server.xml

file on your NonStop system.

NOTE:

By default,

unpackWARs

and

autoDeploy

is set to

false

.

— The

<iTP deployment directory>/conf/jdbc.config

file, created during the

setup of NSJSP, must have the following settings:

jdbcMx_LIB_PATH

variable is set to the

<JDBC T2 installation

directory>/lib

directory.

For example, if the JDBC/MX Type 2 driver is installed in the

/usr/tandem/

jdbcMx/current directory

, the

jdbc.config

file must have the following

entry:

set jdbcMx_LIB_PATH /usr/tandem/jdbcMx/current/lib

If the

jdbcMx_LIB_PATH

variable is set to an incorrect location, edit the

jdbc.config

file so that the

jdbcMx_LIB_PATH

variable is set to the

<JDBC

T2 installation directory>/lib

directory.

jdbcMx_JarFile

variable is set to the

<JDBC T2 installation

directory>/lib/jdbcMx.jar

directory.

For example, if the

JAR

file of JDBC/MX Type 2 driver is installed in the

/usr/

tandem/jdbcMx/current directory

, the

jdbc.config

file must have the

following entry:

set jdbcMx_JarFile /usr/tandem/jdbcMx/current/lib/jdbcMx.jar

If the

jdbcMx_JarFile

file has incorrect settings, edit the

jdbc.config

file so

that the

jdbcMx_JarFile

variable points to the

jdbcMx.jar

file.

— To use the Hot Deployment feature, set the Password for NSJSP Manager.

For information on setting the NSJSP Manager password, see the NonStop Servlets for
JavaServerPages (NSJSP) 6.0 System Administrator's Guide
.

JDBC Type 2 Driver for NonStop SQL/MX

If you plan to use the JDBC Type 2 driver, ensure that you have JDBC Type 2 driver version
T1275H50 or later version installed on your system.

If you already have JDBC Type 2 driver installed on your NonStop system, check its version by
following these instructions:

1.

Go to the

<JDBC T2 installation directory>/lib

directory on OSS.

For example:

OSS> cd /usr/tandem/jdbcMx/T1275H50/lib

where,

/usr/tandem/jdbcMx/T1275H50

is the installation directory.

2.

Check the version of the

libjdbcMx.so

object using the

VPROC

utility as follows:

OSS> vproc libjdbcMx.so

/usr/tandem/jdbcMx/T1275H50/lib/libjdbcMx.so
Binder timestamp: 07MAR2008 10:09:04
Version procedure: T1275H50_08MAR2008_JDBCMXAAF_0307
TNS/E Native Mode: runnable file

Prerequisites

29

Advertising
This manual is related to the following products: