Nonstop Database, HiRDB Version 9 System Operation Guide
The figure below shows the procedure for setting up an environment for using Java stored procedures and Java stored functions. The explanation here assumes that the environment setup for the Java Virtual Machine and JDBC Driver has been completed.
When the environment setup explained here is completed, Java stored procedures and Java stored functions can be created and executed; for details on the creation and execution procedures, see the HiRDB Version 9 UAP Development Guide.
Figure 17-5 Environment setup procedure for use of Java stored procedures and Java stored functions
#: This step is applicable to the HP-UX, Solaris, and AIX editions only; it is not required for the Linux edition. This step is also not required if the POSIX Library version is already being used.
Create a directory for storing the JAR files. The name of the directory created here will be specified in the pd_java_archive_directory operand in step (3).
pdstop |
If you use the system reconfiguration command (pdchgconf command), you do not need to restart HiRDB normally, because this command enables you to modify HiRDB system definitions while HiRDB is running. Note that HiRDB Advanced High Availability must be installed in order to use this command. For details about modifying HiRDB system definitions while HiRDB is running, see 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).
Specify the following Java-related operands in the HiRDB system definition:
To use a Java stored procedure or Java stored function, the POSIX library version must be used. To use the POSIX library version, specify the -l option in the pdsetup command that is executed at the time of environment setup for HiRDB. The -l option should be specified in the pdsetup command at the time a new HiRDB is installed.
If HiRDB is already running but the POSIX library version is not being used, apply the procedure described below to change HiRDB to the POSIX library version.
pdstart |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.