Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Release Notes

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.

There are two ways to configure PointBase:

  1. Using the command appropriate for your operating system and shell, set the JAVA_HOME environment variable to the directory where J2SE is installed. For example: % setenv JAVA_HOME "/opt/SUNWappserver/jdk"

  2. Edit the Application Server's PointBase configuration file as follows:

    1. On Solaris and Linux systems, edit the install_dir/pointbase/tools/serveroption/pbenv.conf configuration file, changing the line:

      PB_JAVA=%%%PB_JAVA%%%

      to

      PB_JAVA=J2SE_location

    1. On Windows systems, edit the install_dir\pointbase\tools\serveroption\pbenv.bat configuration 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.