CABI Reports showing incorrect "Reporting Period" one hour Off
search cancel

CABI Reports showing incorrect "Reporting Period" one hour Off

book

Article ID: 242257

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

When choosing the "previous week" or "Previous Month", the report displays 1 hour more:




In this case, it was expected the report interval to be from March 27 12:00 am to April 3 12:00 am.

The right timezone was also set correct for his region when user logged on CABI:

The CABI O.S timezone/clocks are also correctly configured.

Environment

Release : 21.2
CABI: 7.1.1

Component : Jaspersoft for CA Spectrum

Resolution

Execute the following procedure on CABI machine:

---------------------

1. Stop the cabi tomcat service:  

stopServers.sh tomcat;

2. Edit the <cabi_home>/apache-tomcat/bin/setenv.sh file:
    
Add -Duser.timezone=GMT+3 parameter to the JAVA_OPTS:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=gqFTNr8mqbWFmyTR/FMqyQ==

3. Start cabi tomcat service:

startServers.sh tomcat

4. Run the reports.

---------------------

Attachments