Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Release Notes

- Previous: Configuring Oracle
- Next: Web Servers

### Configuring PointBase

Many sample applications use the PointBase database server included with the Application Server. When using Application Server Enterprise Edition, you must configure the PointBase database server before using it. Before using PointBase with the Application Server, however, note the supported configuration combination.

Table 1–5 Supported J2SE/PointBase Combinations

Application Server | PointBase
--- | ---
Supported
J2SE 1.4 J2SE 5.0 | J2SE 1.4 J2SE 1.4
Unsupported
J2SE 5.0 | J2SE 5.0

There are two ways to configure PointBase:

- Set the `JAVA_HOME` environment variable to the location of the J2SE. The PointBase implementation bundled with Application Server 8.2 is only supported with J2SE 1.4.2.

- Edit the Application Server`\qs PointBase` configuration file.

  Using the first method:

#### To configure PointBase by setting `JAVA_HOME`

1. Make sure you have the J2SE installed that you want to use.

   Download J2SE 1.4.2 if you do not already have it.

2. Using the command appropriate for your operating system and shell, set the `JAVA_HOME` environment variable to the directory in which J2SE is installed; for example:

       % setenv JAVA_HOME "/opt/SUNWappserver/jdk"

   To use the second method, the procedure depends on the operating system.

#### Solaris and Linux

Edit the install_dir`/pointbase/tools/serveroption/pbenv.conf` configuration file, changing the line:

    PB_JAVA=%%%PB_JAVA%%%

to

    PB_JAVA=J2SE_location

where J2SE_location is the directory where the J2SE is installed. If you installed J2SE with Application Server, it is installed by default to install_dir`/jdk`. After making this change, you can start PointBase using the `startserver` script.

#### Windows

Edit the install_dir`\\pointbase\\tools\\serveroption\\pbenv.bat` configuration file, changing the line:

    set PB_JAVA=%%%PB_JAVA%%%

to

    set PB_JAVA=J2SE_location

where J2SE_location is the directory in which the J2SE is installed. If you installed J2SE with Application Server, it is installed by default to install_dir`\\j2se1.4`. After making this change, you can start PointBase by running `startserver.bat`.

- Previous: Configuring Oracle
- Next: Web Servers

- © 2010, Oracle Corporation and/or its affiliates