This is a windows config problem.
I think you are trying to stress test?
You are doing lots of threaded calls in a loop that
establish new connections from *the*same*ip*address?
Windows thinks you a doing a DOS (denial of service attack)
and refuses the connection.
I looked at this back in December, I couldn't find
what registry setting to change. I did manage to
get between 50-98 out of 100 connections successful by putting
a short sleep in my client code before each connection.
Linux doesn't have this problem, so it isn't JBoss.
3,550 MHz, I'm jealous :-)
What OS version are you using?
There is a restriction built into Win2k Professional that doesn't allow more than 10 network connections to this particular machine at the same time. If you need more, you have to upgrade to Win2k Server.
If you have already Win2k Server, you probably have to increase the number of licenses under the 'Control Panel' -> 'Licensing'. The default number of licenses is set to '10'.
Or, just migrate to Linux - it's more fun anyway. :)