Manual
NOTE: The subvolume name must only be five characters long.
2. Create a directory in OSS to place the database script files, using the command:
OSS> mkdir –p <NonStop SASH Home>/spring/samples/imagedb/dbconfig
For example:
OSS> mkdir –p /home/sash_usr/sash/spring/samples/imagedb/dbconfig
NOTE: <NonStop SASH Home> can be any working directory. It is suggested that you
create the spring/samples/imagedb/dbconfig directory structure in <NonStop SASH
Home>.
3. Copy the imagedb_tables_script.sql script from the <My SASH Home>\spring\
samples\imagedb\db Windows directory to the <NonStop SASH Home>/spring/
samples/imagedb/dbconfig OSS directory.
NOTE: The imagedb_tables_script.sql script creates the SQL/MX database catalog,
schema, and tables for ImageDB.
4. Go to the OSS directory where the imagedb_tables_script.sql file is copied, using
the OSS command:
OSS> cd <NonStop SASH Home>/spring/samples/imagedb/dbconfig
For example:
OSS> cd /home/sash_usr/sash/spring/samples/imagedb/dbconfig
5. Create the ImageDB database catalog, schema, and tables, using the SQL/MX command:
mxci>> obey imagedb_tables_script.sql;
NOTE: By default, the imagedb_tables_script.sql file creates the database catalog
name as imagedbcat, schema name as imagedbsch, and BLOB table name as
blobTableName. If the database catalog, schema, and BLOB table names conflict with any
of the existing catalog, schema, and BLOB table names, modify the names in the
imagedb_tables_script.sql script file. If you modify the database catalog, schema and
blob table names, the new names must be updated in the jdbc.properties file present
in the <My SASH Home>\spring\samples\imagedb\src directory, included in the
SAMPLES.zip file.
The ImageDB database is set up on your NonStop system.
Deploying ImageDB on NonStop
To deploy ImageDB on your NonStop system, complete the following steps:
1. Go to http://<IP Address of the iTP WebServer>:<port#>/servlet_jsp /manager/html.
The NSJSP Web Application Manager Login screen appears.
Figure 3-5 shows the NSJSP Web Application Manager Login screen.
62 Installing Spring Framework