Andrew Borley wrote:
Just got it working on Windows, compiles the runtime & samples and
runs the
calculator sample with no changes (on our side) required.
I tried out the REST support too, but this seems to be a bit flakey - the
server seems to fall over occasionally. Not sure whether that's a Tuscany
issue or an Axis issue yet.
Cheers
Andy
Andy,
The fix committed under revision r441691 fixes the occasional server
crashes. This was not related to Web Services, it was a problem with
ComponentContextImpl::~ComponentContextImpl() aggressively deleting
proxies that it had served. Proxies need to live longer than the context
that served them as they can be passed around to other components for
example.
With my change, CPP proxies are now deleted when the CPPServiceProxy
object that created them gets deleted (and this will eventually happen
when the instance of the current Composite gets deleted, right now I
don't think that the destructors do all the necessary clean up, but this
is a more minor issue).
Let me know if you still see these occasional server crashes, this
change seemed to fix them in my environment at least. Thanks...
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]