geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan" <paulmcma...@gmail.com>
Subject Re: anyone able to build geronimo with test/itest turned on
Date Tue, 06 Feb 2007 21:10:58 GMT
I think the ConnectException you see on stdout is actually a separate
problem, but since I can't recreate I'm not totally sure.  I provided
a patch to tomcat for that problem,  see
http://issues.apache.org/jira/browse/GERONIMO-2747

I'm hoping that the real culprit behind the unit test failure will be
shown in target/surefire-reports/org.apache.geronimo.tomcat.JAASSecurityTest.txt

Can you send me the contents of that file after a failed unit test run?

Best wishes,
Paul

On 2/6/07, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
> On 2/6/07, Paul McMahan <paulmcmahan@gmail.com> wrote:
>
> > 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.
>
> I'm getting it too, every time I build Geronimo and couldn't figure
> out why, so here goes the stack trace for any brave souls out there
> that would lend me their helping hand:
>
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.tomcat.JAASSecurityTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.406
> sec <<< FAILURE!
> testGoodAuthentication(org.apache.geronimo.tomcat.JAASSecurityTest)
> Time elapsed: 7.234 sec  <<< ERROR!
> java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>         at java.net.Socket.connect(Socket.java:516)
>         at java.net.Socket.connect(Socket.java:466)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917)
>         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
>         at org.apache.geronimo.tomcat.JAASSecurityTest.testGoodAuthentication(JAASSecurityTest.java:120)
>
> Nothing's really informatory, but since you asked ;-)
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>

Mime
View raw message