| Author |
Strange DB Errors
|
John Lark
Ranch Hand
Joined: Feb 08, 2010
Posts: 67
|
|
Hey Guys,
When I start my Web Application and attempt to connect to the database I get the following errors repeatedly in the stdout, but the database still seems to function as I can connect to the webapplication using a password within my database. What is causing theres errors. I am pointing at an F5 which is pointing me back at my local database. The point of this is going to be for eventually having a mirrored database to fall back to. Any idea what is causing these errors?
Thanks
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:765)
at net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:639)
at net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:406)
at net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:100)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2098)
va.sql.SQLException: I/O Error: Connection reset
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2203)
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:559)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:324)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at net.sourceforge.jtds.jdbcx.JtdsDataSource.getConnection(JtdsDataSource.java:246)
at net.sourceforge.jtds.jdbcx.JtdsDataSource.getConnection(JtdsDataSource.java:122)
java.sql.SQLException: I/O Error: Connection reset by peer: socket write error
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:571)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:324)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at net.sourceforge.jtds.jdbcx.JtdsDataSource.getConnection(JtdsDataSource.java:246)
Caused by: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Seems like you have a network connection problem between your two servers.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
John Lark
Ranch Hand
Joined: Feb 08, 2010
Posts: 67
|
|
|
Ha forgot to come back to this, that's what it turned out to be! Thanks!
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
You're welcome.
|
 |
 |
|
|
subject: Strange DB Errors
|
|
|