Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Jan 2, 2013 4:01 AM by Tmiddlet-Oracle
oracle coherence in BPEL
Dec 20, 2012 11: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.
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: oracle coherence in BPEL
Jan 2, 2013 4:01 AM
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?