适用版本

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

解决方案:

This Jython script parses the provided arguments, and based on them, performs the deployment task.

The first step is to establish a connection to the Administration Server. From there, the script will perform the deploy() function to a particular target.

By default, this deployment is without upload: that is, application files are not uploaded to the WebLogic Server Administration Server's upload directory prior to deployment. It should be performed on the same machine where the WLS admin server is located.

如何运行:

To run this script, please follow these steps:

    1. Copy and paste the code from this article to a file "deployApplication.py"
    2. Access the machine where the Admin server is located.
    3. Set the domain environment using the script:
      $ WL_HOME/user_projects/domains/<DOMAIN>/. bin/setDomainEnv.sh
    4. Run the script as follows:
      $ java weblogic.WLST deployApplication.py -u
      username -p password -a adminUrl (hostname:port) -n deploymentName -f
      deploymentFile -t deploymentTarget

最新文章

  1. 项目安排(离散化+DP)
  2. paip.语义分析--单字词形容词表180个
  3. HTML::Entities 编码或解码 HTML 实体的字符串
  4. haproxy 中的http请求和https请求
  5. unity 隐藏GameObject的方法(转)
  6. C# Bootstrap table之 分页
  7. Mongodb---操作备忘
  8. MySQL随笔(1)
  9. string[]转list&lt;long&gt;,List转字符串
  10. windown 下最简单的安装mysql方式
  11. 001_获取nginx证书
  12. spring ----&gt; ResourceBundle [message] not found for MessageSource: Can&#39;t find bundle for base name message, local_zh
  13. Python+Selenium学习--操作测试对象
  14. android sqlite应用优化(资料整理)
  15. Java第十次作业--多线程
  16. django 配置xamdin遇到的坑
  17. zigzag数组实现
  18. BZOJ1951:[SDOI2010]古代猪文(Lucas,CRT)
  19. XCTest(二)
  20. VMware 虚拟机安装及部署

热门文章

  1. ISO/IEC 9899:2011 条款6.5.7——按位移位操作符
  2. 手机wifi连上Fiddler后无网络问题解决
  3. linux非root用户安装5.7.27版本mysql
  4. datax实例——全量、增量同步
  5. UCloud云盘系统安装
  6. Slf4j与log4j及log4j2、logbak的关系及使用方法
  7. easyui前台改变datagrid某单元格的值
  8. 07点睛Spring4.1-BeanPostProcessor
  9. UML学习笔记:类图
  10. 找出整数数组中出现次数超过数组长度一半的元素(Java)