Apparently -Pdeploy deploys activemq-ra.rar and destination, but not the quickstart application. Plus, -Pdeploy install always end with BUILD FAILURE, I guess the:reload command in the config.cli causes it:
[INFO] --- wildfly-maven-plugin:1.0.2.Final:deploy-only (deploy) @ switchyard-jca-inflow-activemq ---
|
[INFO] ------------------------------------------------------------------------
|
[INFO] BUILD FAILURE
|
[INFO] ------------------------------------------------------------------------
|
[INFO] Total time: 9.445 s
|
[INFO] Finished at: 2015-02-19T23:21:06+09:00
|
[INFO] Final Memory: 69M/692M
|
[INFO] ------------------------------------------------------------------------
|
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy-only (deploy) on project switchyard-jca-inflow-activemq: Could not execute goal deploy-only on /home/tomo/workspace/SwitchYard/quickstarts/jca-inflow-activemq/target/switchyard-jca-inflow-activemq.jar. Reason: I/O Error could not execute operation '{
|
[ERROR] "operation" => "read-attribute",
|
[ERROR] "address" => [],
|
[ERROR] "name" => "launch-type"
|
[ERROR] }': java.net.ConnectException: JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed: connection refused
|
[ERROR] -> [Help 1]
|
[ERROR]
|
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
|
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
|
[ERROR]
|
[ERROR] For more information about the errors and possible solutions, please read the following articles:
|
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
|
|