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

Paul Holding (JIRA) issues at jboss.org
Tue Dec 1 14:50:00 EST 2015


Paul Holding created ARQ-2001:
---------------------------------

             Summary: 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


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
(v6.4.11#64026)


More information about the arquillian-issues mailing list