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

  • JBoss:Developer's Guide
  • Elvadas Nono Woguia
  • 172字
  • 2021-07-02 18:37:28

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?

主站蜘蛛池模板: 稻城县| 禄劝| 元谋县| 九江市| 建平县| 望城县| 井陉县| 晋城| 灌阳县| 左贡县| 苏尼特左旗| 武强县| 山西省| 禄劝| 新闻| 和林格尔县| 临沧市| 乐安县| 余干县| 溧阳市| 云林县| 恩施市| 龙井市| 钦州市| 屏南县| 台安县| 灵川县| 九江市| 濉溪县| 巴南区| 台中县| 如东县| 中卫市| 宁武县| 长春市| 五指山市| 绩溪县| 吉林省| 德阳市| 视频| 荣昌县|