IBM Support

IBM Java for AIX HowTo: Configure environment variables and command line options for Java based application servers

Question & Answer


Question

IBM Java for AIX HowTo: Configure environment variables and command line options for Java based application servers

Answer

This document provides information on how to set AIX (process) environment variables and Java command line options for commonly used Java-based application servers which use the IBM Java for AIX. Once the changes have been implemented, the application servers must be restarted for the changes to take effect.

Jump to section: (IBM WebSphere) (IBM WebSphere Liberty Profile) (Oracle WebLogic(WLS)) (Sterling B2B Integrator) (JBoss Application Server) (Tomcat Application Server)

Click here for additional IBM Java for AIX technical and diagnostic articles
Overview
Step-by-Step Instructions


I

IBM WebSphere
Liberty Profile

Oracle WebLogic (WLS)

Questions regarding the content in the web pages referenced in this section must be submitted to Oracle support.


a. Administration Console

  • Environment variables :

http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/startstop/SetJavaOptionsForServersStartedByNodeManager.html

  • Java Command line options :

https://blogs.oracle.com/imc/entry/weblogic_server_performance_and_tuning



b. Configuration File and Command Line

  • Environment variables :

http://docs.oracle.com/cd/E23943_01/web.1111/e13749/weblogicserver.htm#ADMRF206

The environment variables for a specific domain can be configured by using setDomainEnv.sh file in the bin directory of that domain. The environment variables for the application server can be set in startWebLogic.sh script.

  • Java command line options :
https://docs.oracle.com/cd/E13155_01/wlp/docs103/quickstart/memory.html#wp1077157

The command line options can be set using the USER_MEM_ARGS and/or JAVA_OPTIONS variables in the startWebLogic.sh script.

Sterling B2B Integrator


a. Administration Console

  • Java command line options :

Sterling Performance Tuning Utility is used to add Java command line options to the JVM_ARGS_SUFFIX parameter.

b. Configuration File and Command Line
  • Environment variables

Environment variables should be added to the file B2B_install_dir/properties/sandbox.cfg.

JBoss Application Server

Questions regarding the content in the web pages referenced in this section must be submitted to JBoss support or the JBoss open community.


a. Configuration File and Command Line

  • Environment variables
https://developer.jboss.org/wiki/JBossRunParameters

Environment variables should be appended to the JBOSS_HOME/bin/run.conf file.
  • Java command line options

Java command line options should be appended to the JAVA_OPTS variable in the JBOSS_HOME/bin/run.conf file.

Tomcat Application Server

Questions regarding the content in the web pages referenced in this section must be submitted to the Apache Tomcat open community.


a. Configuration File and Command Line

  • Environment variables
https://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt

Environment variables should be appended to the end of the the CATALINA_HOME/bin/setenv.sh file.
  • Java command line options

https://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt

Java command line options should be appended to the JAVA_OPTS variable in the CATALINA_HOME/bin/setenv.sh file.

Step 7:

ACTION

Step 8:

ACTION

Step 9:

ACTION

Step 10:

ACTION

Step 11:

ACTION

Step 12:

ACTION

Step 13:

ACTION

Step 14:

ACTION

Step 15:

ACTION

Step 16:

ACTION

Step 17:

ACTION

Step 18:

ACTION

Step 19:

ACTION

Step 20:

ACTION

Step 21:

ACTION

Document Type: Instruction
Content Type: Howto
Hardware: all Power
Operating System: all AIX Versions
IBM Java: all Java Versions
Author(s): Vidya Makineedi
Reviewer(s): Roger Leuckie

[{"Product":{"code":"SG9NGS","label":"IBM Java"},"Business Unit":{"code":null,"label":null},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1022849