[arquillian-issues] [JBoss JIRA] (ARQ-2001) Log status code in WLPRestClient.isServerUp()

Bartosz Majsak (JIRA) issues at jboss.org
Sun Feb 18 04:15:00 EST 2018


     [ https://issues.jboss.org/browse/ARQ-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Majsak updated ARQ-2001:
--------------------------------
    Fix Version/s: was_1.0.0.CR1
                       (was: was_1.0.0.next)


> Log status code in WLPRestClient.isServerUp()
> ---------------------------------------------
>
>                 Key: ARQ-2001
>                 URL: https://issues.jboss.org/browse/ARQ-2001
>             Project: Arquillian
>          Issue Type: Enhancement
>          Components: WebSphere Containers
>            Reporter: Paul Holding
>            Assignee: Gerhard Poul
>             Fix For: was_1.0.0.CR1
>
>
> The WLPRestClient.isServerUp() method doesn't log the status code returned when the following line of code is executed
> {code:java}
> HttpResponse result = executor.execute(Request.Get(hostName)).returnResponse();
> {code}
> The lack of logging makes is impossible to tell why the isServerUp() check failure occurred and the only information returned is a LifecycleException thrown by WLPRemoteContainer with the text "Remote server is not started". This can be misleading as the server may be up but something else is wrong such as an authentication failure.
> Adding something similar to the logging in WLPRestClient.deploy(File archive) would allow the HTTP status code to be recorded and make troubleshooting a lot easier.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the arquillian-issues mailing list