我们正在使用UrbanCode Deploy将ear文件安装到WAS。安装步骤有效,但之后将特定资源映射到服务器步骤失败。
如下图所示,ear文件中有两个模块,使用相同的UCD步骤,第一个模块映射经过但第二个模块失败。我想编写自己的脚本来执行此失败的映射。为第二个模块执行此映射的命令是什么?
WMOServicesWeb WMOServicesWeb.war,WEB-INF/web.xml Web Module WebSphere:cell=uauswad03Cell,node=uauswad03Node,server=ConnectAppSvr2
WebSphere:cell=uauswad03Cell,node=uauswad03IHS,server=webserver
ECIResourceAdapter ResourceAdapter6022.rar,META-INF/ra.xml Connector Module WebSphere:cell=uauswad03Cell,node=uauswad03Node,server=ConnectAppSvr2
WebSphere:cell=uauswad03Cell,node=uauswad03IHS,server=webserver
答案 0 :(得分:0)
此处详细解释了类似的情况:Deploy to Websphere cluster using WAS - Deploy plugin
从上面的链接
Use the following one (substitute module names with .*):
-MapModulesToServers [[ .* .* WebSphere:cell=IBM277-
R90FKAU9Cell01,cluster=Cluster1+WebSphere:cell=IBM 277-
R90FKAU9Cell01,node=IBM277-R90FKAU9Node01,server=webserver1 ]
This will map all EAR modules to the same targets.