mbazs123
2010-06-01 15:04:37 UTC
Hi,
I've never done bidirectional GIOP, I'm trying now (omniORB on server,
Jacorb on client side).
Something is weird: everything seems fine, the connection between two
parties is OK, but somehow omniORB seems to 'forget' the correct target port
to the client:
omniORB: Accepted connection from giop:tcp:192.168.0.143:1982 because of
this rule: "* unix,tcp,ssl,bidir"
omniORB: inputMessage: from giop:tcp:192.168.0.143:1982 314 bytes
omniORB: Receive codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: Receive bidir IIOP service context: ( 192.168.0.143:1980 )
omniORB: Accepted request from giop:tcp:192.168.0.143:1982 to switch to
bidirect
ional because of this rule: "* unix,tcp,ssl,bidir"
omniORB: Dispatching remote call 'createService' to:
root/CorePOA<1131377253> (active)
omniORB: Creating ref to remote:
key<5995057260.MainTransientPOA....9.J.K..G>
target id : IDL:hu.euronetrt/Charm/Client/Service:1.0
most derived id: IDL:hu.euronetrt/Charm/Client/AutoScanService:1.0
omniORB: Adding root<2> (activating) to object table.
omniORB: State root<2> (activating) -> active
omniORB: Creating ref to local: root<2>
target id : IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0
most derived id: IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0
omniORB: sendChunk: to giop:tcp:192.168.0.143:1982 192 bytes
omniORB: ObjRef(IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0) --
deleted.
omniORB: LocateRequest to remote:
key<5995057260.MainTransientPOA....9.J.K..G>
omniORB: Client attempt to connect to giop:tcp:192.168.0.143:1980
omniORB: Failed to connect (no peer name): 192.168.0.143
omniORB: Switch rope to use address giop:tcp:192.168.0.143:1980
omniORB: Unable to open new connection: giop:tcp:192.168.0.143:1980
omniORB: throw giopStream::CommFailure from
giopStream.cc:1152(0,NO,TRANSIENT_ConnectFailed)
omniORB: throw TRANSIENT from omniObjRef.cc:1137
(NO,TRANSIENT_ConnectFailed)
So that's it.
My questions are:
Why is this:
omniORB: Accepted connection from giop:tcp:192.168.0.143:1982 because of
this rule: "* unix,tcp,ssl,bidir"
and this
omniORB: Receive bidir IIOP service context: ( 192.168.0.143:1980 )
have different ports (1982 vs. 1980)? And after all why does omniorb want to
connect to the 'bad' port (1980)?
I'm a newbie to this, so thx very much for your help!
MB
I've never done bidirectional GIOP, I'm trying now (omniORB on server,
Jacorb on client side).
Something is weird: everything seems fine, the connection between two
parties is OK, but somehow omniORB seems to 'forget' the correct target port
to the client:
omniORB: Accepted connection from giop:tcp:192.168.0.143:1982 because of
this rule: "* unix,tcp,ssl,bidir"
omniORB: inputMessage: from giop:tcp:192.168.0.143:1982 314 bytes
omniORB: Receive codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: Receive bidir IIOP service context: ( 192.168.0.143:1980 )
omniORB: Accepted request from giop:tcp:192.168.0.143:1982 to switch to
bidirect
ional because of this rule: "* unix,tcp,ssl,bidir"
omniORB: Dispatching remote call 'createService' to:
root/CorePOA<1131377253> (active)
omniORB: Creating ref to remote:
key<5995057260.MainTransientPOA....9.J.K..G>
target id : IDL:hu.euronetrt/Charm/Client/Service:1.0
most derived id: IDL:hu.euronetrt/Charm/Client/AutoScanService:1.0
omniORB: Adding root<2> (activating) to object table.
omniORB: State root<2> (activating) -> active
omniORB: Creating ref to local: root<2>
target id : IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0
most derived id: IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0
omniORB: sendChunk: to giop:tcp:192.168.0.143:1982 192 bytes
omniORB: ObjRef(IDL:hu.euronetrt/Charm/Server/AutoScanService:1.0) --
deleted.
omniORB: LocateRequest to remote:
key<5995057260.MainTransientPOA....9.J.K..G>
omniORB: Client attempt to connect to giop:tcp:192.168.0.143:1980
omniORB: Failed to connect (no peer name): 192.168.0.143
omniORB: Switch rope to use address giop:tcp:192.168.0.143:1980
omniORB: Unable to open new connection: giop:tcp:192.168.0.143:1980
omniORB: throw giopStream::CommFailure from
giopStream.cc:1152(0,NO,TRANSIENT_ConnectFailed)
omniORB: throw TRANSIENT from omniObjRef.cc:1137
(NO,TRANSIENT_ConnectFailed)
So that's it.
My questions are:
Why is this:
omniORB: Accepted connection from giop:tcp:192.168.0.143:1982 because of
this rule: "* unix,tcp,ssl,bidir"
and this
omniORB: Receive bidir IIOP service context: ( 192.168.0.143:1980 )
have different ports (1982 vs. 1980)? And after all why does omniorb want to
connect to the 'bad' port (1980)?
I'm a newbie to this, so thx very much for your help!
MB
--
View this message in context: http://old.nabble.com/OmniORB-4.1.4-bidirectional-GIOP-fails-tp28732899p28732899.html
Sent from the OmniORB - User mailing list archive at Nabble.com.
View this message in context: http://old.nabble.com/OmniORB-4.1.4-bidirectional-GIOP-fails-tp28732899p28732899.html
Sent from the OmniORB - User mailing list archive at Nabble.com.