aspose file tools*
The moose likes JDBC and the fly likes Connection reset by peer: socket write error while connecting Oracle using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection reset by peer: socket write error while connecting Oracle using JDBC" Watch "Connection reset by peer: socket write error while connecting Oracle using JDBC" New topic
Author

Connection reset by peer: socket write error while connecting Oracle using JDBC

Asvin Kumar
Greenhorn

Joined: Mar 01, 2010
Posts: 13
Hi,

I am using JDK1.4 for a project and trying to connect to Oracle db which is in a remote system. I get the following error,

java.sql.SQLException: Io exception: Connection reset by peer: socket write error
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)

I can telnet the server without any errors. Does it requires any other configuration change???

Kindly help..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection reset by peer: socket write error while connecting Oracle using JDBC