Announcement Announcement Module
Collapse
No announcement yet.
DB Connection Leak in Item Reader when using AsyncTaskExecutor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DB Connection Leak in Item Reader when using AsyncTaskExecutor

    In the spring batch job that we have developed we are using the AsyncTaskExecutor, to allow for parallel processing at a step level. We have the concurrency limit set as 5. We use the JDBCCursorItemReader to pick-up the input records that we need to process. The JDBCCursorItemReader is configured to pick up connections for a connection pool. On job execution we have noticed that the job aborts due to the exhaustion of connections in the pool, leading us to believe that the JDBCCursorItemReader is not releasing the connections back to the connection pool. Any suggestion?

    The config file of the job is attached.
Working...
X