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
i 14. lokakuuta 2024 19.16 To: users@tomcat.apache.org Subject: Connection reset by peer: socket write error [Et saa yleensä sähköpostia seretseab.ke...@ecolab.com.invalid. Lisätietoja siitä, miksi tämä on tärkeää, on osoitteessa https://aka.ms/LearnAboutSenderIdentification ] Hello, We have

Connection reset by peer: socket write error

2024-10-14 Thread Kenaw, Seretseab
Hello, 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 because the connection to database is getting closed for some rea

java.net.SocketException: Connection reset by peer in setSocketOptions()

2013-08-03 Thread Kees Jan Koster
cceptCount 1024 and kern.ipc.somaxconn 1024, which should be plenty, right? 5) Any other steps I can take to dive deeper? Aug 03, 2013 8:50:45 PM org.apache.tomcat.util.net.NioEndpoint setSocketOptions SEVERE: java.net.SocketException: Connection reset by peer at sun.nio.ch.Net.setIntOpti

Re: Default configuration; Connection reset by peer

2012-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phineas, On 7/24/12 7:19 PM, Phineas Dole wrote: > Test configuration: protocol="org.apache.coyote.http11.Http11NioProtocol" > acceptCount="10240" numThreads="1024" numThreads is not a recognized configuration attribute. Read the docs: http://tomca

Re: Default configuration; Connection reset by peer

2012-07-24 Thread Phineas Dole
n you had in mind. Thanks for the insight! From: Christopher Schultz To: Tomcat Users List Sent: Tuesday, July 24, 2012 2:34 PM Subject: Re: Default configuration; Connection reset by peer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phineas, On 7/24/12 4:59 PM, Phinea

Re: Default configuration; Connection reset by peer

2012-07-24 Thread Christopher Schultz
ns and queue them until Tomcat is ready to actively handle them. I suspect you will very quickly fill-up the accept queue and start getting connections dropped, unless your test servlet runs very quickly. > Occasionally, ab will terminate prematurely with error such as > "apr_socket_rec

Default configuration; Connection reset by peer

2012-07-24 Thread Phineas Dole
or such as "apr_socket_recv: Connection reset by peer (104)" This happens with bio, nio, and apr connectors. How do I configure tomcat or my OS to handle this workload? I have not experienced this problem with other webservers or Jetty... what is happening? Versions: Tomcat 7.0.29 ab 2.3

Connection reset by peer in org.apache.tomcat.util.net.NioEndpoint setSocketOptions

2012-06-10 Thread Kees Jan Koster
setSocketOptions SEVERE: java.net.SocketException: Connection reset by peer at sun.nio.ch.Net.setIntOption0(Native Method) at sun.nio.ch.Net.setIntOption(Net.java:154) at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406) at sun.nio.ch.SocketOptsImpl.setBoolean

RE: Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread Debashis Roy
reliably? I am already using the header Pragma: no-cache. > Date: Thu, 4 Aug 2011 14:01:16 -0400 > From: dcker...@verizon.net > To: users@tomcat.apache.org > Subject: Re: Who ate my "Connection reset by peer" SocketException? > > On 8/4/2011 1:38 PM, Debashis Roy wrote

Re: Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread David kerber
"Connection reset by peer" SocketException? Debashis Roy wrote: Hi, Trying something which involves catching the "Connection reset by peer" SocketException. Below is the code snippet from my servlet with explanatory comments. Does anyone have any idea as to what is happening?

RE: Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread Debashis Roy
Nothing in between browser and tomcat... direct connection from IE to 8080. > Date: Thu, 4 Aug 2011 18:19:58 +0200 > From: a...@ice-sa.com > To: users@tomcat.apache.org > Subject: Re: Who ate my "Connection reset by peer" SocketException? > > Debashis Roy wr

