This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes java.sql.SQLException: Io exception: Got minus one from a read call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "java.sql.SQLException: Io exception: Got minus one from a read call" Watch "java.sql.SQLException: Io exception: Got minus one from a read call" New topic
Author

java.sql.SQLException: Io exception: Got minus one from a read call

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
Hello,

I am receiving the following error. Please advise.



Thanks in anticipation
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3718
    
  61

Looks like some obscure network/connection problem. Googling Got minus one from a read call brings up several interesting threads.

Also, check out Oracle's driver compatibility matrix to make sure your DB and driver can talk to each other.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
Thanks Martin.

By following your suggestions I googled many posts and found that I was not closing connection that was opening too many processes in Oracle that were causing this error. I closed connection to each class and now its fixed.

Thanks again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql.SQLException: Io exception: Got minus one from a read call
 
jQuery in Action, 3rd edition