AnsweredAssumed Answered

Config JVM arguments

Question asked by SES_HBS on Feb 9, 2016
Latest reply on Jan 11, 2018 by ThiBorges

Hi

 

We are doing a PoC on New Relic (APM tool) integration with CA API Gateway (Layer 7) server. As part of it, we need to modify the JVM arguments to include the New Relic agent jar file.

 

The following changes are done:

 

appliancedefs.sh file:

#NODE_OPTS="$NODE_OPTS -javaagent:/home/newrelic/newrelic/newrelic.jar"

 

Server reboot failed with below error messages:

2016-02-10T11:58:22.000-0600 WARNING 1 com.l7tech.server.processcontroller.p: default exited with status 0

2016-02-10T11:58:22.003-0600 WARNING 1 com.l7tech.server.processcontroller.ProcessController: default crashed on startup with exit code 0

2016-02-10T11:58:22.004-0600 WARNING 1 com.l7tech.server.processcontroller.ProcessController: default crashed on startup; copying its output:

2016-02-10T11:58:30.346-0600 INFO    17 com.l7tech.server.processcontroller.monitoring.sampling.l: Node state temporarily unavailable (returning last known state, WONT_START)

2016-02-10T11:58:40.347-0600 INFO    14 com.l7tech.server.processcontroller.monitoring.sampling.l: Node state temporarily unavailable (returning last known state, WONT_START)

2016-02-10T11:58:40.418-0600 INFO    15 com.l7tech.server.processcontroller.ProcessController: Getting API port from /opt/SecureSpan/Gateway/node/default/var/processControllerPort

2016-02-10T11:58:50.348-0600 INFO    14 com.l7tech.server.processcontroller.monitoring.sampling.l: Node state temporarily unavailable (returning last known state, WONT_START)

2016-02-10T11:59:00.349-0600 INFO    19 com.l7tech.server.processcontroller.monitoring.sampling.l: Node state temporarily unavailable (returning last known state, WONT_START)

2016-02-10T11:59:10.350-0600 INFO    17 com.l7tech.server.processcontroller.monitoring.sampling.l: Node state temporarily unavailable (returning last known state, WONT_START)

2016-02-10T11:59:10.443-0600 INFO    16 com.l7tech.server.processcontroller.ProcessController: Getting API port from /opt/SecureSpan/Gateway/node/default/var/processControllerPort

###########################################################################################

 

Can you please help me to configure the JVM arguments?

 

Thanks.

Outcomes