Re: Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread André Warnier
Debashis Roy wrote: Hi, Trying something which involves catching the "Connection reset by peer" SocketException. Below is the code snippet from my servlet with explanatory comments. Does anyone have any idea as to what is happening? try { byte [] bytes = getContentBytes();

Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread Debashis Roy
Hi, Trying something which involves catching the "Connection reset by peer" SocketException. Below is the code snippet from my servlet with explanatory comments. Does anyone have any idea as to what is happening? try { byte [] bytes = getContentBytes(); //read the actual by

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
se connections are closed down at the end of each request, you should probably look at your network hardware between tomcat and the db server. Connection reset by peer can be caused by firewall hardware or failing switches in addition to the db server. --David Thangavel Sankaranarayana

RE: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Martin Gainty
B Problem in tomcat:java.sql.SQLException: Io > exception: Connection reset by peer: JVM_recv in socket input stream read > To: users@tomcat.apache.org > From: [EMAIL PROTECTED] > Date: Tue, 9 Sep 2008 00:16:17 +0530 > > David,Actually Resource element is used when we want to map a datascr to a > JND

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
; >>> PM >>> >>> >> cc >> >> >> >> Subject >> >> >>> Please respond to Re: Intermitant DB Problem in >>> >>> >> >>>"Tomcat Users

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
>>> Please respond to Re: Intermitant DB Problem in >>> >>> >> >>> "Tomcat Users tomcat:java.sql.SQLException: Io >>> >>> >> >>>List"

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
m with tomcat in loosing the connections?? I am getting this error once in 5 hrs and i get a HTTPStatus500 error and when a user tries again it gets okay and it is working How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Conn

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
;> 2. Does your db pool definition have the attribute >> validationQuery="select 1"? That would pre-test your connections before >> returning one on ds.getConnection(), regenerating them if they fail. >> >> --David >> >> Thangavel Sankaranarayanan wrote: &

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
ing How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read This is the Exception details in my application logs: DEBUG au.com.vodafone.mpp.bos.MPPFactory - Calling getConnecti

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
oblem with >> tomcat in loosing the connections?? >> I am getting this error once in 5 hrs and i get a HTTPStatus500 error >> > and > >> when a user tries again it gets okay and it is working >> How can i resolve this Intermitant DB Problem in tomcat!!! >>

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
r once in 5 hrs and i get a HTTPStatus500 error and when a user tries again it gets okay and it is working How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read This

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
gt; How can i resolve this Intermitant DB Problem in tomcat!!! > > java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in > socket input stream read > > This is the Exception details in my application logs: > DEBUG au.com.vodafone.mpp.bos.M

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
ons?? I am getting this error once in 5 hrs and i get a HTTPStatus500 error and when a user tries again it gets okay and it is working How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read T

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Johnny Kewl
- Original Message - From: "Thangavel Sankaranarayanan" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 08, 2008 12:49 PM Subject: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv i

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
roblem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read This is the Exception details in my application logs: DEBUG au.com.vodafone.mpp.bos.MPPFactory - Calling getConnection method of Datasrc Class:600991 DEBUG au.com.vodafon

Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
it is working How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read This is the Exception details in my application logs: DEBUG au.com.vodafone.mpp.bos.MPPFactory - Calling getConnection

Re: java.net.socketException...Connection reset by peer: JVM_recv in socket input stream read!!

2008-08-25 Thread Filip Hanik - Dev Lists
can be done.? java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:116) at java.io.BufferedInputStream.fill

java.net.socketException...Connection reset by peer: JVM_recv in socket input stream read!!

2008-08-25 Thread Thangavel Sankaranarayanan
Hi , I am getting a java.net.socket exception in tomcat Stack trace is below... To avoid this errror what can be done.? java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead0(Native Method) at

connection reset by peer

2007-08-09 Thread Yair Zohar
8080 Sometimes (quite often) I get connection reset by peer, in the middle of page loading. It looks like that when running wget (although it happens also using firefox and ie): Connecting to ard.huji.ac.il|132.64.50.50|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspec

RE: Suppress "Connection reset by peer: socket write error".

2005-10-19 Thread Robert Graf-Waczenski
ur web requests are > > served by a servlet, you have to add the try/catch > > block to the servlet > > class, too. > > > > Robert > > > > > -Original Message- > > > From: Dola Woolfe [mailto:[EMAIL PROTECTED] > > > Sent: Friday, O

RE: Suppress "Connection reset by peer: socket write error".

2005-10-18 Thread Dola Woolfe
class, too. > > Robert > > > -Original Message----- > > From: Dola Woolfe [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 14, 2005 8:43 AM > > To: Tomcat Users List > > Subject: RE: Suppress "Connection reset by peer: > socket write er

RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Robert Graf-Waczenski
vlet class, too. Robert > -Original Message- > From: Dola Woolfe [mailto:[EMAIL PROTECTED] > Sent: Friday, October 14, 2005 8:43 AM > To: Tomcat Users List > Subject: RE: Suppress "Connection reset by peer: socket write error". > > > Hi Robert, > >

RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Dola Woolfe
ace analysis > above is > perfect. The other down side of this approach is > that future > versions of Java and/or Tomcat may change the > exception message > texts and/or the structure of the stack trace. But > currently > (JDK 1.5 / Tomcat 5.5) this approach does what was > i

RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Robert Graf-Waczenski
nd/or Tomcat may change the exception message texts and/or the structure of the stack trace. But currently (JDK 1.5 / Tomcat 5.5) this approach does what was intended. Robert > -Original Message- > From: Dola Woolfe [mailto:[EMAIL PROTECTED] > Sent: Friday, October 14, 2005 3:17

Re: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Dola Woolfe
I don't want happening is for the "Connection reset by peer: socket write error" to be displayed in the console window. Given this detailed information, would you mind refining your recommendation? Thank you very much in advance, Dola Chin --- Bill Barker <[EMAIL PROTECTE