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

 
 


suresh anugandula
java.sql.SQLException: Network error IOException: No buffer space available (maximum connections reached?): connect
0 Answer(s)      a year and 10 months 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)

View Answers









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.