官术网_书友最值得收藏!

JBoss CLI deployment

To deploy an application using the JBoss CLI, first connect to the native domain controller interface, then use the deploy method to add a deployment to a server group:

bin$ ./jboss-cli.sh --connect --controller=127.0.0.1:9999
[domain@127.0.0.1:9999 /] deploy $WORKSPACE/jbossas/beosbank-web/beosbank-web.war --server-group dev03

#you can also force deployment and check the result status with
[domain@127.0.0.1:9999 /] /server-group=dev03/deployment=beosbank-web.war:read-resource
{ "outcome" => "success",
"result" => {
"enabled" => true,
"name" => "beosbank-web.war",
"runtime-name" => "beosbank-web.war"
} }
[domain@127.0.0.1:9999 /] /server-group=dev03/deployment=beosbank-web.war:deploy
{
"outcome" => "success",
"result" => undefined,
"server-groups" => {"dev03" => {"host" => {
"host1" => {"node13" => {"response" => {
"outcome" => "success",
"result" => undefined
}}},
"host2" => {"node23" => {"response" => {
"outcome" => "success",
"result" => undefined
}}}
}}}
}

Deployment can be performed on a specific server group using the --server-group option. Once deploy you can verify the deployment status with the read-resource function. JBoss CLI deployment assumes you have a JBoss binary script, What about deployment in continuous delivery pipelines using Java EE standard tools such as Maven?

主站蜘蛛池模板: 鲁山县| 英吉沙县| 华安县| 从化市| 榆树市| 雅安市| 如皋市| 岳池县| 衡阳市| 禄劝| 澄江县| 克什克腾旗| 德格县| 彩票| 阳信县| 宝兴县| 汨罗市| 西安市| 伊宁市| 巴里| 双城市| 安陆市| 随州市| 溧水县| 黑河市| 丰原市| 平昌县| 阜南县| 兴化市| 措美县| 托克托县| 宜兰县| 临海市| 曲周县| 湄潭县| 凤阳县| 铜川市| 拜泉县| 德钦县| 平阳县| 民县|