$AdminApp install C:/IvtApp.ear "-appname IvtApp -usedefaultbindings -verbose true -MapModulesToServers{{ivtApp ivt_app.war,WEB-INF/web.xml WebSphere:cell=X1185J5Z2T91Node02Cell,node=X1185J5Z2T91Node02,server=server1}}"
I get the following errors:
WASX7015E: Exception running command: "$AdminApp install C:/IvtApp.ear "-appname IvtApp -usedefaultbindings -verbose true -MapModulesToServers{{ivtApp ivt_app.war,WEB-INF/web.xml WebSphere:cell=X1185J5Z2T91Node02Cell,node=X1185J5Z2T91Node02,server=server1}}""; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7111E: Cannot find a match for sup
plied option: "[ivtApp, ivt_app.war,WEB-INF/web.xml, WebSphere:cell=X1185J5Z2T91
Node02Cell,node=X1185J5Z2T91Node02,server=server1]" for task "MapModulesToServer
s"
Any inputs??
$AdminApp taskInfo C:/IvtApp.ear MapModulesToServers
Other ideas:
Watch out for case sensitive matching. Put the string options containing "," in quotes (you can use curly {} instead of quotes to bracket the entire option list to avoid quotes in quotes problems).
//Stephen
Note that WAR_X and JAR_X are not just names: they *MUST* appear in the descriptors respectively (web.xml or ejb_jar.xml).
for example:
in the web.xml
WAR_X ...
or in the ejb-jar.xml:
JAR_X...
if they do not, you will end with the exception "WASX7111E: Cannot find match for supplied option"
for these cases, to be generic, one can decide that he wants to put all his WARs on server1 and all JARs on server2. so it will use "*":
-blablabla [[".*", ".*.war,.*", "WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server1"], [".*", ".*.jar,.*", "WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server2"]]
hope it helps,
ohad redlich
-blablabla [
['.#',
'.#.war,.#',
'WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server1'],
['.#',
'.#.jar,.#',
'WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server2']
]
ohad redlich
BMC SW
-blablabla [[".*", ".*.war,.*", "WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server1"], [".*", ".*.jar,.*", "WebSphere:cell=ohadrCell02,node=ohadrNode02,server=server2"]]
ohad redlich
BMC SW