[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
Mon Nov 18 11:21:05 EST 2013


    [ https://issues.jboss.org/browse/WFLY-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924567#comment-12924567 ] 

Darran Lofthouse commented on WFLY-2501:
----------------------------------------

Dependency so that correct constructor is used to create Exception.
                
> 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