Sunday, December 20, 2015

Using Properties File with Java Code in SOA12c

-------------------------------------------------------------------
This blog post contains few points which I learnt through my experience while working in Oracle SOA 12c Server Setup and Deployments.
-------------------------------------------------------------------- 
I was working on a issue where I have to read properties file called in a Java Code through BPEL component. We copied the file in the code location, but post deployment it is not bee called by Java Class file. Then the best way we found to read the file as a Library present in SCA-INF folder, and this resolved our issue.

So, while calling a properties or any other file to be used by SOA component is to copy in <<Code_Location>>/sca-inf/lib folder.

Note:- This workaround is used when you are not allowed to copy the file at some server location or not allowed to copy it in MDS.

Please help me with your feedback and comments.

2 comments:

B2B Features with OIC

During last couple of months various new features are getting introduced in Oracle Integration Cloud, out of those there is a new feature f...