Hello, So I’m using Integration Server 10.3, and Postgresql jdbc sometimes giving this error on Production Environment, but not on Development
[ADA.1.316] Cannot execute the SQL statement "
(08003/0) This connection has been closed."
This connection has been closed.
the full error that i get from WMERROR is this
2021-09-28T19:08:41.04Z 2021-09-28T19:08:41.04Z [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service mandiri.sams.adapter.bulk:getFtReqHdr.
[ADA.1.316] Cannot execute the SQL statement "SELECT t1.batchid,t1.trxheaderid,t1.sp2d_filename,t1.spn_status,t1.spn_priority,t1.filename,t1.total_record,t1.total_amount,t1.process_status,t1.process_description,t1.inq_va_flag,t1.trx_ftbulk_flag,t1.trx_va_flag,t1.insert_date,t1.channel_id FROM public.sams_bulk_ft_req_hdr t1 WHERE (t1.process_status = ?) ". "
(08003/0) This connection has been closed."
This connection has been closed.
Caused by: com.wm.adk.error.AdapterServiceException: [ADA.1.316] Cannot execute the SQL statement "SELECT t1.batchid,t1.trxheaderid,t1.sp2d_filename,t1.spn_status,t1.spn_priority,t1.filename,t1.total_record,t1.total_amount,t1.process_status,t1.process_description,t1.inq_va_flag,t1.trx_ftbulk_flag,t1.trx_va_flag,t1.insert_date,t1.channel_id FROM public.sams_bulk_ft_req_hdr t1 WHERE (t1.process_status = ?) ". "
(08003/0) This connection has be...<truncated>org.postgresql.util.PSQLException: This connection has been closed.
at org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:786)
at org.postgresql.jdbc.PgConnection.prepareStatement(PgConnection.java:1604)
at org.postgresql.jdbc.PgConnection.prepareStatement(PgConnection.java:410)
at com.wm.adapter.wmjdbc.services.Select.execute(Select.java:184)
at com.wm.adk.cci.interaction.WmInteraction.execute(WmInteraction.java:76)
at com.wm.pkg.art.ns.AdapterServiceNode.invokeService(AdapterServiceNode.java:362)
at com.wm.pkg.art.ns.ARTNSService.baseInvoke(ARTNSService.java:53)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:751)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:54)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:250)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:299)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:629)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:401)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:253)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:236)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:267)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:649)
at com.wm.lang.flow.FlowState.step(FlowState.java:515)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:484)
at com.wm.app.b2b.serve...<truncated>
Need help for this issue, maybe we can discuss for the root cause and solution, Thanks!
Below are the image of the adapter settings
image|690x94