[jboss-jira] [JBoss JIRA] (WFCORE-1724) Resource.NoSuchResourceException managementResourceNotFound for native-interface and native-remoting-interface
Brian Stansberry (JIRA)
issues at jboss.org
Fri Aug 19 10:58:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281424#comment-13281424 ]
Brian Stansberry commented on WFCORE-1724:
------------------------------------------
Unless I'm missing something I don't believe this is a bug.
CLI tab completion can't know that after you do the completion of the address you intend to do a read-resource op. So it presents the complete set of possibly valid options, including ones the could be used for an :add operation. If you then try to read a non-existent resource you get the correct failure.
> Resource.NoSuchResourceException managementResourceNotFound for native-interface and native-remoting-interface
> --------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-1724
> URL: https://issues.jboss.org/browse/WFCORE-1724
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 3.0.0.Alpha5
> Reporter: Chao Wang
> Assignee: Brian Stansberry
>
> management-interface {{native-interface}} and {{native-remoting-interface}} are listed under address:
> /core-service=management/management-interface=
> http-interface native-interface native-remoting-interface
> But the read-resource operation causes Resource.NoSuchResourceException
> {noformat}
> [wangc at dhcp-128-40 DR]$ sh jboss-eap-7.1-DR3/bin/jboss-cli.sh
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] embed-server
> [standalone at embedded /] /core-service=management/management-interface=
> http-interface native-interface native-remoting-interface
> [standalone at embedded /] /core-service=management/management-interface=native-interface:read-resource
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"management-interface\" => \"native-interface\")
> ]' not found",
> "rolled-back" => true
> }
> [standalone at embedded /] /core-service=management/management-interface=native-remoting-interface:read-resource
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"management-interface\" => \"native-remoting-interface\")
> ]' not found",
> "rolled-back" => true
> }
> {noformat}
> It gives same error in standalone mode and ember-server mode since 7.1-DR2.
> 7.1-DR1 is fine when it's on Wildfly core 2.2.0.CR7
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list