Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jan 1, 2013 10:01 PM by
oracle coherence in BPEL
Dec 20, 2012 5:08 AM
I am trying to use coherence in bpel.I took one synchronous bpel with default values. I used one java embedded activity where i worte code to invoke coherence.The code in the java embedded activity is as below:
String input = null;
input= input=(String)((oracle.xml.parser.v2.XMLElement) getVariableData("inputVariable","payload","/client:process/client:input")).getFirstChild().getNodeValue();
NamedCache myCache = CacheFactory.getCache("mycache");
System.out.println("Value in cache is " + myCache.get("Name1"));
setVariableData("outputVariable","payload","/client:processResponse/client:result", "Hello" +input);
I attached coherence.jar in lib folder
I followed the below link for the same
The code is executing without any errors.But when i tried to see the value in coherence console(coherence.cmd), by connecting to mycache ,the value is not showing.
Any suggestions would be great.
This content has been marked as final.
Show 1 reply
Re: oracle coherence in BPEL
Jan 1, 2013 10:01 PM
in response to
Are you sure that coherence.cmd is connecting to the Coherence cluster that is used within SOA Suite?
When you startup coherence.cmd, how many members in the MastermemberSet?