RE: IO Exception: Connection reset by peer: socket write error
Sounds like some sort of timeout or firewall blocking to me. If it works fine when both nodes are on a local network or subnet, but not when they are remote, something in-between is causing problems, or one or the other nodes is not set to wait long enough for delays caused by intervening networks or routers. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:56 PM To: Tomcat Users List Subject: RE: IO Exception: Connection reset by peer: socket write error Agreed on that one. However, back to the issue, this is not letting me log back in to the application. And, it's not throwing an exception in the filter that I have that gets/releases DB connections from a connection pool. When the application is run over in the same network as the DB there is no problem at all. Just when I run it from a different location it seems to act up in this manner. That's why I'm not quite sure. Turner, John [EMAIL PROTECTED] wrote: Never mind...I missed the part about the DB. *sigh* ...time for an after work beer. John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IO Exception: Connection reset by peer: socket write error
Thanks John. That sounds like the most likely scenario. Turner, John [EMAIL PROTECTED] wrote: Sounds like some sort of timeout or firewall blocking to me. If it works fine when both nodes are on a local network or subnet, but not when they are remote, something in-between is causing problems, or one or the other nodes is not set to wait long enough for delays caused by intervening networks or routers. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:56 PM To: Tomcat Users List Subject: RE: IO Exception: Connection reset by peer: socket write error Agreed on that one. However, back to the issue, this is not letting me log back in to the application. And, it's not throwing an exception in the filter that I have that gets/releases DB connections from a connection pool. When the application is run over in the same network as the DB there is no problem at all. Just when I run it from a different location it seems to act up in this manner. That's why I'm not quite sure. Turner, John wrote: Never mind...I missed the part about the DB. *sigh* ...time for an after work beer. John -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: IO Exception: Connection reset by peer: socket write error
Howdy, You're going to need to give us a lot more than that ;) What tomcat version, what connectors, full stack trace / log if possible, etc... ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:38 PM To: Tomcat Subject: IO Exception: Connection reset by peer: socket write error Hi, I'm running an app from a remote location (Chicago) with a database located in New York. I know this is not by any means a recommended practice, however, it's for testing purposes. My question is why this is occuring? The application works fine, but if I try to access it after a little time has passed I get that exception thrown. What is the issue? How can I solve this? Thank you very much, Lior - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: IO Exception: Connection reset by peer: socket write error
On Thu, 16 Jan 2003 10:37, Lior Shliechkorn wrote: Hi, I'm running an app from a remote location (Chicago) with a database located in New York. I know this is not by any means a recommended practice, however, it's for testing purposes. My question is why this is occuring? The application works fine, but if I try to access it after a little time has passed I get that exception thrown. A wild guess might be that the connection is being reset by the DB after a peiod of non-use, which throws an IO Exception the next time the DB is accessed by the web app. Usually a SQL exception would be thrown however, so don't treat this suggestion as gospel. I know at least two databases which have this behaviour (Postgres, and some versions of Interbase). Regards, Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IO Exception: Connection reset by peer: socket write error
Right, sorry. Tomcat 4.0.5, using ajp13 connectors. This is a catalina log output for the error: 2003-01-15 08:05:54 HttpProcessor[8080][3] process.parse java.io.IOException: Couldn't read line at org.apache.catalina.connector.http.SocketInputStream.readRequestLine(SocketInputStream.java:235) at org.apache.catalina.connector.http.HttpProcessor.parseRequest(HttpProcessor.java:710) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:974) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:479) This is the apache log file error: 2003-01-15 07:31:41 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept(ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590) at java.lang.Thread.run(Thread.java:479) Am I missing anything else...? Thanks Shapira, Yoav [EMAIL PROTECTED] wrote:Howdy, You're going to need to give us a lot more than that ;) What tomcat version, what connectors, full stack trace / log if possible, etc... ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:38 PM To: Tomcat Subject: IO Exception: Connection reset by peer: socket write error Hi, I'm running an app from a remote location (Chicago) with a database located in New York. I know this is not by any means a recommended practice, however, it's for testing purposes. My question is why this is occuring? The application works fine, but if I try to access it after a little time has passed I get that exception thrown. What is the issue? How can I solve this? Thank you very much, Lior - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: IO Exception: Connection reset by peer: socket write error
Agreed, though in my experience connection reset by peer messages mean the browser/client has stopped accepting data from the server, for various reasons: timeouts, closing the browser window, etc. In most situations, they are harmless. John -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:41 PM To: Tomcat Users List Subject: RE: IO Exception: Connection reset by peer: socket write error Howdy, You're going to need to give us a lot more than that ;) What tomcat version, what connectors, full stack trace / log if possible, etc... ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:38 PM To: Tomcat Subject: IO Exception: Connection reset by peer: socket write error Hi, I'm running an app from a remote location (Chicago) with a database located in New York. I know this is not by any means a recommended practice, however, it's for testing purposes. My question is why this is occuring? The application works fine, but if I try to access it after a little time has passed I get that exception thrown. What is the issue? How can I solve this? Thank you very much, Lior - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IO Exception: Connection reset by peer: socket write error
Never mind...I missed the part about the DB. *sigh* ...time for an after work beer. John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:45 PM To: 'Tomcat Users List' Subject: RE: IO Exception: Connection reset by peer: socket write error Agreed, though in my experience connection reset by peer messages mean the browser/client has stopped accepting data from the server, for various reasons: timeouts, closing the browser window, etc. In most situations, they are harmless. John -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:41 PM To: Tomcat Users List Subject: RE: IO Exception: Connection reset by peer: socket write error Howdy, You're going to need to give us a lot more than that ;) What tomcat version, what connectors, full stack trace / log if possible, etc... ;) Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IO Exception: Connection reset by peer: socket write error
Agreed on that one. However, back to the issue, this is not letting me log back in to the application. And, it's not throwing an exception in the filter that I have that gets/releases DB connections from a connection pool. When the application is run over in the same network as the DB there is no problem at all. Just when I run it from a different location it seems to act up in this manner. That's why I'm not quite sure. Turner, John [EMAIL PROTECTED] wrote: Never mind...I missed the part about the DB. *sigh* ...time for an after work beer. John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:45 PM To: 'Tomcat Users List' Subject: RE: IO Exception: Connection reset by peer: socket write error Agreed, though in my experience connection reset by peer messages mean the browser/client has stopped accepting data from the server, for various reasons: timeouts, closing the browser window, etc. In most situations, they are harmless. John -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:41 PM To: Tomcat Users List Subject: RE: IO Exception: Connection reset by peer: socket write error Howdy, You're going to need to give us a lot more than that ;) What tomcat version, what connectors, full stack trace / log if possible, etc... ;) Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now