SQL Error code: 17009 SQLState: 99999 Closed Statement DatabaseException caused by prior exception: java.sql.SQLException: Closed
Hi,
While executing RDB-List through Load-DataPage (Data page is a parameterized, its source is an activity and RDB-List was referred in this activity) method, we are getting below exception in 8.6v.
Error: ** [MSG][Error in RDB-List][STACK][com.pega.pegarules.pub.database.DatabaseException: Problem processing list results: code: 17009 SQLState: 99999 Message: Closed Statement DatabaseException caused by prior exception: java.sql.SQLException: Closed Statement | SQL Code: 17009 | SQL State: 99999
Few more details from tracer:
Caused by SQL Problems. Problem #1, SQLState 99999, Error code 17009: java.sql.SQLException: Closed Statement at com.pega.pegarules.data.internal.access.ExceptionInformation.createAppropriateExceptionDueToDBFailure(ExceptionInformation.java:385) at com.pega.pegarules.data.internal.access.ExceptionInformation.createExceptionDueToDBFailure(ExceptionInformation.java:364) at com.pega.pegarules.data.internal.access.RDBPageResultPackager.packageDataStoreResults(RDBPageResultPackager.java:439) at....
Is there any way we can resolve this?
Note: When I execute the SQL query (formed dynamically), it is not having any issues. I am able to see correct results.
Is this issue happening due to DB connection? The connection was successfully established at some point, but when RDB-List tried to execute right there, the connection was no longer open?