Part 1: Setting Java Virtual Machine parameters on IBM i

WebSphere® Application Server Java™ Virtual Machine (JVM) properties are required to point to your directories and files. These parameters are automatically set up using a provided script.

To set the JVM parameters, complete the following steps:
  1. Log on to IBM® i, and enter the QSH command.
  2. To start the server, navigate to the directory containing the WebSphere Application Server commands and executable files. For example: cd /QIBM/UserData/WebSphere/AppServer/V61/Base/profiles/<yourWASInstanceName>/bin.
  3. Start the server using the ./startServer command. When the server has started, the system will provide a port number that you can use to access the WebSphere Application Server Integrated Solutions console. For example:
    CPC1221: Job 107206/QEJBSVR/SERVER1 submitted to job queue QWASJOBQ in
    		library QWAS61.
    CWNATV00I: Application server server1 in profile default has started and is
    		ready to accept connections on admin port 9060. 
  4. To access the WebSphere Application Server console, replace <yourWASAdminPortNumber> with the port number the system provided in the following URL: http://<yourServerHostName>:<yourWASAdminPortNumber>/ibm/console.
    Note: Both the <yourServerHostName> and <yourWASAdminPortNumber> variables must be replaced with the name that you chose to assign to your server and your port.
  5. Log on to the WebSphere Application Server Integrated Solutions console. A user ID is not needed because security is not set.
  6. Expand Environment, select WebSphere Variables, and click the right arrow to go to Page: 2 of 2.
  7. From the list of names, copy the information from the Value fields for the following variable names and paste to a text editor file: USER_INSTALL_ROOT, WAS_CELL_NAME, and WAS_SERVER_NAME.
  8. Add /bin to the directory path value you pasted for USER_INSTALL_ROOT. For example: /QIBM/UserData/WebSphere/AppServer/V61/Base/profiles/<yourWASInstanceName>/bin.
  9. Navigate to the script directory script_py where your Jazz™ Team Server is installed on IBM i:

    cd /<JazzInstallDirectory>/jazz/server/script_py.

  10. Modify the RTCi_JVM.qsh with the USER_INSTALL_ROOT value you pasted and modified in a previous step.
  11. In the qsh command line, invoke the script to populate the JVM custom properties using the following command: ./RTCi_JVM.qsh.

    The WebSphere Application Server will prompt you for your WAS_CELL_NAME and WAS_SERVER_NAME.

  12. When you are prompted to indicate a Maximum Heap Size, it is recommended that you select 768 MB; however, you can also choose to set the value to match your available IBM i memory, instead .

Feedback