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.
Hi,
ReplyDeleteI tried adding above mentioned classes to bpel file.
but still that SCAC error is impeding the progress of our project.
Could you please suggest us some another work around for this error !
Thanks in advance !
Regards,
Nupur
This comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteI too come across these errors. The problem with me is, I can deploy the project with simple hello world program. but when I tried with my logic again I got the same error.
Could you please help me?
Hi all,
ReplyDeleteThe most straightforward reason why we get this error is when we dont use fully qualified class names in the java embedding activity or we have to import each and every class we are using in the beginning of the BPEL process. Only then this error would be resolved.
Regards,
Surya.