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] Trivial Update of "Building" by JohnSisson
Date Mon, 11 Apr 2005 13:16:33 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 JohnSisson:
http://wiki.apache.org/geronimo/Building

The comment on the change is:
Fix headings - for some reason they no longer like to be indented

------------------------------------------------------------------------------
  
  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.
  
-  == Tests fail with java.net.BindException : Address already in use: connect on Windows
==
+ == 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.
  
@@ -188, +188 @@

  
   This problem has been encountered whilst running the OpenEJB itests suite.
  
-  == OpenEJB ITests fail with org.omg.CORBA.COMM_FAILURE on Windows ==
+ == 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 /0.0.0.0:1050 (java.net.BindException:
Address already in use: JVM_Bind)` error.
  
   One workaround (assuming the IIS isn't needed to be running) is to go to Services list
in the Computer Management console and stop the IIS Admin service, change the startup type
for the service to manual.  You may need to reboot after this.
  
-  == Remoting Tests Hang ==
+ == Remoting Tests Hang ==
  
   Make sure the host name of your machine (myworkstation.mydomain.com or whatever) is resolvable
in DNS.  Worst case, add it to the 127.0.0.1 line in `/etc/hosts` or `c:\windows\system32\drivers\etc\hosts`
  
   If you use a windows system,try upgrading the JDK to the latest version. There are few
bugs in older versions of JDK 1.4, which causes the infinite wait while a server is being
closed.
  
-  == Assembly Fails ==
+ == Assembly Fails ==
  
   It has been noticed that the deployment of the {{{org/apache/geronimo/System}}} plan will
not succeed during the assembly phase if it is being done with JVM version: 
    {{{
@@ -229, +229 @@

     [java]      at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:97)
     [java]      ... 7 more
  }}}
-  == Assembly Hangs ==
+ == Assembly Hangs ==
  
   If your build gets to 
  

Mime
View raw message