java to start Controller.jar by gateway.sh start
search cancel

java to start Controller.jar by gateway.sh start

book

Article ID: 139289

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When executing gateway.sh start, what java executable is used to start Controller.jar ?

Environment

All supported versions of the API Gateway

Resolution

Here are the steps of how gateway.sh and processcontroller.sh work on startup:

(1) gateway.sh retrieves the value of node.java.path from the file: /opt/SecureSpan/Gateway/node/default/etc/conf/node.properties

(2) the java path value is exported to the environmental variable SSG_JAVA_HOME

(3) eventually, the processcontroller.sh script is executed by the gateway.sh script

(4) if JAVA_HOME has a valid path value, this is used to spawn Controller.jar - otherwise, SSG_JAVA_HOME is used instead.

 

In summation, the node.java.path parameter in the node.properties is used as the Java path on Gateway startup.