[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
Fri Nov 15 11:57:05 EST 2013
[ https://issues.jboss.org/browse/WFLY-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924114#comment-12924114 ]
Darran Lofthouse commented on WFLY-2501:
----------------------------------------
Now that we possibly have support in XNIO to notify us of redirects this case should be easy to detect i.e. if we get directed from the root context to the console then the upgrade request was not intercepted.
> 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