Re: CAO passed through 2 servers.
From: Sunny (sunny_at_newsgroup.nospam)
Date: 03/17/05
- Next message: Fred Hirschfeld: "Re: Multithreaded server"
- Previous message: Brecht Yperman: "Multithreaded server"
- In reply to: Bob Rundle: "Re: CAO passed through 2 servers."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 08:57:48 -0600
In article <OK5SGqsKFHA.244@TK2MSFTNGP12.phx.gbl>, rundle@rundle.com
says...
> Sunny,
>
> I've done more work on this problem since I first posted.
>
> The CAO actually resides on the client (perhaps I am confused about this CAO
> term). The client then uses a remoting call to pass the object reference to
> Server1 and then Server1 passes the object reference to Server2.
>
> Therefore when Server2 calls a method on the object the call must pass
> through Server1 on the way to being handled in the client.
No, if you pass the reference from Server1 to Server2, then Server2 will
call directly the original object (I.e. your client) without going
through Server1.
>
> I multi-homed my machine so that I could get two copies of the server
> running on the same machine...and it works! So the problem is definitely
> related to the fact that the servers are on two separate machines.
>
> The network is a trivial network I have set up at my house. I have a
> desktop and a laptop connected to a DSL router. Addresses are the usual
> 192.168.0.* foolishness.
>
> So I don't think it is a network topology problem. The fact that the
> modified EventWrapper code works indicates that the basic idea is correct.
>
> My current thinking is that I am exceeding some maximum intermachine
> remoting call limit for my remoting port. I tried increasing the maximum
> number of connections for the socket (which by default is 2) which had no
> effect of the problem.
>
> I've changed my remoting architecture so that remoting calls no longer go
> through an intermediary...this would have been too brittle anyway. However
> I am still interested in this problem since it seems to be fairly subtle and
> so knowing the reason why it doesn't work would be very useful information.
>
> Regards,
> Bob Rundle
>
I can not imagine why it does not work, it should. Maybe if you can
strip down your app to a reproducible sample, I can take a look into it.
Cheers
Sunny
- Next message: Fred Hirschfeld: "Re: Multithreaded server"
- Previous message: Brecht Yperman: "Multithreaded server"
- In reply to: Bob Rundle: "Re: CAO passed through 2 servers."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|