[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 09:25:47 EDT 2012


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

Ondrej Zizka commented on AS7-4169:
-----------------------------------

So the EAR was invalid, the deployment didn't have .war extension. Now it's ok:

{code}
...
14:06:48,463 INFO  [org.jboss.web] (MSC service thread 1-8) JBAS018210: Registering web context: /example
...
{code}

{code}
[standalone at localhost:9999 deployment=javaee-inject-example-ear-1.5.4.ear] cd subdeployment=javaee-inject-example.war
[standalone at localhost:9999 subdeployment=javaee-inject-example.war] ls
subsystem
[standalone at localhost:9999 subdeployment=javaee-inject-example.war] ls subsystem=web
servlet                     context-root=/example       virtual-host=default-host
{code}

                
> 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