Hi,
I am trying to find out this problem for more than week.
System: XP 32b sp 2 or 3. Java 1.6 u7 or u16. Two network cards, only one is used.
Exception:
cause:javax.naming.CommunicationException: Failed to connect to server IP:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server IP:1099 [Roo
t exception is java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind]]
We are using just couple of TCP/IP connections. RMI (for communication with jboss server), http and couple of local socket.
I check all places and made sure that we are closing everything. Netstat show 130 +-10 connections.
App will die randomly after 2h to 2days.
We are checking connections every 30seconds (using rmi lookup). And from time to time Server send some update message back to client. (Client have ServerSocket opened).
I tried to check which connection jvm opened using jconsole or other monitor tools, but without any success.
Edited by: nemecp4 on Aug 3, 2009 1:31 AM