Posted By:
Pavel_Nemec
Posted On:
Monday, August 3, 2009 04:12 AM
Hi, I am getting this exception after my app runs for couple of days/hours (random?) Win XP, sp2 or 3. Java 1.6 u7 or u16. cause:javax.naming.CommunicationException: Failed to connect to server IP:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server IP:1099 [Root exception is java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind]] I checked every place where I open connection, but without any positive result. I run netstat which shows me just ~130 connection. When I try reproduced the error, I was able to open 3500 connection before reaching buffer limit
More>>
Hi,
I am getting this exception after my app runs for couple of days/hours (random?)
Win XP, sp2 or 3. Java 1.6 u7 or u16.
cause:javax.naming.CommunicationException: Failed to
connect to server IP:1099 [Root exception is
javax.naming.ServiceUnavailableException: Failed to connect
to server IP:1099 [Root exception is
java.net.SocketException: No buffer space available
(maximum connections reached?): JVM_Bind]]
I checked every place where I open connection, but without any positive result.
I run netstat which shows me just ~130 connection. When I try reproduced the error, I was able to open 3500 connection before reaching buffer limit.
I am using jboss rmi for connection to server. some localhost TCP/IP connections for local communication.
Any hints.
I tried to get opened connection from jvm (jconsole) but without any success.
<<Less