[jboss-jira] [JBoss JIRA] (JBASMP-48) Exception ModelControllerClient is closed , when using beforeDeployment within a run execution

Akram Ben Aissi (JIRA) jira-events at lists.jboss.org
Wed Jul 10 09:55:20 EDT 2013


Akram Ben Aissi created JBASMP-48:
-------------------------------------

             Summary: Exception ModelControllerClient is closed , when using beforeDeployment within a run execution
                 Key: JBASMP-48
                 URL: https://issues.jboss.org/browse/JBASMP-48
             Project: JBoss AS Maven Plugins
          Issue Type: Bug
    Affects Versions: 7.4.Final
            Reporter: Akram Ben Aissi
            Assignee: James Perkins
            Priority: Critical



Here is the error stacktrace.

WARN: can't find jboss-cli.xml. Using default configuration values.
Jul 10, 2013 11:01:48 AM org.jboss.as.cli.impl.CommandContextImpl printLine
INFO: {"outcome" => "success"}
{"outcome" => "success"}
11:01:48,224 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/CelerioDS]
Jul 10, 2013 11:01:48 AM org.jboss.as.cli.impl.CommandContextImpl printLine
INFO: {"outcome" => "success"}
{"outcome" => "success"}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.749s
[INFO] Finished at: Wed Jul 10 11:01:48 CEST 2013
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.5.Final-SNAPSHOT:run (configure-jboss) on project jaas-hello-world: The server failed to start: Error executing FORCE_DEPLOY: Could not execute operation '{
[ERROR] "operation" => "read-children-names",
[ERROR] "address" => [],
[ERROR] "child-type" => "deployment"
[ERROR] }': java.lang.IllegalStateException: JBAS010641: ModelControllerClient is closed
[ERROR] -> [Help 1]


After debugging it appears that, the "client" object is closed after beforeDeployment.execute().
This leads to no more operation that can occur.




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