Hi Guys,
I faced a very irritating error while using Java embedding in my BPEL process in SOA Suite 11g, all I was trying to do is string replace and when I compile the composite I was getting the error SCAC-50012 in the jdeveloper compiler window without any detailed error description.I was asked to look into the scac.log file under SCA-INF directory of the composite. When I had a look at the scac.log file, I saw the following error.
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform
After beating around the bush for around an hour, I found the clue from the following link
https://forums.oracle.com/forums/thread.jspa?threadID=2127435&tstart=0
basically the solution is whenever you create a java embedding activity in BPEL 11g, you need to import the following packages for sure(yes, even if you are not using them in your java embedding activity) after the process tag in .bpel file.
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.math.*"/>
Do let me know if you have any questions.