Undeploy non default, retired or inactive soa suite composites using java

When building a lot of soa suite composites, your environments end up with many different versions. So we might end up with 3 LocationService composites with versions[1.0.0.0], [1.0.1.0] and [1.0.2.0] which is the default. This takes up resources and clutters the EM. So you might want to have a way to remove these easily with having to go to the EM and manually uninstalling all of them with the risk Continue ReadingUndeploy non default, retired or inactive soa suite composites using java

Issue Soa Suite 12.1.3 Context of the same RID xxxxxx already present in this family

Lately in our production environment we saw that when some of our services where called in rapid succession, some of them failed. Under normal load we never had issues but under bigger load we saw the following error in our BPEL instances: Failure in Oracle WSM Agent, category= security, function=agent.function.client, stage=fault due to RuntimeException. java.lang.IllegalArgumentException: Context of the same RID, 0:1:4 already present in this family, f42da30f-5c89-49d9-a4fd-bd2b7e80644e-00154a3f. It also seemed Continue ReadingIssue Soa Suite 12.1.3 Context of the same RID xxxxxx already present in this family

Add client certificate for outgoing OSB call

Simple use case……you want to connect to a customer system over the internet. The customers system has an API but requires 2-way SSL. This means we have to send a client certificate along to make sure the SSL handshake can be completed. If your server has already a server certificate installed, it will send this one along by default but the customers system won’t accept it as it is different Continue ReadingAdd client certificate for outgoing OSB call

Using JMX to list installed 12C OSB and SOA projects including versions using Java

OFM

Lately we where looking for a way to easily list all the services (OSB and SOA) installed on our DTAP machines. A CMDB works as well as it is maintained. As this is tedious and manual labour, we all know from experience that the CMDB is never fully correct. So how do we know then what is installed where? We can open the EM and the sbconsole and have a Continue ReadingUsing JMX to list installed 12C OSB and SOA projects including versions using Java

SOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

“JSON Web Token (JWT) is a JSON-based open standard (RFC 7519) for creating access tokens that assert some number of claims. For example, a server could generate a token that has the claim “logged in as admin” and provide that to a client. The client could then use that token to prove that it is logged in as admin. The tokens are signed by the server’s key, so the client Continue ReadingSOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

SOA Suite 12C : Patch to fix the JDev business rule component performance

A while back I did a post about the business rule engine. See here. In the end of the post I added some considerations. One was the very annoying performance of the business rule component in JDev when using decision tables. If you were editing them, the memory usage started growing and after 5 minutes JDev would crash. Also editing large decision tables was very slow. The worst part back Continue ReadingSOA Suite 12C : Patch to fix the JDev business rule component performance

SOA Suite 12C: Add version information to your ServiceBus projects using custom maven plugin

maven

As you have seen in my previous posts it is possible to build your SB and SOA components using Maven. See here. One of the issues we encountered is that building ServiceBus projects supports some very basic maven stuff. For example the description property in the maven pom file is not mapped to the description field of a service bus project which would have been nice as this is the Continue ReadingSOA Suite 12C: Add version information to your ServiceBus projects using custom maven plugin

OFM 12C: Running WLST scripts in your build pipeline using the weblogic-maven-plugin

CI

When you are building and deploying servicebus or soa composites to the server, you will have the certain dependencies with the server such as datasources or JMS resources. Those resources must be there if you want to deploy. A best practice is of course to script these. You can use WLST to run .py script which create your resources. The only problem is you want to know for sure the Continue ReadingOFM 12C: Running WLST scripts in your build pipeline using the weblogic-maven-plugin

OFM 12C: Slow SB deployment issue

Working with 12C a while, we started noticing that the deployment of our SharedResources SB project started to slow down. This project contains re-usable resources and contracts. The strange thing was that it was only this specific SB project. All the other projects where fine. Both deploying in JDeveloper and deploying using Maven started at around 40 seconds but after a while, it went up to 10 minutes even which Continue ReadingOFM 12C: Slow SB deployment issue

Custom 11G XPath function not showing up in JDeveloper 12C

You can write your own XPath lib in Java to make certain things easier and re-usable. For an example see here. From the documentation of 12C, nothing indicated that things would have been changed so I stuck in an old library and restarted JDev. When I opened the xslt mapper, I didn’t see my functions under User Defined. This made me wonder if maybe something did have changed. Last week Continue ReadingCustom 11G XPath function not showing up in JDeveloper 12C