[jboss-jira] [JBoss JIRA] (WFLY-1321) CLI CommandContext reports exception, but manual entry of command succeeds.

Thomas Hauser (JIRA) jira-events at lists.jboss.org
Mon May 6 16:57:53 EDT 2013


Thomas Hauser created WFLY-1321:
-----------------------------------

             Summary: CLI CommandContext reports exception, but manual entry of command succeeds.
                 Key: WFLY-1321
                 URL: https://issues.jboss.org/browse/WFLY-1321
             Project: WildFly
          Issue Type: Bug
          Components: CLI
         Environment: Fedora 18 x86_64 

            Reporter: Thomas Hauser
            Assignee: Alexey Loubyansky


Using the CommandContext to attempt to run the following command: 

/core-service=management/security-realm=ManagementRealm/server-identity=ssl:add(keystore-path=/home/thauser/keys/vault/vault.keystore,keystore-password="${VAULT::ssl::password::ZjJlNjY4ZDEtMWI1OC00MzY4LTkwZGQtOGVlZjE4MWJhMDFhTElORV9CUkVBS3ZhdWx0}")

results in: 

May 06, 2013 4:35:46 PM org.jboss.as.cli.impl.CommandContextImpl printLine
ERROR: {
    "outcome" => "failed",
    "failure-description" => "JBAS014749: Operation handler failed: JBAS013311: Security Exception",
    "rolled-back" => true,
    "response-headers" => {"process-state" => "reload-required"}
}


However, running the same command with the jboss-cli.sh succeeds: 

[standalone at localhost:9999 /] /core-service=management/ldap-connection=ldap_connection/:add(search-credential="${VAULT::ldap_ldap_connection::password2::OTdkNzg5YWQtNGExZC00YzU0LTliODQtNDg3ODlkNjA0YTJlTElORV9CUkVBS3ZhdWx0}",url="ldap://127.0.0.1:389",search-dn="search-dn")

{"outcome" => "success"}

Note that the version of the AS this is being run against is 7.2.0.Final (I cannot select this in the Affects Version section) 



--
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