title: WAS: Jython script to map module to servers after install
body: <p>We are using UrbanCode Deploy to install ear files to WAS. The install step works but afterwards mapping a particular resource to servers step fails. </p>
  
  <p>As shown below, there are two modules in the ear file, using the same UCD step, the first module mapping went through but the 2nd failed. I want to write my own script to do this failed mapping. What's the command to do this mapping for the 2nd module?</p>
  
  <pre><code>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
  </code></pre>