steven zhou
2010-05-11 20:52:32 UTC
hi
I have a application which run as both servant and client. I deploy this
application in 2 windows machines. the application will try to resolve each
other by corbaloc. It gets a TRANSIENT_ConnectFailed when calling
_narrow(). From the omni log, it seems the server close the connection from
client immediately. I also write a simple client test program(it just doing
a string_to_object and _narrow() which is the same as the application does).
I try this test program. It can invoker_narrow() successfully for both two
servant in either machine.
Does anyone can give some idea on solving this problem?
Thanks very much for your help.
regards
steven
Below are the omni log.
[10:34:01:843] omniORB: Server accepted connection from giop:tcp:
192.168.1.211:1581
[10:34:01:843] omniORB: AsyncInvoker: thread id = 740 has started. Total
threads = 63
[10:34:01:843] omniORB: giopWorker task execute.
[10:34:01:843] omniORB: Accepted connection from
giop:tcp:192.168.1.211:1581because of this rule: "* unix,ssl,tcp"
[10:34:01:843] omniORB: Server connection refcount = 1
[10:34:01:843] omniORB: Server connection refcount = 0
[10:34:01:843] omniORB: Server close connection from giop:tcp:
192.168.1.211:1581
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100511/5bb46b3a/attachment.htm
I have a application which run as both servant and client. I deploy this
application in 2 windows machines. the application will try to resolve each
other by corbaloc. It gets a TRANSIENT_ConnectFailed when calling
_narrow(). From the omni log, it seems the server close the connection from
client immediately. I also write a simple client test program(it just doing
a string_to_object and _narrow() which is the same as the application does).
I try this test program. It can invoker_narrow() successfully for both two
servant in either machine.
Does anyone can give some idea on solving this problem?
Thanks very much for your help.
regards
steven
Below are the omni log.
[10:34:01:843] omniORB: Server accepted connection from giop:tcp:
192.168.1.211:1581
[10:34:01:843] omniORB: AsyncInvoker: thread id = 740 has started. Total
threads = 63
[10:34:01:843] omniORB: giopWorker task execute.
[10:34:01:843] omniORB: Accepted connection from
giop:tcp:192.168.1.211:1581because of this rule: "* unix,ssl,tcp"
[10:34:01:843] omniORB: Server connection refcount = 1
[10:34:01:843] omniORB: Server connection refcount = 0
[10:34:01:843] omniORB: Server close connection from giop:tcp:
192.168.1.211:1581
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100511/5bb46b3a/attachment.htm