Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools > Installing the Siebel Reports Server > Postinstallation Tasks for the Siebel Reports Server >

Setting the JAVA_OPTS Parameter


On AIX and HP-UX, the JAVA_OPTS option is required to be set for Single Sign-On from the Siebel application to the Reports Server to successfully work.

On all UNIX platforms, the JAVA_OPTS parameter is also used to increase the heap size if you run into Out of Memory errors while trying to access any of the Actuate JSP pages.

To set the JAVA_OPTS parameter for AIX and HP-UX

  1. Navigate to the Actuate HTTP Service installation (for example, /export/home/actuate7/activeportal/actuate_http_service/bin) and locate the file setclasspath.sh.
  2. Search for JAVA_OPTS and enter:

    -Djava.library.path=/export/home/actuate7/activeportal/actuate_http_service/bin

To set the JAVA_OPTS parameter for Out of Memory errors for all UNIX platforms

  1. Navigate to the Actuate HTTP Service installation (for example, /export/home/actuate7/activeportal/actuate_http_service/bin) and locate the file setclasspath.sh.
  2. Search for JAVA_OPTS and enter:

    JAVA_OPTS="-Xms Minm -Xmx Maxm"

    where:

    Min and Max = Integer values (in MBs) that specify the minimum and maximum heap size for the Actuate HTTP Service process

CAUTION:  If you specify more than one JAVA_OPTS option, make sure that all the options are set at one place or that they are compounded, using JAVA_OPTS="$JAVA_OPTS current_options". Otherwise, only the latest setting will be in effect, which can cause problems.

The following are examples for setting the JAVA_OPTS parameter for Out of Memory errors:

  • Use this approach if JAVA_OPTS is set in only one file.

    JAVA_OPTS="-Djava.library.path=/export/home/actuate7/activeportal/actuate_http_service/bin -Xms256m -Xmx512m"

  • Use this approach if JAVA_OPTS is set in multiple files (such as catalina.sh and setclasspath.sh). You will use compounding in each file where JAVA_OPTS is set.

    JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx512m"

Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools