<?xml version="1.0" encoding="GBK"?>
<project name="Depoly" default="build-all" basedir="E:/deploy">
<property file="./Deploy/eCooeFlowWeb.properties" />
<!-- stop service -->
<target name="stopService">
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
<classpath>
<fileset dir="${WL_HOME}/server/lib" includes="weblogic.jar" />
<fileset dir="${WL_HOME}/server/lib" includes="*.jar" />
</classpath>
</taskdef>
<wldeploy action="stop" name="${name}"
user="${username}" password="${password}"
verbose="true" adminurl="${adminurl}"
targets="${target2}" />
<wldeploy action="stop" name="${name}"
user="${username}" password="${password}"
verbose="true" adminurl="${adminurl}"
targets="${target1}" />
</target>
<!-- stop Node -->
<target name="stopNode" depends="stopService">
<exec dir="./Deploy" executable="cmd.exe">
<arg line="/c stopNode.bat"/>
</exec>
</target>
<!-- Redeploy test.war -->
<target name="redeploy_update" depends="stopNode">
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
<classpath>
<fileset dir="${WL_HOME}/server/lib" includes="weblogic.jar" />
<fileset dir="${WL_HOME}/server/lib" includes="*.jar" />
</classpath>
</taskdef>
<wldeploy
action="redeploy" verbose="true"
name="${name}"
user="${username}" password="${password}"
adminurl="${adminurl}" targets="${server}"
source="./${sourceName}" />
</target>
<target name="startNode" depends="redeploy_update">
<exec dir="./Deploy" executable="cmd.exe">
<arg line="/c startNode1~3.cmd"/>
</exec>
</target>
<target name="build-all" depends="startNode"/>
</project>
分享到:
相关推荐
WebLogic集群环境搭建 超级详细,自己手动搭建全部截图 WebLogic10 jdk6 绝对好用
linux下weblogic集群部署
Weblogic集群介绍.Weblogic集群介绍.
aix下配置weblogic集群 aix下配置weblogic集群 aix下配置weblogic集群 aix下配置weblogic集群 aix下配置weblogic集群
weblogic集群部署文档 weblogic集群部署文档 weblogic集群部署文档
WebLogic 集群中SSL 配置说明。WebLogic 集群中SSL 配置说明
Weblogic 集群傻瓜式安装部署,为需要得同行提供便捷。cd /weblogic/Oracle/Middleware/user_projects/domains/ams_domain/servers/AdminServer/ (3)、在AdminServer文件夹下创建security文件夹 [weblogic@...
WebLogic集群部署 单服务器 多服务器 资料 简单易懂的图文教程,绝对有用!!!
详细介绍了Linux环境下WebLogic集群的配置全过程,值得收藏啊
Weblogic 8.1.6在LINUX下部署集群
Linux下配置Weblogic集群.pdf
WebLogic集群配置,一步一步的说明如何实现weblogic集群配置。
Weblogic 集群搭建 安装weblogic(windows和linux操作步骤相同) 1、在命令行,进入安装文件wls1036_generic.jar所在文件夹 然后输入命令: java -jar wls1036_generic.jar 点击回车后程序会启动weblogic安装文件的...
weblogic集群详细的搭建步骤,绝对手把手的教你部署weblogic服务器以及集群的扩容.zip
weblogic 11G 下部署war包无法正常启动,解压部署可以正常启动的问题
Weblogic集群概念和配置 Domain Administrator Server Managed Server Machine Node Manager Cluster
WebLogic集群配置和负载均衡的实现
weblogic 集群 OA系统安装与部署图文并茂!
搭建weblogic集群服务器的详细教程,可以配置多台服务器。版本webogic 10.3.6,其他版本搭建相似