Comments on: WLST script to add DataSource and DBAdapter EIS Connection Factory https://technology.amis.nl/2012/02/16/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 http://wordpress.org/?v=4.2.2 By: Kamal https://technology.amis.nl/2012/02/16/wlst-script-to-add-datasource-and-dbadapter-eis-connection-factory/#comment-7222 Fri, 22 Jun 2012 06:12:08 +0000 http://technology.amis.nl/blog/?p=15480#comment-7222 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.

Thanks,
Kamal

]]>
By: Michel Schildmeijer https://technology.amis.nl/2012/02/16/wlst-script-to-add-datasource-and-dbadapter-eis-connection-factory/#comment-7043 Mon, 20 Feb 2012 08:32:26 +0000 http://technology.amis.nl/blog/?p=15480#comment-7043 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 https://technology.amis.nl/2012/02/16/wlst-script-to-add-datasource-and-dbadapter-eis-connection-factory/#comment-7041 Sun, 19 Feb 2012 16:09:59 +0000 http://technology.amis.nl/blog/?p=15480#comment-7041 By the way Richard ( at the bottom of this link ) https://forums.oracle.com/forums/thread.jspa?threadID=1079094  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 https://technology.amis.nl/2012/02/16/wlst-script-to-add-datasource-and-dbadapter-eis-connection-factory/#comment-7040 Sun, 19 Feb 2012 15:45:16 +0000 http://technology.amis.nl/blog/?p=15480#comment-7040 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
like
appPath='/app/oracle/middleware/soa11g/soa/connectors/DbAdapter.rar'
planPath='/app/oracle/middleware/soa11g/soa/connectors/DbAdapterPlanGenerated.xml'

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 https://technology.amis.nl/2012/02/16/wlst-script-to-add-datasource-and-dbadapter-eis-connection-factory/#comment-7039 Fri, 17 Feb 2012 07:58:39 +0000 http://technology.amis.nl/blog/?p=15480#comment-7039 Really an awesome blog to be appreciable, it covers some significant matters that are very helpful and needful.

]]>