On 2/6/07, Paul McMahan <[EMAIL PROTECTED]> 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