Monday, July 25, 2011

To Change JNDI Name while Deploying SOA Projects

By changing in configuration plan.xml as mentioned below we can change JNDI Name

In this case "eis/DB/JNDI_NAME" is the old JNDI Name. So i am replacing with "eis/DB/JNDI_sample" this is my new JNDI Name

ConfigPlan.xml will search all files and replace with the new JNDI Name


<wsdlAndSchema name="ApInvoiceInterface.wsdl|ApInvoiceInterface_apps.jca|ApSupplierInterface.wsdl|ApSupplierInterface_apps.jca|ApSupplierSiteInterface.wsdl|ApSupplierSiteInterface_apps.jca|ErrorLoggingService.wsdl|ErrorLoggingService_db.jca|/RollBackDBService.xsd">
<searchReplace>
<search>eis/DB/JNDI_NAME</search>
<replace>eis/DB/JNDI_sample</search>
</searchReplace>
</wsdlAndSchema>

8 comments:

  1. Cool!!! Thanks for solution...i have been searching for this since morning....great help :)

    ReplyDelete
  2. I tried this in 12.2.1, its not replacing jndi locations of DB adapter

    ReplyDelete
  3. Its not working in 12C. Has anyone else got it working?

    ReplyDelete
  4. It is very good blog and useful for students and developer , Thanks for sharing


    Oracle SOA Online Training

    ReplyDelete
  5. Respect and I have a tremendous supply: How Many Houses Have Been Renovated On Hometown home kitchen remodel

    ReplyDelete