Sunday, 5 January 2014

Creation of connection pools with multiple properties in weblogic resource adapters using ant

Since there is already a blog post written by Edwin Beimond I wouldn't rewrite the entire deployment process . You can refer the post http://biemond.blogspot.in/2012/02/configure-weblogic-resource-adapters.html.


This is meant to configure multiple properties of adapters. The changes i made from the version of Beimond are
  • Read the path from the application 
  • Adding multiple properties to the connection factory




The properties should be  of the above mentioned format i.e. each property name should be followed by it's property value. For example the dataSource property has value of jdbc/hr which should be given as
dataSource:jdbc/hr

You can get the complete source from my git hub repository.

NOTE:
This works good as long as it's a local machine . If it is a remote server you have to run this from the machine where the web logic server is running.

No comments:

Post a Comment