How to set a Java system property on the Spotfire Node Manager Java process

How to set a Java system property on the Spotfire Node Manager Java process

book

Article ID: KB0070598

calendar_today

Updated On:

Products Versions
Spotfire Server All

Description

The Java system properties are key-value pairs that provide information about the environment in which the Java Virtual Machine (JVM) is running. The below article outlines the steps to set a Java system property on the node manager Java process.

Environment

All

Resolution

Here are the Steps
  1. Navigate to the directory tsnm\<version>\nm\ directory.
  2. Open the winsw.xml for Editing:
  3. Then add the required system property in the <services> section in the winsw.xml file
  4. Save the winsw.xml File.
For eg:-

In the below example the Java system property -Dspotfire.ocsp.use-local-proxy is set to false. It is related to the OCSP (Online Certificate Status Protocol) and suggests that a local proxy for OCSP should not be used.
 
<service>
  ...
  <env name="JAVA_OPTS" value="-Dspotfire.ocsp.use-local-proxy=false"/>
</service>

 

Issue/Introduction

This article describes the steps to set a Java system property on the Node Manager Java process

Additional Information

External: Oracle Java System Properties: