In order to connect to the SQL 2005 by the JDBC provider - in addition to the connection string,
you have to configure the service to a static ip/port :
for help and other learning materials
visit our site: Bina
visit our site: Bina
both clients crashed after a while with the error : "too many open files" of "out of resources"
the problem is the use of many TCP ports without release (that managed automatically by OS)
The OS allow you to use limited number of port concurrently and free the unused ports once in a while - if you want more ports in the interval it will fail
2 solutions
To raise the port number:
On Windows Registry: set the following
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TCPTimedWaitDelay"=dword:0000001e
"MaxUserPort"=dword:0000fffe
On Linux:
open the file etc/security/limits.conf and set nofiles=N