The following steps provide the process of setting up the schema, building the IP, and configuring the OpenAccessSDK810_Java service. The instructions below assume that you are using the OpenAccess SDK Management Console on Windows to manage the OpenAccess SDK installation on a Linux or UNIX machine.
1. Build the IP module using the following commands:
a. cd install_dir
b. Set CLASSPATH to include install_dir/ip/oajava/oasql.jar. This can be done using the installed scripts.
If you are using a C shell:
source ip/cfg/setenv.csh
If you are using a Korn shell:
. ./ip/cfg/setenv.sh
c. Change to the sample directory and compile the Java classes:
usr/> cd install_dir/ip/oajava/example
usr/> javac *.java
2. Run the OpenAccess SDK Management Console on Windows and modify the OpenAccessSDK810_Java service running on UNIX to specify the IP module and schema/example as the schema path. Refer to the OpenAccess SDK Administrator's Guide for information about using the OpenAccess SDK Management Console.
a. Run the OpenAccess SDK Management Console.
b. Expand the OpenAccessSDK810_Java service to the Data Source Settings node:
Select example for the example1, example2, or example3 sample.
Select memory for the memory sample.
c. Select the IP Parameters folder.
d. Modify DataSourceIPSchemaPath to install_dir/ip/schema/example, where example is example1, example3, or memory.
e. Modify the DataSourceIPClass attribute to the class name of the IP: oajava/example/damip, where example is replaced by example1, example3, or memory.
f. Save the settings and restart the OpenAccessSDK810_Java service.
3. From an OpenAccess SDK client, connect to the IP module you have just built:
Use the example data source for example1 or example3. These samples do not require a user name and password.
Use the memory data source to connect to the memory sample. The memory sample requires the user name pooh and the password bear.