juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JUNEAU-88) AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
Date Sat, 03 Nov 2018 14:35:00 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Bognar resolved JUNEAU-88.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 7.2.2

> 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
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 7.2.2
>
>
> 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. 
> PR: https://github.com/apache/juneau/pull/9



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

Mime
View raw message