Jump to content
We've recently updated our Privacy Statement, available here ×

Timezone-related changes are not reflected in a jasperreport image running in an openshift environment


selcuk9220

Recommended Posts

By default, sequential file names by timestamp and timestamp pattern changes are not reflected on the "new schedule" screen.

Jasper report docker bitnami image : 7.5.0-debian-10-r43

https://knowledge.broadcom.com/external/article/214320/jasperserver-scheduled-reports-default.html

I'm throwing the operations specified in the link below into the container by providing operations in the Dockerfile and app-entrypoint.sh file.

app-entrypoind.sh file
cp /jobModel.js /opt/bitnami/jasperreports/optimized-scripts/scheduler/model/jobModel.js 
OR
cp /jobModel.js /opt/bitnami/jasperreports/scripts/scheduler/model/jobModel.js
AND
export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=Europa/Istanbul"
DockerFile
ADD ./jobModel.js /jobModel.js
OR 
COPY jobModel.js /opt/bitnami/jasperreports/optimized-scripts/scheduler/model/jobModel.js

After changing the relevant files, I am experimenting as follows. But after the container starts, the related files and the changes in it are reflected, but when the jasperreport stands up, I see that the change is not reflected. How can I overcome this situation? I couldn't find the solution.

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...