[jboss-jira] [JBoss JIRA] (AS7-4169) CLI: ls fails on <ear>/<war>/subsystem=web
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Wed Mar 14 08:13:48 EDT 2012
[ https://issues.jboss.org/browse/AS7-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676682#comment-12676682 ]
Ondrej Zizka commented on AS7-4169:
-----------------------------------
I'm not sure if `ls` is valid operation on the subsystem, but if it is, IMO it should not end with an error, rather an empty response.
> CLI: ls fails on <ear>/<war>/subsystem=web
> ------------------------------------------
>
> Key: AS7-4169
> URL: https://issues.jboss.org/browse/AS7-4169
> Project: Application Server 7
> Issue Type: Bug
> Components: CLI
> Affects Versions: 7.1.1.Final
> Reporter: Ondrej Zizka
> Assignee: Dominik Pospisil
> Attachments: javaee-inject-example-ear-1.5.4.ear
>
>
> STR:
> 1) Deploy the attached EAR (quickstart in development, not necessarily correct).
> 2) in CLI: $ cd /deployment=javaee-inject-example-ear-1.5.4.ear/subdeployment=javaee-inject-example-war/subsystem=web
> (pwd should verify that path)
> 3) $ ls fails with:
> {code}
> JBAS014807: Management resource '[
> (\"deployment\" => \"javaee-inject-example-ear-1.5.4.ear\"),
> (\"subdeployment\" => \"javaee-inject-example-war\"),
> (\"subsystem\" => \"web\")
> ]' not found
> {code}
> Full log:
> {code}
> [disconnected /] connect
> [standalone at localhost:9999 /] cd /deployment=javaee-inject-example-ear-1.5.4.ear/subdeployment=javaee-inject-example-war/subsystem=web
> [standalone at localhost:9999 subsystem=web]
> [standalone at localhost:9999 subsystem=web] pwd
> /deployment=javaee-inject-example-ear-1.5.4.ear/subdeployment=javaee-inject-example-war/subsystem=web
> [standalone at localhost:9999 subsystem=web]
> [standalone at localhost:9999 subsystem=web] ls
> Failed to fetch the list of children: {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => ["servlet"],
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[
> (\"deployment\" => \"javaee-inject-example-ear-1.5.4.ear\"),
> (\"subdeployment\" => \"javaee-inject-example-war\"),
> (\"subsystem\" => \"web\")
> ]' not found",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014807: Management resource '[
> (\"deployment\" => \"javaee-inject-example-ear-1.5.4.ear\"),
> (\"subdeployment\" => \"javaee-inject-example-war\"),
> (\"subsystem\" => \"web\")
> ]' not found"}},
> "rolled-back" => true
> }
> [standalone at localhost:9999 subsystem=web]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list