You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/16 20:12:00 UTC

[jira] [Created] (JUNEAU-88) AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed

Gary Gregory created JUNEAU-88:
----------------------------------

             Summary: AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
                 Key: JUNEAU-88
                 URL: https://issues.apache.org/jira/browse/JUNEAU-88
             Project: Juneau
          Issue Type: Bug
          Components: Code
            Reporter: Gary Gregory


AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed

{noformat}
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.juneau.examples.rest._TestSuite
Running class 'RestMicroservice' using config file 'examples.cfg'.
Server started on port 10000

List of available commands:
        exit -- Shut down service
        restart -- Restarts service
        help -- Commands help
        echo -- Echo command

> log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
WARNING:  RestClient garbage collected before it was finalized.
Creation stack traces can be displayed by setting the system property 'org.apache.juneau.rest.client.RestClient.trackLifecycle' to true.
Stopping server.
Server stopped.
[ERROR] Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.43 s <<< FAILURE! - in org.apache.juneau.examples.rest._TestSuite
[ERROR] testProxyInterface(org.apache.juneau.examples.rest.AddressBookResourceTest)  Time elapsed: 0.048 s  <<< ERROR!
java.lang.RuntimeException: org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
        at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)
Caused by: org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
        at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)
Caused by: java.net.SocketException: Software caused connection abort: recv failed
        at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   AddressBookResourceTest.testProxyInterface:299 ยป Runtime org.apache.juneau.res...
[INFO]
[ERROR] Tests run: 31, Failures: 0, Errors: 1, Skipped: 0
[INFO]
{noformat}

This always fails for me from Maven. From Eclipse it works. Updating HttpClient from 4.5.4 to 4.5.6 caused my local build to pass from Maven. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)