[omniORB] What is behaviour of server when client crashed?
Bing Zhang
bzhang@sohar.com
Fri, 20 Mar 1998 18:17:27 -0800
Hi,
I just found out the culprit. It is fault on my part of code. Sorry for
the bandwidth.
Bing
Bing Zhang wrote:
> Hi,
>
> I am using omniORB 2.4 on NT with VC++ 5.0. Yesterday I played with the
> example eg3 that comes with the distribution. This is what I did:
>
> I changed the code in the impl_i.cc. Before the "return p" inside the
> echoString(), I put Sleep(10000), i.e. sleep for 10 seconds. While the
> server was sleeping, I killed the client. After the server waking up,
> the server console printed something like "Abnormal termination, press
> any key to continue.".
>
> I want omniORB to catch the error due to the abnormal disconnection from
> the client and do some cleaning up. What kind modifications do I need in
> the omniORB?
>
> I am working on a project that server application can suspend and resume
> the omniORB worker thread. If the client crashes, I do not want the
> server to crash after worker thread resumes.
>
> Thanks
>
> Bing