Hi Alex,

Alex Boisvert-3 wrote:
> 
> We're still missing some of the context here;  it's not clear what your
> getRuntime() does but one thing it shouldn't do is to reuse the same
> BpelRuntimeContext from another thread/transaction.
> 
Yeah, that was exactly what I tried to do...
I just saw that yesterday myself. Until then, I thought that there'd be just
one BpelRuntimeContextImpl per instance. Should have had a closer look
on the interna of the engine. I cared more about the activities runtime
behavior
until then. :)
Sorry to have bothered you with that.



> It looks like you're executing this code from another thread so perhaps
> you
> need to create a new BpelRuntimeContext.  Look at
> PartnerLinkMyRoleImpl.invokeInstance() as a basis for this. Ideally this
> would be encapsulated by the engine (and a specific external event) rather
> than doing all this work outside the engine.
> 
Thanks, I'll try that next. :)

Greetings,
Thomas

-- 
View this message in context: 
http://www.nabble.com/Encountered-a-problem-while-modifying-the-runtime-tp16824336p16892689.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.

Reply via email to