SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 60681: Using SAS® Environment Manager to add JVM properties to SAS® Viya™ services

DetailsAboutRate It

Overview

In some cases, you might need to add JVM properties to one or more services in SAS Viya. For example, you might need to add proxy server information to allow SAS Viya to access the Internet when needed. This SAS Note explains how to use SAS Environment Manager to add JVM properties.

Update an existing JVM configuration

  1. Log on to SAS Environment Manager as an Administrator.
  2. From the menu on the left, select Resources ► Configuration.
  3. In the Configuration window, select All services from the drop-down menu, as shown in the following display:


     
  4. Select the service that you want to modify.  
  5. In the main window, scroll until you find the jvm configuration section.
    Note:  If you do not see a jvm configuration section for the service that you selected, then follow the steps in Create a new JVM configuration.
  6. Click the Edit icon  for the jvm configuration section.  
  7. Edit any properties that you need to change, or click Add property to add a new property.
  8. Enter a name and a value for your property.  For example:

    Name:  java_option_http_proxy_host

Note:  All JVM properties must begin with java_option_ .  


Value:  -Dhttp.proxyHost=my.proxyserver.com

  1. Click Save.
  2. Repeat steps 7 through 9 for any additional properties.


     
  3. Save all changes
  4. Restart any SAS Viya service that has new or modified JVM properties.

Create a new JVM configuration

  1. Log on to SAS Environment Manager as an Administrator.
  2. From the menu on the left side, select Resources ► Configuration.
  3. In the Configuration window, select Definitions from the drop-down menu, as shown in the following display:  

  4. Select jvm.
  5. Click the New Configuration icon in the upper right corner.
  6. Select the services that you want to modify.  For example, if you need a proxy server to access geo maps in SAS® Visual Analytics reports, then select the Cross-domain Proxy service.
  7. Click Add property.
  8. Enter a name and a value for your property.  For example:

    Name:  java_option_http_proxy_host
Note:  All JVM properties must begin with java_option_ .  


Value:  -Dhttp.proxyHost=my.proxyserver.com

 

  1. Click Save.
  2. Repeat steps 7 through 9 for any additional properties.  


     
  3. Save all changes.
  4. Restart any SAS Viya service that has new JVM properties.  


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaLinux for x643.2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.