java weblogic.wlst_如何通过wlst部署应用程序到weblogic12c上

本文介绍了一种使用Jython脚本部署应用程序到Oracle WebLogic Server的方法。该脚本支持从管理服务器进行部署,并且默认情况下不会上传应用文件。部署过程需要在同一台机器上执行,该机器上运行着WebLogic管理服务器。
摘要由CSDN通过智能技术生成

适用版本

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:

Copy and paste the code from this article to a file "deployApplication.py"

Access the machine where the Admin server is located.

Set the domain environment using the script:

$ WL_HOME/user_projects/domains//. bin/setDomainEnv.sh

Run the script as follows:

$ java weblogic.WLST deployApplication.py -u

username -p password -a adminUrl (hostname:port) -n deploymentName -f

deploymentFile -t deploymentTarget

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值