[jboss-jira] [JBoss JIRA] (WFLY-3791) Error on ModelControllerClient to list sections

Darran Lofthouse (JIRA) issues at jboss.org
Fri Aug 29 05:25:00 EDT 2014


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

Darran Lofthouse commented on WFLY-3791:
----------------------------------------

Yes I understand you are using the latest version, however are you using the default configuration or a clean configuration?  Looking at your test code it is on the basis that you are using a modified configuration - what I am asking is that you run your test against an unmodified version of the configuration.

An no at this point I have not tried your java code, I have just verified that the security subsystem is accessible on a default installation at the same address as it has always been.  The thing I need to know now is do you experience this error in a clean installation or only in your customised installation.


> Error on ModelControllerClient to list sections
> -----------------------------------------------
>
>                 Key: WFLY-3791
>                 URL: https://issues.jboss.org/browse/WFLY-3791
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.1.0.Final
>         Environment: Java 7
>            Reporter: ofbiz brazil
>            Assignee: Darran Lofthouse
>
> Hello,
> When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.
> Java Code:
> --------------
>   	final ModelNode request = new ModelNode();
>     	request.get(ClientConstants.OP).set("read-resource");
>     	request.get("recursive").set(true);
>     	request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
>     	final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
>     	final ModelNode response = client.execute(new OperationBuilder(request).build());
>         final String section = response.get(ClientConstants.RESULT).get("security-domain")
>                 .get("pw_MSSQL_CAS_DS")
> Result:
> ---------
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
>     "rolled-back" => true
> }
> Cheers,



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list