The Artima Developer Community
Sponsored Link

Java Answers Forum
Connection reset by peer: JVM_recv in socket input stream read

2 replies on 1 page. Most recent reply: Apr 8, 2003 10:28 PM by wwwluo_2001

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
wwwluo_2001

Posts: 3
Nickname: wwwluo
Registered: Apr, 2003

Connection reset by peer: JVM_recv in socket input stream read Posted: Apr 8, 2003 5:07 AM
Reply to this message Reply
Advertisement
Hi
I am getting "Connection reset by peer: JVM_recv in socket input stream read" when I m running my application using with tomcat and sql server
why ??
can you help me!!!? some ideas!!
some time I can run my application right!!,some time
I get Error:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: JVM_recv in socket input stream read
thanks!!
email to me:wwwluo_2001@21cn.com


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Connection reset by peer: JVM_recv in socket input stream read Posted: Apr 8, 2003 6:19 AM
Reply to this message Reply
It's possible that the JDBC driver is closing the connection after a while. Suggest that you check that it's still open before using it and re-open it if necessary.

Adam

wwwluo_2001

Posts: 3
Nickname: wwwluo
Registered: Apr, 2003

Re: Connection reset by peer: JVM_recv in socket input stream read Posted: Apr 8, 2003 10:28 PM
Reply to this message Reply
thank you
but It isn't possible that the JDBC driver is closing the connection after a while. if the JDBC driver is closing the connection ,it will throwing "java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has bee
n closed.".
now It is throwing "java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error at..." .

help me !!!

Flat View: This topic has 2 replies on 1 page
Topic: Error handler Previous Topic   Next Topic Topic: Converting Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use