geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "Building" by TobyCabot
Date Mon, 20 Jun 2005 18:36:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by TobyCabot:
http://wiki.apache.org/geronimo/Building

The comment on the change is:
note about pre-1.0.2 maven not working

------------------------------------------------------------------------------
  	I used sun jdk 1.4.2_04
  	[http://java.sun.com/j2se/1.4.2/]
  Maven 
- 	I used maven-1.0.2
+ 	Use maven-1.0.2 or newer.  Previous versions have a bug that breaks the Geronimo build.
  	[http://maven.apache.org/]
  subversion
  	I used svn-1.2.0
@@ -205, +205 @@

  
  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 (http://www.sysinternals.com/ntw2k/source/tcpview.shtml)
to determine which ports are in use by which program and if they are conflicting with ListOfPortsUsedDuringTesting.
  
+ == Maven Dependency Download Problems ==
+ 
+ Dain writes on Fri, 17 Jun 2005 22:43:11 -0700:
+ 
+  {{{
+ If you're having problem downloading the dependencies with maven,
+ make sure you are using maven version 1.0.2.  Previous version of
+ maven, including 1.0, have a bug that breaks with our build.
+                                                                                        
      
+ dain$ maven -v
+ __  __
+ |  \/  |__ _Apache__ ___
+ | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
+ |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
+ }}}                                                                                    
         
+ 
  == Tests fail with java.net.BindException : 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.

Mime
View raw message