SAP Agent log reports in wrong timestamp

Document ID : KB000089724
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
SAP Agent log reports in wrong timestamp
Resolution:
Detailed Description and Symptoms
SAP Agent shows wrong timestamp in logfile, e.g. does not inherit daylight saving time.
e.g. another OS agent on same machine shows correct time while the SAP (or other Java-related) agent is one or two hours behind.

Investigation
we need the log of the influenced agent and an activation report of a job which was started on the agent.

in activation report the time should be shown when it was started on the server, and the log (search after runnumber) will show the jobstart on the agent in the wrong time.

This to ensure this issue happens.

We also need the log of the agentstart, its a Java 1.5 related issue, so we need to know what java version is used by the agent.

Solution
The issue is related to Java Version 1.5 where a known bug does not let the agent inherit the daylight saving time.

The issue has no influence on running tasks, only the messages in logfile are shown with wrong timestamp.

to solve the issue, run the agent on Java Version 1.6, further information regarding the issue please find here:

https://bugs.launchpad.net/ubuntu/+source/sun-java5/+bug/49068

beside that another workaround is available:

add the timezone to the startparameter of the agent e.g.

java -Duser.timezone=Europe/Berlin -jar ucxjr3x.jar

with that it also works with java 1.5