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

Didn't I do that before or Paul meant to have asked about something
else? Anyway, here it goes.

-------------------------------------------------------------------------------
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)

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to