Hi Guys,
I am trying to install a application using wsadmin script wherein I am providing following MapResRefToEJB parameter to the AdminApp.install command-
-MapResRefToEJB',[['Disable','*','DisableCRI.war,WEB-INF/web.xml','cidDatasource','jdbc/cidDatasourceCRI','null','']]
I dont have EJB jar in my EAR. Only a single WAR file is present.
When I run below taskInfo command, I get output as follows -
AdminApp.taskInfo("/DisableCRI.war","MapResRefToEJB");'\nMapResRefToEJB: Mapping resource references to resources\n\nEach resource reference that is defined in your application must be mapped to a resource.\n\nWASX7348I: Each element of the MapResRefToEJB task consists of the following 8 fields: "Module", "EJB", "URI", "Reference binding", "Resource type", "JNDI name", "Login Configuration Name", "Properties", \nOf these fields, the following are required and used as keys to locate the rows in the task: "Module", "EJB", "URI", "Reference binding", "Resource type". \nand the following may be assigned new values: "JNDI name" \n\nThe current contents of the task after running default bindings are:\nModule: Disable\nEJB: \nURI: DisableCRI.war,WEB-INF/web.xml\nReference binding: cidDatasource\nResource type: javax.sql.DataSource\nJNDI name: cidDatasource\nLogin Configuration Name: null\nProperties: \n\n'But everytime I run the script, I am getting below error -
WASX7017E: Exception received while running file "was_deploy.py"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7111E: Cannot find a match for supplied option: "[Disable, *, DisableCRI.war,WEB-INF/web.xml, cidDatasource, jdbc/cidDatasourceCRI, null, ]" for task "MapResRefToEJB"Can anybody help me out to get out of this error ? Its a bit urgent. Thanks!