Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » [BIRT 4.3.1] Dataset does not close idle connections
[BIRT 4.3.1] Dataset does not close idle connections [message #1227052] Fri, 03 January 2014 11:46
vinc thau is currently offline vinc thauFriend
Messages: 1
Registered: January 2014
Junior Member
Hi all,
My datasource : Postgres
I have a report with a table and child tables.
The problem: Each call of dataset open a connection to the source but does not close it after dataset execution.

Is it possible to force the closing of the transaction in the end of dataset execution?
The report crash after a while (too much IDLE transactions)
Here is the stacktrace :
org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:
Failed to prepare the query execution for the data set: myDataset
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: There is an error in get connection, FATAL: remaining connection slots are reserved for non-replication superuser connections.
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1245)
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1224)
   at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
   at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
   at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
   at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
...


Regards,
Vinc
Previous Topic:How to update the default Report Parameter value
Next Topic:Reading the dataset "Max number of rows fetched from datasource" value from system propert
Goto Forum:
  


Current Time: Thu Apr 18 04:59:28 GMT 2024

Powered by FUDForum. Page generated in 0.01964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top