Groups | Blog | Home
all groups > dotnet remoting > november 2003 >

dotnet remoting : CAO hangs after sending event to client


adi vaturi
11/27/2003 6:28:42 PM
I have a client activated object that sends event to a client. Once in a
while, the server or client got stuck. After investigating this, i found out
that it all starts after the server sends an event to the client, the client
finish treating it, but from some reason the server does not continue. As if
the delegate didn't return.

When calling other methods of this CAO will not reach the server and the
client get stuck because of this.

The server's and middleware InitializeLifeTimeService returns null, so the
problem is not there. It also cannot be the client fault, since it finishes
treating the event and continue to run.

Any comments of further explanation would really be appreciated...

Thanks,
Adi. Vaturi.

Allen Anderson
12/2/2003 9:31:14 AM
after handling the event in the client, are you certain that it is
returning? If a program hangs in the client then it will exhibit the
behavior you have mentioned.


Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com



On Thu, 27 Nov 2003 18:28:42 +0200, "adi vaturi" <adisi@nice.com>
[quoted text, click to view]
adi vaturi
12/3/2003 2:01:12 PM
Thanks for the response.

I am sure the client finished treating the event. I added debug messages to
the middleware and i it proved the middleware passes the event and returns.
The client is not stuck, the server just not continue to run. By the way -
at this point there is no way to communicate with the server's singleton
object that suppose to live forever (from another client). And there is no
way to stop or pause the debugger. You need to kill the server from the task
manager.

[quoted text, click to view]

Allen
12/3/2003 5:58:29 PM

fair enough. Can you break down your app to the relavent remoting
parts and post some code? I'll see if I can spot any problem areas.
I've done what your talking about many many times and had no problems
so maybe I can see something.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com


[quoted text, click to view]
AddThis Social Bookmark Button