Tuesday 26 September 2017

BINDING.JCA-12563 resolution

We were facing below issue :-

<root class="oracle.fabric.common.FabricInvocationException">
BINDING.JCA-12563
Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Apps_credit_pkg ' failed due to: Stored procedure invocation error.
Error while trying to prepare and execute the Apps_credit_pkg.
An error occurred while preparing and executing the Apps_credit_pkg. Cause: java.sql.SQLRecoverableException: Closed Connection
Check to ensure that the API is defined in the database and that the parameters match the signature of the API.  This exception is considered retriable, likely due to a communication failure.  Because the global transaction is rolling back the invoke must be retried in a new transaction, restarting from the place of the last transaction commit.  To classify it as non-retriable instead add property nonRetriableErrorCodes with value "17008" to your deployment descriptor (i.e. weblogic-ra.xml).
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.


We followed below steps:-
1.)Recompile Pl-sql package
2.)Redeployed soa composite
3.)Restart SOA Server

But nothing worked :-) . Finally We tried below solution on Pl-sql package.

1.)Recompile package by making change in signature or some parameters.
2.)Recompile with original package.

It worked. I think , it was issue with some cache stuff which worked when we compile wrong code and then again compile the right code.

Strange but have to accept the hit and trial methods sometimes :-)

Monday 11 September 2017

How to change http response code in OSB

We came through requirement, where client requires specific http response codes for different responses/errors in OSB in REST JSON integration.
The below is the workaround in OSB:-

We have to use insert activity in response pipeline like below:-





To verify this, We can test from SOAPUI :-


Thursday 13 July 2017

Not able to view Resource folder in Bpel Project

I had created BPEL project in soa 12c. After some days, I noticed my project is not showing Resources folder.
After spending so much time, i found below solution:-


  1. Go to Project .jpr file
  2. Right click and edit it in notepad
  3. Remove the below highlighted code from .jpr file

       4. Save the file. You will be able to see the resource folder.