geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Apache Geronimo Wiki] Updated: Building
Date Wed, 09 Feb 2005 06:51:23 GMT
   Date: 2005-02-08T22:51:23
   Editor: JohnSisson
   Wiki: Apache Geronimo Wiki
   Page: Building

   Registry changes to Windows TCP settings to enable tests to complete

Change Log:

@@ -171,6 +171,17 @@
 One of the many reasons that tests fail is because some ports are in use by other programs
(for example another copy of Geronimo running on the same machine).  Check the log of the
test reports for the specific module that failed in the `target/test-reports` directory and
see if it does use a port that is already active.  You can use a program called TCPView (
to determine which ports are in use by which program and if they are conflicting with ListOfPortsUsedDuringTesting.
+ == Tests fail with : Address already in use: connect on Windows ==
+ The test suites of Geronimo and associated projects can open and close a large number of
socket connections within a short period of time, causing Windows to exhaust its pool of ephemeral
ports (default is port range 1024-5000).    When each of these connections is closed, they
will remain in TIME_WAIT for a period of time (default of 240 seconds) before the ephemeral
port is available.  Windows will not reuse a port until it has exhausted its pool of ephemeral
ports.  Therefore the Geronimo tests can easily utilise all the ports within 240 seconds.
+ You need to set the MaxUserPort to a larger value and reduce the TcpTimedWaitDelay in the
registry settings.  See the following for further details:
+ []
+ []
+ This problem has been encountered whilst running the OpenEJB itests suite.
  == OpenEJB ITests fail with org.omg.CORBA.COMM_FAILURE on Windows ==
  It has been obvserved that on Windows, port 1050 is used by the IIS Admin service and will
cause a `org.omg.CORBA.COMM_FAILURE: Unable to listen on / (
Address already in use: JVM_Bind)` error.

View raw message