Forum Stats

  • 3,875,396 Users
  • 2,266,910 Discussions
  • 7,912,192 Comments

Discussions

I/m getting connection closed error occassionally

User_G4N3X
User_G4N3X Member Posts: 1 Green Ribbon
edited Nov 8, 2022 7:24PM in Java Programming

Hi All, I have recently implemented parallel threads in one of my java application and I'm facing java.sql.SQLException: Connection [email protected] is closed and jdbc begin transaction failed


Let's say out of 10 API calls, I'm getting this error for 3 and for others I'm getting response

I have added validation query and setborrw = true, still i'm getting same issue.

what is the solution for this!! Kindly help