HP Integrity NonStop H-Series User Manual
Page 60

\src
includes the customized source for ImageDB.
\war
includes all the necessary configuration files required to build the application WAR file.
2.
Modify the ImageDB build file.
•
If you plan to use the JDBC Type 2 driver, set the
spring.root
property in the
SASH Home>\spring\samples\imagedb\build_jdbct2.xml
file as:
is
C:\spring-framework-2.5.5
, modify
the
spring.root
property to:
If you plan to use the JDBC Type 4 driver:
1.
Set the
spring.root
properties in the
build_jdbct4.xml
file as:
is
C:\spring-framework-2.5.5
, modify
the
spring.root
property to:
Set the
jdbct4.root
properties in the
build_jdbct4.xml
file as:
is
C:\JDBCT4
,
modify the
jdbct4.root
property to:
3.
Configure the JDBC driver for the NonStop SQL/MX database.
1.
Go to the
WEB-INF\
directory on your Windows system.
2.
Modify the
jdbc.properties
file to update the JDBC configuration. You can use
either the JDBC/MX Type 2 driver or the JDBC/MX Type 4 driver. The SQL/MX settings
for each of them is as follows:
•
If you plan to use the JDBC/MX Type 2 driver, uncomment the SQL/MX settings
for the JDBC Type 2 driver in the
jdbc.properties
file, so that the SQL/MX
settings for the JDBC Type 2 driver appear as:
#---------------------------------------------------
-------------------
#common settings
#
imageDatabase.lobHandler=defaultLobHandler
jdbc.blobTableName=imagedbcat.imagedbsch.blobTableName
jdbc.catalog=imagedbcat
jdbc.schema=imagedbsch
#---------------------------------------------------
-------------------------
#SQL/MX Settings for JDBC Type 2 Driver
jdbc.driverClassName=com.tandem.sqlmx.SQLMXDriver
jdbc.url=jdbc:sqlmx://
jdbc.username=
jdbc.password=
60
Installing Spring Framework