Java Post-Installation Actions

Define post-installation actions for your fleet, which are executed automatically after successful installation of the Java runtime. You can customize the security, networking, and logging configurations of the Java runtime.

Follow these steps to define or modify the post-installation actions:

  1. From the fleet details panel, select More actions > Configure Java runtime lifecycle management settings > Java post-installation actions.
  2. Configure the required Post-Java installation actions. Click + another action to add more than one option.

    The following actions are available:

    Table 3-2 Java Post-Installation Actions

    Configuration Actions Description Options Available
    Security configuration

    Change minimum key length for EC

    This action will change the minimum key length for EC algorithm in the Java security configuration.

    Select the key size:

    256

    Change minimum key length for DSA

    This action will change the minimum key length for DSA algorithm in the Java security configuration.

    Select the key size:

    2048

    Change minimum key length for Diffie-Hellman

    This action will change the minimum key length for Diffie-Hellman algorithm in the Java security configuration.

    Select the key size:

    2048

    Change minimum key length for RSA signed jars

    This action will change the minimum key length for RSA signed JARs in the Java security configuration.

    Select the key size:

    2048

    Replace JDK root certificates with default operating system certificates.
    Note

    This action is supported only on Linux. cacerts provided by the Operating System must be installed and available for this action to succeed.

    This action will replace the root certificates in the cacerts keystore of JDK with those provided by default in the operating system.

    None

    Network configuration

    Default to System Proxy settings when they do exist

    This action will enable the agent to set java.net.useSystemProxies=true in the net.properties file.

    None

    Set HTTP Proxy

    This action will enable the agent to set the HTTP proxy parameters in the net.properties file. Enter the values:

    Host

    Port. Default is 80

    Set HTTPS Proxy

    This action will enable the agent to set the HTTPS proxy parameters in the net.properties file. Enter the values:

    Host

    Port. Default is 80

    Set FTP Proxy

    This action will enable the agent to set the FTP proxy parameters in the net.properties file. Enter the values:

    Host

    Port. Default is 80

    Set Socks Proxy

    This action will enable the agent to set the socks proxy parameters in the net.properties file. Enter the values:

    Host

    Port. Default is 80

    Logging configuration

    Add FileHandler to Log Handler classes

    This action will enable the agent to set file handler parameters in the logging.preperties file.

    None

    Change global logging level

    This action will enable the agent to change the global logging level according to the value selected.
    Select a value:
    • ALL
    • SEVERE (highest value)
    • WARNING
    • INFO
    • CONFIG
    • FINE
    • FINER
    • FINEST (lowest value)
    • OFF

    Default is ALL.

  3. Click Save.
The selected actions are updated in the Include action(s) panel of the Lifecycle management settings tab.