Lin,  I was seeing this problem intermittently when geronimo used
tomcat 6.0.2 so I disabled the unit test and planned to investigate
later.  Then after upgrading geronimo's tomcat version to 6.0.8 I
could not recreate the problem so I reenabled the unit test.   I
believe you will find that the problem is intermittent, so trying to
run the test a couple more times might get you past the error.  But
that could get really aggravating if you're doing top-down builds of
trunk :-)

I will also disable the unit test again but since I'm not able to
recreate the failure can you describe your environment (OS, java
version, etc)?  Also it would be a big help if you could provide the
contents of target/surefire-reports for a failed run.

Best wishes,
Paul

On 2/6/07, Lin Sun <[EMAIL PROTECTED]> wrote:
Hi there, for the past few times, I didn't have any luck in building
Geronimo using just mvn or mvn install.  I had to use
'-Dmaven.test.skip=true -Dmaven.itest.skip=true' to skip both the test and
itest.   This is the latest error I saw when I forgot to turn off the
test/itest.:-)

Feb 6, 2007 1:17:15 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: socket closed
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(De
faultServerSocketFactory.java:61)
        at
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:
310)
        at java.lang.Thread.run(Unknown Source)
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.531 sec
<<< FA
ILURE!

Results :
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0

Anyone able to build geronimo with test/itest turned on?

Thx, Lin


Reply via email to