Comments on: WLST script to add DataSource and DBAdapter EIS Connection Factory Friends of Oracle and Java Thu, 21 May 2015 20:49:51 +0000 hourly 1 By: Kamal Fri, 22 Jun 2012 06:12:08 +0000 Hi,
I’m new to this WLST script. I’m trying to do this.
BTW, you have provided the Python script in this article but I’m confused where to keep this script and how to run.
Please clarify.


By: Michel Schildmeijer Mon, 20 Feb 2012 08:32:26 +0000 Hi Edwin
Thanks for you input
About the hard paths
You als could set the paths in you property file instead of the run script
First get the ORACLE_HOME thats been set
oracleHome = os.environ.get(“ORACLE_HOME”)
And add this to you plan and app path:
appPath= oracleHome + ‘/soa/connectors/DbAdapter.rar’

planPath=oracleHome + ‘/soa/connectors/DbAdapterPlanGenerated.xml’
About specific connectionfactory settings, it depends on wht you want to create with it. I’ll try to extend it with more options later on.


By: Edwin Biemond Sun, 19 Feb 2012 16:09:59 +0000 By the way Richard ( at the bottom of this link )  made some great adjustments to this script
The above sample worked, but I changed 2 things.1. Load the existing plan that was used to update DbAdapter, and modify that plan2. when the variables aready exists in the script came in an infinete loop, so the variables and variable Assignments are deleted seperatly

By: Edwin Biemond Sun, 19 Feb 2012 15:45:16 +0000 Hi,
great post, I was always wondering if it is possible. but it would be great to make it more flexible and add some warnings

this is a hard path to your soa env and also has a DB plan with a hard value.
And second you can only add the XA Datasource property , sometimes you need to add the datasource or set transacted.
but I make some ANT macrodefs and use it in my scripts, also do this for AQ and JMS and make it more flexible.
Keep up the good work.

By: Website Designing Jaipur India Fri, 17 Feb 2012 07:58:39 +0000 Really an awesome blog to be appreciable, it covers some significant matters that are very helpful and needful.