[Xmltask-users] Mapping the Data source
Brought to you by:
bagnew
From: Praveen K. K. <PraveenK@4CS.COM> - 2009-07-23 14:19:32
|
Hi, Am using WebSphere6.1 server, I want to modify the jndiName from "jdbc/DataSource" to "newDataSource" in "ibm-web-bnd.xmi" file. How can we modify the jndiName Using XML Task. Here is the in "ibm-web-bnd.xmi" file Structure. <webappbnd:WebAppBinding xmi:version="2.0" irtualHostName="default_host"> <webapp href="WEB-INF/web.xml# "/> <resRefBindings xmi:id="ResourceRefBinding_123456789" jndiName="jdbc/DataSource"> <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_123456789"/> </resRefBindings> </webappbnd:WebAppBinding> Here I already created a Data Source in admin Console with jndi name "jdbc/newDataSource" ,I want to map the new Data Source Using build.xml , am trying to do is to update the data source from "jdbc/DataSource" to "jdbc/newDataSource" while deploying the Ear file using build.xml in admin console. Can we create a new data source Using jacl commands . Bye Praveen |