I have a multithreaded application that uses HttpURLConnection to send HTTP POST requests. I observe that threads are waiting when 3 TCP connections are in use (3 threads are sending) until one of the 3 connections is released again. All request/response handling works well except for the restriction to 3 parallel connections at a time.
My question: is there a (configurable?) limit for TCP connections imposed by the JVM or operation system? I use JDK 1.4. on Solaris.