|
|
|
||||||
|
ConnectionLostException on Ice.ObjectAdapterI.addRouter
hi,
i'm working on callback throught glacier. i get a ConnectionLostException within Ice.ObjectAdapterI.addRouter. i think it must be some kind of miss-configuration. stacktrace: Code:
Fri, 16 Dec 2005 09:18:43 GMT : Exception cought: Ice.ConnectionLostException: ConnectionLostException
error = 0
at IceInternal.ProxyFactory.checkRetryAfterException(LocalException ex, Reference ref, Int32 cnt) in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\ProxyFactory.cs:line 146
at Ice.ObjectPrxHelperBase.handleException__(LocalException ex, Int32 cnt) in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\Proxy.cs:line 670
at Ice.RouterPrxHelper.getServerProxy(Context context__) in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\generated\Router.cs:line 140
at Ice.RouterPrxHelper.getServerProxy() in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\generated\Router.cs:line 123
at IceInternal.RouterInfo.getServerProxy() in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\RouterInfo.cs:line 102
at Ice.ObjectAdapterI.addRouter(RouterPrx router) in c:\src\vc71\stage\IceCS-3.0.0\src\Ice\ObjectAdapterI.cs:line 544
...
tom
__________________
Thomas Müller, Freelance Software Developer My profil on www.freelancermap.de Projects depend on customers |
|
||||||
|
Hi Benoit,
thanks for your help. i don't use Ice.Default.Router - instead the router is created programmatically. but the configurations of glacier and client do match. non-callback operations work without problem. i simply cannot ::addRouter()! i did turn on protocoltracing at glacier and found following printout: Code:
[ c:/ice-3.0.0/bin/glacier2router.exe: Protocol: received request message type = 0 (request) compression status = 0 (not compressed; do not compress response, if any) message size = 58 request id = 1 identity = Glacier2/router facet = operation = getServerProxy mode = 1 (nonmutating) context = ] [ c:/ice-3.0.0/bin/glacier2router.exe: Protocol: sending reply message type = 2 (reply) compression status = 0 (not compressed; do not compress response, if any) message size = 51 request id = 1 reply status = 2 (object not exist) identity = Glacier2/router facet = operation = getServerProxy ] tom
__________________
Thomas Müller, Freelance Software Developer My profil on www.freelancermap.de Projects depend on customers |
|
||||||
|
I suspect your client is establishing another connection to the Glacier2 router and since there's no session associated to the connection the router rejects the call.
To confirm this, can you enable network and protocol tracing on the client with Ice.Trace.Network=1 and Ice.Trace.Protocol=1 and also enable some tracing on the router with Glacier2.Client.Trace.Reject=1? You could also stringify the router proxies in your client and check that the endpoints of the proxy match the ones configured for the Glacier2 router client endpoints. Benoit. |
|
||||||
|
Thanks a lot!
You are right - i was trying to add the router before creating a session. thanks alot tom
__________________
Thomas Müller, Freelance Software Developer My profil on www.freelancermap.de Projects depend on customers |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I catch the Ice::ConnectionLostException in bi_dir server? | karl_ma | Help Center | 2 | 10-31-2005 01:48 AM |
| getting ConnectionLostException | jaggu | Help Center | 8 | 10-04-2005 12:29 AM |