Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-06-13 09:31:05

pmace
Member
Registered: 2016-10-07

Scheduled birt report is blocked sometimes in "In execution" state

Hi,

we are using reportserver with a postgreSQL database to generate BIRT template.
Sometimes, a scheduled report template is blocked in a "In execution" state, and required tomcat7 restart to unblock this state, and after this restart the report is generated correctly.
For the same report template, this behaviour happened randomly, the report generation is scheduled to be done daily.

How could we find the root cause for this ? Might it be a lack of memory ressources ?

Thanks for your help.

Br,
Pierre

Offline

#2 2018-06-13 09:55:03

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Scheduled birt report is blocked sometimes in "In execution" state

Hi Pierre,

which reportserver version exactly do you use? (rsversion.properties)

Can you check if you have any exceptions in your tomcat logs at the time of this problem ?

Regards,
Eduardo

Offline

#3 2018-06-13 10:11:10

pmace
Member
Registered: 2016-10-07

Re: Scheduled birt report is blocked sometimes in "In execution" state

Hi Eduardo,

thanks for your reply.
We are using version RS3.0.2-5855 of reportserver.

About logs, would it be in catalina.out log file that i should look for exceptions ?

Br,
Pierre

Offline

#4 2018-06-13 10:52:56

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Scheduled birt report is blocked sometimes in "In execution" state

Hi Pierre,

it depends on your configuration. Generally, yes, catalina.out, but check your other logs as well. If you know more or less the time when the report was blocked, you can find the error in the logs if it exists.

Maybe, as you said, you have a memory issue. We corrected a memory leak in 3.0.3 ( https://reportserver.net/releasenotes/RS3.0.3.html  RS-2619). To make sure you have this issue, you should find the error stack in the logs.
Anyhow, we would recommend to upgrade to 3.0.3, as we corrected many bugs/issues, as you can see in the release notes. The upgrade is very easy: https://reportserver.net/en/tutorials/upgrade-303/
In most of the cases you only have to replace the binaries.

Regards,
Eduardo

Offline

#5 2018-06-13 11:33:40

pmace
Member
Registered: 2016-10-07

Re: Scheduled birt report is blocked sometimes in "In execution" state

Eduardo,

thanks again, we will consider the upgrade of reportServer then.
Additionnaly, here is an error which is currently reported in catalina.out file :
09:05:11.911 ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: duplicate key value violates unique constraint "rs_audit_log_property_pkey"
  Detail: Key (entity_id)=(1137073) already exists.
09:05:11.926 WARN  n.d.r.u.e.jpa.JpaEventLoggerDaemon - Error while committing the transaction
javax.persistence.RollbackException: Error while committing the transaction

Is it something we should worry about ? I'm not understanding the meaning of such error, do you have an idea.
Also, there is 3-4 reports scheduled at the same time, could it cause the encountered behavior ?

Offline

#6 2018-06-20 09:39:43

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Scheduled birt report is blocked sometimes in "In execution" state

Hi pmace,

I am not seeing this error. Please upgrade to 3.0.3 and test again.
The error says that the entity_id 1137073 is being created even though it already exists, i.e. a duplicate would occur with the creation of the id. The table rs_audit_log contains the audit logs as the name suggests.

Maybe the fact that you have 3-4 reports scheduled at the same time influences this. I raised ticket RS-2942 to investigate this.

I think it is not something to worry about. It should only affect the rs_audit_log table. Nevertheless, it is necessary to investigate.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB