Sun Java System Portal Server 7.2 Installation and Configuration Guide

Miscellaneous Checks

  1. If the system on which you installed Portal Server does not have direct connectivity to the internet, an HTTP proxy needs to be specified. For example, for Application Server 9.1, specify the following in the domain.xml file:

    <jvm-options>-Dhttp.proxyHost=proxy-host</jvm-options>
    <jvm-options>-Dhttp.proxyPort=proxy-port</jvm-options>
    <jvm-options>-Dhttp.nonProxyHosts="portalserver-host"</jvm-options>

    Where, proxy-host is the fully qualified domain name of the proxy host, proxy-port is the port on which the proxy is run, and portalserver-host is the fully qualified domain name of the Portal Server software host.

  2. Execute the command prtconf | grep Memory to check RAM.

  3. For Linux, you can check the memory and swap size form the meminfo file. Use the vi /proc/meminfo command to view the meminfo file.

  4. Use the command swap -l to see how much swap space your machine has. To temporarily increase your swap space by 4 Gbytes, you can use the following instructions:

     mkfile 4g /swap-filename
     swap -a /swap-filename
    

    where swap-filename is an empty file to be used as a swap area.

  5. To increase the swap size on Linux, use the following instructions:

    1. Create a swap file by using the mkswap /directory-name/swap-filename command.


      Note –

      You can create the swap file on any directory, where the disk space is available.


    2. Mention the swap file name where you need to increase the swap size by using the swapon /directory-name/swap-filename command.

    3. Increase the swap size by using the /directory-name/dd if=/dev/zero of=/directory-name/swap-filename bs=1024 count=x command.

      where x is a variable that depends on the amount of swap you need to increase. The variable can be in the multiples of blocksize (bs), which is 1024.

    4. Remove the swap file by using the rm —rf /directory-name/swap-filename, since the swap file consumes huge disk space.

    5. The amconfig script and other configure later utilities, require the JDK to be installed and linked to /usr/jdk/entsys-j2se. This looks like the following:

      lrwxrwxrwx 1 root root 27 Jan 17 09:28 entsys-j2se -> /usr/jdk/instances/jdk1.5.0