DbAdapter Plan Updates from Remote WLST connection - maven

I am creating a Maven based remote deployment setup for weblogic and SOA.
I am using a python script which is executing remotely.
I have successfully managed to get it to create/update JDBC connections.
I now wish to update the DbAdapter deployment plan with the new JDBC connection. (Later I want to do this with the JMSAdapter as well)
I have found many links online which show how to do this via a local WLST connection.
https://redstack.wordpress.com/2012/08/09/automating-creation-of-jdbc-data-sources-and-dbadapter-plan-updates-and-redeployment/
I am getting an error with my remote script with the line:
plan = loadApplication(appPath, planPath)
The consensus online is that loadApplication will not work remotely.
A couple of different sources mention this but no source offers any workaround.
Is there a WLST based remote API I can use to add the configuration?
Can I download the plan.xml, alter it and re-upload it through WLST? (If so any tutorials?)
Is there an easier method that I am missing?
Thanks for any help.

Related

Self-Hosted Integration Runtime times out after ADF pipeline loads a few tables

I have recently installed Integration Runtime for a local server which hosts an Access DB. The idea is to pull data from it and store in in Azure SQL DB. I have done the following:
Integration Runtime Services Installed on local machine hosting the MS Access DB and connected to it using ODBC
Created linked services in ADF to connect to the DB
Created Datasets for source and destination DB for each table required. One for the source msaccess and one for the target in azure sql db
Created a pipeline to copy the data from the source and sink into the asql db mentioned in step #3
Basically, all the connections work however when I trigger my pipeline to load around 10 of these tables, it runs and loads the first two and then fails afterwards by timing out. I must restart the Integration Runtime everytime to get it back up and running otherwise I can no longer query the tables.
To mitigate this I figured there was too much traffic and the server needed to rest between calls so I added wait timers in between each step of the pipelines but not much success. It did help a bit but that might be coincidence.
The error log in the monitor spits out at the failed step is :
Error: 2200
ErrorCode=UserErrorFailedToConnectOdbcSource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=,Source=Microsoft.DataTransfer.Runtime.GenericOdbcConnectors,''Type=System.Data.Odbc.OdbcException,Message=,Source=,'
btw the integration runtime install service running is 5.12.7984.1 and the version of access installed is through office 365 x64. The exact MS access driver is 16.14430.20006. The OS is Windows Server 2019
I am getting the exact same error. To start, I did check the event viewer logs and saw some errors to do with access. So I gave the user running the IR more access to the registry keys/general log on as a service rights. This helped a little, but I am still stuck with the same problem.
When copying from an Access DB located on the SHIR itself to flat files in lake storage, I encountered the same error.
Removing Office 365 from the machine, then re-installing the Access runtime solved the problem.
This answer is from #ezaidi comments above.

Oracle Fusion Middleware SOA 11 silent configuration through config.sh

I need to install Oracle SOA Suite 11.1.1.7 on headless server.
This one:
Fusion Middleware Installation Guide for Oracle SOA Suite and Oracle Business Process Management Suite
I managed to install it through responseFile.rsp, which is a standard Oracle Universall installer file.
The second step is to configure a domain through
$SOA_ORACLE_HOME/common/bin/config.sh
This give me only a GUI Configurator like this one described here:
Fusion Middleware Creating Domains Using the Configuration Wizard
There is a console mode, but there is also an option --silent like in installer before, where variables are set in responseFile.rsp.
But I can't find any description of variables or responseFile.rsp which I can set for silent configuration setup I don't really want do it through console mode, because I want to provision domain through ansible role. Is there anybody who has an experience with this kind of instalation?
Thanks for any response.
I have achieved OSB domain setup using WLST and ansible. I have used below as my reference.
http://myofwexperiments.blogspot.in/2016/01/soa-clustered-domain.html
Try and keep me posted for any clarifications

service accounts configuration in template file in osb 11g

I need to configure service accounts for connecting to some of the services and for that we are required to configure the details in a template file.
So basically that means, I want to configure service account at run time.
We are using oracle service bus 11g.
Since I've never worked on service accounts before, any suggestions will be helpful.
I checked that we can do that at run time by fn-bea:lookupBasicCredentials XQuery function. but this is not what we want. We want to generated dynamically through the template files.

execute dashDB jobs from Workload Scheduler

I have created some stored procedures on my dashDB instance on Bluemix, to manipulate data in tables in the same instance.
I can run these from Data Studio and they work as intended.
Next, I created a process in Workflow Scheduler, which I provisions as a service in the same app, where the dashDB is also a service.
While creating the job step in the process, I noticed a message in the dialog window. I have attached a screen shot here:
http://i.stack.imgur.com/EI2b7.jpg
When I did try to run the process step from Workflow Scheduler, the process failed with a JDBC not found error.
I do realize that the Workflow agent I'm using is hosted on Bluemix, so I am puzzled how I can install the JDBC client there.
Should I be setting up an agent on a local machine outside of bluemix, in a hybrid mode?
Currently there are 2 possibilities:
Open a ticket to ask for a dedicated cloud agent and then download
the JDBC driver on the agent.
Download and install an agent on a VM or on-prem.
It looks like you have the incorrect value for "JDBC jar class path" the correct value is /home/wauser/utils/
I'm not sure why it is required that we put enter this but I was able to get the connection to dashDB working with this change.
JDBC jar class path: /home/wauser/utils/

JMeter software under test

I am doing a seminar on JMeter and I need to demo on some software. My professor say we need an open source software. So that we can set it up on local host and testing against it
The problem is I don't know which open source software should be used. I am new to JMeter and saw some examples with testing a website only
So can anyone tell me some open source software that can be put under test with JMeter?
Thanks in advance.
Yes, start with this GitHub project and then, since the project includes Groovy, and requires Maven to run, then you have 2 additional open source projects involved. All you have to do is run JMeter using the included .bat script and then create a TestPlan with a JSR223-Groovy sampler in it. (The project I mention above will launch a certain version of Jmeter 2.11)
You could also go one step further and install PostgresSQL (also open source) and then create a JDBC sampler that connects to it using Jmeter (because the Jmeter project I mentioned above also includes the postgres jdbc driver by default).
If you need a REST api to test against, then install Jenkins on your local computer and you can get Jmeter to perform rest queries against it.

Resources