Re: Connection reset by peer: socket write error

2024-10-14 Thread Chuck Caldarale
> On Oct 14, 2024, at 11:15, Kenaw, Seretseab > wrote: > > We have an application hosted on Azure VM that runs on a Tomcat server and > has a backend of Azure SQL database . There is a job that purges old data > from the backend database and keeps failing after it runs for a few hours > bec

RE: Connection reset by peer: socket write error

2024-10-14 Thread Harri Pesonen
Hello, so you have a problem that database connection is closed, and you want to fix it by closing the connection? https://learn.microsoft.com/en-us/sql/connect/jdbc/understand-timeouts?view=sql-server-ver16 "socketTimeout applies to all socket communications with the server. If the server stop