Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JDBC java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): connect

Have Programming Question? Ask it here!
 
 
 


suresh anugandula
java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): connect
0 Answer(s)      3 years ago
Posted in : JDBC


Once in a while i am facing following problem. I am using timesten database. Please help me in resolving this problem. DriverManager.getConnection() is raising this exception.

java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): connect at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:410) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at com.tbss.Create1.readANDWrite(Create1.java:241) at com.tbss.Create1.main(Create1.java:130) Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:307) at net.sourceforge.jtds.jdbc.SharedSocket.(SharedSocket.java:257) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:311) ... 6 more Exception in thread "main" java.lang.NullPointerException at com.tbss.Create1.readANDWrite(Create1.java:354) at com.tbss.Create1.main(Create1.java:130)


Advertisement
View Answers

Related Tutorials/Questions & Answers:
 

 

 

DMCA.com