7.13 Configuring Reports Managed Server

By default, the Oracle Reports application is deployed on a Managed Server.

You can modify the start-up properties of a Reports Managed Server through the setStartupEnv.sh.sh file or the WebLogic Server Administration Console. However, some properties like -Xmx and -Xms, which are already defined in the setStartupEnv.sh (Unix) setStartupEnv.bat(windows) file would take precedence and the changes made through the WebLogic Server Administration Console do not take effect. Also, the start-up properties of WLS_REPORTS that are modified using the WebLogic Server Administration Console do not take effect when WLS_REPORTS is started using startManagedServer.sh. Hence it is recommended that you use setStartupEnv.sh (for UNIX) or setStartupEnv.bat (for Windows) to modify the start-up properties for Managed Servers.

You can modify the system or runtime properties for a Managed Server using the setStartupEnv.sh (for UNIX) or setStartupEnv.bat (for Windows) which is located in $DOMAIN_HOME/bin.

You can modify the runtime properties using the SERVER_MEM_ARGS_64 variable inside the [ if ["${STARTUP_GROUP}" = "REPORTS-APP-SERVERS"] block.

You must add any new environment variable for WLS_REPORTS Managed Server inside the [ if ["${STARTUP_GROUP}" = "REPORTS-APP-SERVERS"] block in the SetDomainEnv.sh script.

As the default setting is done for all components that use setDomainEnv.sh, the -Xmx and -Xms settings are added multiple times to the command line of a Managed Server. Hence you must add the -Xmx and -Xms settings at the end of EXTRA_JAVA_PROPERTIES variable in the [ if["${STARTUP_GROUP}" = "REPORTS-APP-SERVERS"] block.

For example, consider the following snippet:

if [ "${START_GROUP}" = "REPORTS-APP-SERVERS" ] ; then     EXTRA_JAVA_PROPERTIES="-Xms256m Xmx512m ... -Doracle.home=/fmwhome/as1 ... ${EXTRA_JAVA_PROPERTIES}"

If you want to add the -Djobid=random property and change the -Xmx and -Xms settings for WLS_REPORTS to 512m and 1024m, you must modify the snippet as follows:

if [ "${START_GROUP}" = "REPORTS-APP-SERVERS" ] ; then     SERVER_MEM_ARGS_64=" -Doracle.home=/fmwhome/as1 ... ${EXTRA_JAVA_PROPERTIES} -Xms512m -Xmx1024m -Djobid=random"

Note:

WLS_REPORTS is the name of the Managed Server where the Reports application is deployed during installation.