Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Local Properties for the Web Application Server (SRC CLI)

    To configure basic local properties:

    1. From configuration mode, access the configuration statement that configures the local properties.
      user@host# edit slot 0 application-server
    2. (Available at the Advanced editing level.) Configure the garbage collection functionality of the Java Virtual Machine.
      [edit slot 0 application-server]user@host# set java-garbage-collection-options java-garbage-collection-options
    3. (Optional. Available at the Advanced editing level.) If you encounter problems caused by lack of memory, change the maximum memory size available to the JRE.
      [edit slot 0 application-server]user@host# set java-heap-size java-heap-size
    4. (Optional) Configure the cluster name. Specify the shared-cluster as /application-server/shared-cluster.
      [edit slot 0 application-server]user@host# set shared-cluster /application-server/shared-cluster

      For example, to configure a shared cluster called cluster-1:

      [edit slot 0 application-server]user@host# set shared-cluster /application-server/cluster-1

      Note: If you change the shared cluster name, you must restart the local application server for the change to take effect.

    5. (Optional. Available at the Advanced editing level.) Configure the time duration that the CORBA request must wait for a response before timing out. By default, the value is set to 125000 milliseconds.
      [edit slot 0 application-server]user@host# set corba-request-timeout corba-request-timeout

      Note: You must ensure that the CORBA request time-out value is greater than the message time-out interval of the configured router driver. You can configure the message time-out interval of the router driver by including the message-timeout option under the [edit shared sae group group-name configuration driver device-driver] hierarchy level.

    6. (Optional) Verify your configuration.
      [edit slot 0 application-server] user@host# show
      corba-request-timeout 125000;
      java-garbage-collection-options ’-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000’;
      java-heap-size 666m;
      shared-cluster /application-server/cluster-1;
      web {
       http {
          interface eth0;
          port 8080;
        }
        virtual-host eth0;
      }

    Modified: 2016-12-29