Upgraded an agent, could not get the agent to start.
Workload Automation Agent 24.1
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.
to
oscomponent.jvm.x.options=-Xms256m;-Xmx512m