用命令管理weblogc的部署

利用 java -cp /weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.Deployer -help 查看选项,用命令行进行操
Usage: java weblogic.Deployer [options] [action] [Deployment units(s)]

where options include:
    -help             Print the standard usage message.           
    -version          Print version information.                  
    -adminurl <<protocol>://<server>:<port>> [option] Administration    
                      server URL: default t3://localhost:7001     
    -username <username> [option] user name                          
    -password <password> [option] password for the user              
    -userconfigfile <userconfigfile> [option] The user config file      
                      contains the user security credentials; it  
                      is administered by the weblogic.Admin tool  
    -userkeyfile <keyConfigFile> [option] The users key file; it is     
                      administered by the weblogic.Admin tool.    
    -distribute       [action] Distribute application to the      
                      targets.                                    
    -start            [action] Makes an already distributed       
                      application available on a target.          
    -stop             [action] Makes an application unavailable on
                      targets.                                    
    -redeploy         [action] Replace a running application      
                      partially or entirely.                      
    -undeploy         [action] Take an application out of service.
    -deploy           [action] Make an application available for  
                      service.                                    
    -update           [action] Update an application configuration
                      in place.                                   
    -examples         [option] Displays example usage of this tool.
    -name <application name> [option] Defaults to the basename of the   
                      deployment file or directory.               
    -targets <<target(s)>> [option] A comma separated list of targets  
                      for the current operation. If not specified,
                      all configured targets are used. For a new  
                      application, the default target is the      
                      administration server.                      
    -plan <Deployment plan path> [option] Specifies location of         
                      deployment plan                             
    -library          [option] Indicates that the unit being      
                      deployed is a library. This option is       
                      required when the application is a library. 
    -advanced         Print advanced usage options.               

The optional trailing arguments are deployment units and may
represent the archive being deployed, the name of a previously
deployed application or a list of files for a partial redeploy operation.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值