After agent upgrade, agent will not start
search cancel

After agent upgrade, agent will not start

book

Article ID: 423500

calendar_today

Updated On:

Products

Workload Automation Agent ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - System Agent (dSeries)

Issue/Introduction

Upgraded an agent, could not get the agent to start.

Environment

Workload Automation Agent 24.1

Cause

It appears that the agent failed to start due to the JVM option '-XX:+UseGetTimeOfDay' in the agentparm.txt file. This parameter is deprecated and has been removed in newer versions of Java.

oscomponent.jvm.x.options=-XX:+UseGetTimeOfDay;-Xms256m;-Xmx512m

The nohup.stderr shows:

Unrecognized VM option 'UseGetTimeOfDay'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Resolution

Update the agentparm.txt file by removing '-XX:+UseGetTimeOfDay' and then restart the agent.
 
For example: Change the configuration as follows:
 
from:
 
oscomponent.jvm.x.options=-XX:+UseGetTimeOfDay;-Xms256m;-Xmx512m

to 

oscomponent.jvm.x.options=-Xms256m;-Xmx512m