[jboss-jira] [JBoss JIRA] (WFLY-2501) Add meaningful error message when http-remoting is used in CLI against server that does not support it.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Wed Nov 13 07:24:06 EST 2013


Darran Lofthouse created WFLY-2501:
--------------------------------------

             Summary: Add meaningful error message when http-remoting is used in CLI against server that does not support it.
                 Key: WFLY-2501
                 URL: https://issues.jboss.org/browse/WFLY-2501
             Project: WildFly
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: CLI
            Reporter: Darran Lofthouse
            Assignee: Darran Lofthouse
             Fix For: 8.0.0.CR1


Attempting to use http-remoting against a server that does not support it results in the following message: -

{noformat}
[disconnected /] connect http-remoting://localhost:9990
The controller is not available at localhost:9990: java.net.ConnectException: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed: Redirects are not implemented yet
[disconnected /]
{noformat}

Would be nicer if we can detect the reason for the redirect and display an appropriate error message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list