码迷,mamicode.com
首页 > Web开发 > 详细

如何通过wlst部署应用程序到weblogic12c上

时间:2019-11-25 09:47:41      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:and   his   not   方案   oca   block   from   str   follow   

适用版本

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

如何通过wlst部署应用程序到weblogic12c上

标签:and   his   not   方案   oca   block   from   str   follow   

原文地址:https://www.cnblogs.com/middlewaremagic/p/11925581.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!