<font style="font-family: arial,helvetica,sans-serif;" size="2"><p
style="margin:0px;">Hello Duncan,</p><br /><p
style="margin:0px;">[....]</p><font size="2"><p
style="margin:0px;">>The looping that's happening in the trace is a
result of a bug that has >been fixed. Update to omniORB 4.1.0 or the
latest snapshot of 4.0.x to >avoid that issue. The problem there is
that the failed call on the >forwarded object reference does not
correctly fall back to using the >original reference.</p><br /><p
style="margin:0px;">I have update to 4.10 and repeat the tests. The
behaviour is changed, but now omniORB toggled between both servers until
timeout. I think omniORB should overwrite the 2the LOCATION_FORWARD from
slave after go back to slave and use the slave to resolve the
request.</p><p style="margin:0px;">Best regards</p><p
style="margin:0px;">Kl. D. Welast<br /><br />Trace:</p><p
style="margin:0px;">omniORB: Distribution date: Tue Nov 28 13:27:23 GMT
2006 dgrisby<br />omniORB: Warning: WSAIoctl SIO_ADDRESS_LIST_QUERY
failed.<br />Unable to obtain the list of all IPv6 interface
addresses.<br />WSAGetLastError() = 10038<br />omniORB: My addresses
are: <br />omniORB: 164.23.185.14<br />omniORB: 127.0.0.1<br />omniORB:
Maximum supported GIOP version is 1.2<br />omniORB: Native char code
sets: UTF-8 ISO-8859-1.<br />omniORB: Transmission char code sets:
UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1)
ISO-8859-1(1.0).<br />omniORB: Native wide char code sets: UTF-16.<br
/>omniORB: Transmission wide char code sets: UTF-16(1.2).<br />omniORB:
Initialising omniDynamic library.<br />omniORB: Current configuration is
as follows:<br />omniORB: DefaultInitRef (file) = <br />omniORB:
DefaultInitRef (args) = <br />omniORB: InitRef =
NameService=corbaloc::164.23.185.14:2809,:164.23.131.250:2809/NameService<br
/>omniORB: abortOnInternalError = 0<br />omniORB:
abortOnNativeException = 0<br />omniORB: acceptBiDirectionalGIOP =
0<br />omniORB: acceptMisalignedTcIndirections = 0<br />omniORB:
bootstrapAgentHostname = <br />omniORB: bootstrapAgentPort = 900<br
/>omniORB: clientCallTimeOutPeriod = 8000<br />omniORB:
clientConnectTimeOutPeriod = 0<br />omniORB: clientTransportRule = *
unix,ssl,tcp<br />omniORB: configFile = [none]<br />omniORB:
connectionWatchImmediate = 0<br />omniORB: connectionWatchPeriod =
50000<br />omniORB: copyValuesInLocalCalls = 1<br />omniORB:
diiThrowsSysExceptions = 0<br />omniORB: dumpConfiguration = 0<br
/>omniORB: endPoint = giop:tcp::<br />omniORB: endPointPublish =
addr<br />omniORB: giopMaxMsgSize = 2097152<br />omniORB:
giopTargetAddressMode = KeyAddr<br />omniORB: id = omniORB4<br
/>omniORB: idleThreadTimeout = 10<br />omniORB: inConScanPeriod =
180<br />omniORB: lcdMode = 0<br />omniORB:
maxGIOPConnectionPerServer = 5<br />omniORB: maxGIOPVersion = 1.2<br
/>omniORB: maxInterleavedCallsPerConnection = 5<br />omniORB:
maxServerThreadPerConnection = 100<br />omniORB:
maxServerThreadPoolSize = 100<br />omniORB: maxSocketRecv = 131072<br
/>omniORB: maxSocketSend = 131072<br />omniORB: nativeCharCodeSet =
ISO-8859-1<br />omniORB: nativeWCharCodeSet = UTF-16<br />omniORB:
objectTableSize = 0<br />omniORB: offerBiDirectionalGIOP = 0<br
/>omniORB: oneCallPerConnection = 1<br />omniORB: outConScanPeriod =
120<br />omniORB: poaHoldRequestTimeout = 0<br />omniORB:
poaUniquePersistentSystemIds = 1<br />omniORB: principal = [Null]<br
/>omniORB: scanGranularity = 5<br />omniORB: serverCallTimeOutPeriod
= 0<br />omniORB: serverTransportRule = * unix,ssl,tcp<br />omniORB:
strictIIOP = 1<br />omniORB: supportBootstrapAgent = 0<br />omniORB:
supportCurrent = 1<br />omniORB: supportPerThreadTimeOut = 0<br
/>omniORB: tcAliasExpand = 0<br />omniORB:
threadPerConnectionLowerLimit = 9000<br />omniORB:
threadPerConnectionPolicy = 1<br />omniORB:
threadPerConnectionUpperLimit = 10000<br />omniORB:
threadPoolWatchConnection = 1<br />omniORB: traceExceptions = 1<br
/>omniORB: traceFile = [stderr]<br />omniORB: traceInvocationReturns
= 0<br />omniORB: traceInvocations = 1<br />omniORB: traceLevel =
40<br />omniORB: traceThreadId = 0<br />omniORB: traceTime = 0<br
/>omniORB: unixTransportDirectory = /tmp/omni-%u<br />omniORB:
unixTransportPermission = 777<br />omniORB: useTypeCodeIndirections =
1<br />omniORB: verifyObjectExistsAndType = 1<br />omniORB: Creating
ref to remote: key<NameService><br /> target id :
IDL:omg.org/CORBA/Object:1.0<br /> most derived id: <br />omniORB:
Initial reference `NameService' resolved from -ORBInitRef argument / ORB
registration.<br />omniORB: Invoke '_is_a' on remote:
key<NameService><br />omniORB: Client attempt to connect to
giop:tcp:164.23.185.14:2809<br />omniORB: AsyncInvoker: thread id = 1
has started. Total threads = 1<br />omniORB: Scavenger task execute.<br
/>omniORB: Switch rope to use address giop:tcp:164.23.131.250:2809<br
/>omniORB: Unable to open new connection: giop:tcp:164.23.185.14:2809<br
/>omniORB: throw giopStream::CommFailure from
giopStream.cc:1148(1,NO,TRANSIENT_ConnectFailed)<br />omniORB: Invoke
'_is_a' on remote: key<NameService><br />omniORB: Client attempt
to connect to giop:tcp:164.23.131.250:2809<br />omniORB: Client opened
connection to giop:tcp:164.23.131.250:2809<br />omniORB: sendChunk: to
giop:tcp:164.23.131.250:2809 100 bytes<br />omniORB: <br />4749 4f50
0100 0100 5800 0000 0000 0000 GIOP....X.......<br />0200 0000 01cd cdcd
0b00 0000 4e61 6d65 ............Name<br />5365 7276 6963 65cd 0600 0000
5f69 735f Service....._is_<br />6100 cdcd 0000 0000 2800 0000 4944 4c3a
a.......(...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 743a
g/NamingContext:<br />312e 3000 1.0.<br
/>omniORB: inputMessage: from giop:tcp:164.23.131.250:2809 368 bytes<br
/>omniORB: <br />4749 4f50 0100 0101 6401 0000 0000 0000
GIOP....d.......<br />0200 0000 0300 0000 2b00 0000 4944 4c3a
........+...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 7445
g/NamingContextE<br />7874 3a31 2e30 0000 0200 0000 0000 0000
xt:1.0..........<br />8800 0000 0001 0200 0000 000e 3136 342e
............164.<br />3233 2e31 3835 2e31 3400 0af9 0000 0025
23.185.14......%<br />0050 4d43 0000 0004 0000 0013 2f43 4f4e
.PMC......../CON<br />5445 5854 5f50 4f41 4d61 7374 6572 0020
TEXT_POAMaster. <br />0000 0001 3200 0000 0000 0003 5649 5303
....2.......VIS.<br />0000 0005 0007 0801 ff00 0000 0000 0000
................<br />0000 0008 0000 0000 5649 5300 0000 0001
........VIS.....<br />0000 0018 0000 0000 0001 0001 0000 0001
................<br />0501 0001 0001 0109 0000 0000 0000 0000
................<br />8c00 0000 0001 0200 0000 000f 3136 342e
............164.<br />3233 2e31 3331 2e32 3530 0000 0af9 0000
23.131.250......<br />0000 0025 0050 4d43 0000 0004 0000 0013
...%.PMC........<br />2f43 4f4e 5445 5854 5f50 4f41 4d61 7374
/CONTEXT_POAMast<br />6572 0020 0000 0001 3200 0000 0000 0003 er.
....2.......<br />5649 5303 0000 0005 0007 0801 ff00 0000
VIS.............<br />0000 0000 0000 0008 0000 0000 5649 5300
............VIS.<br />0000 0001 0000 0018 0000 0000 0001 0001
................<br />0000 0001 0501 0001 0001 0109 0000 0000
................<br />omniORB: Creating ref to remote:
key<.PMC.........CONTEXT.POAMaster......2><br /> target id :
IDL:omg.org/CORBA/Object:1.0<br /> most derived id:
IDL:omg.org/CosNaming/NamingContextExt:1.0<br />omniORB:
GIOP::LOCATION_FORWARD -- retry request.<br />omniORB:
omniRemoteIdentity deleted.<br />omniORB:
ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.<br
/>omniORB: Invoke '_is_a' on remote:
key<.PMC.........CONTEXT.POAMaster......2><br />omniORB: Send
codeset service context: (ISO-8859-1,UTF-16)<br />omniORB: Client
attempt to connect to giop:tcp:164.23.185.14:2809<br />omniORB: Switch
rope to use address giop:tcp:164.23.185.14:2809<br />omniORB: Unable to
open new connection: giop:tcp:164.23.185.14:2809<br />omniORB: throw
giopStream::CommFailure from
giopStream.cc:1148(0,NO,TRANSIENT_ConnectFailed)<br />omniORB: Reverting
object reference to original profile<br />omniORB: omniRemoteIdentity
deleted.<br />omniORB: Invocation on a location forwarded object has
failed. 0 retries.<br />omniORB: Invoke '_is_a' on remote:
key<NameService><br />omniORB: sendChunk: to
giop:tcp:164.23.131.250:2809 100 bytes<br />omniORB: <br />4749 4f50
0100 0100 5800 0000 0000 0000 GIOP....X.......<br />0400 0000 01cd cdcd
0b00 0000 4e61 6d65 ............Name<br />5365 7276 6963 65cd 0600 0000
5f69 735f Service....._is_<br />6100 cdcd 0000 0000 2800 0000 4944 4c3a
a.......(...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 743a
g/NamingContext:<br />312e 3000 1.0.<br
/>omniORB: inputMessage: from giop:tcp:164.23.131.250:2809 368 bytes<br
/>omniORB: <br />4749 4f50 0100 0101 6401 0000 0000 0000
GIOP....d.......<br />0400 0000 0300 0000 2b00 0000 4944 4c3a
........+...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 7445
g/NamingContextE<br />7874 3a31 2e30 0000 0200 0000 0000 0000
xt:1.0..........<br />8800 0000 0001 0200 0000 000e 3136 342e
............164.<br />3233 2e31 3835 2e31 3400 0af9 0000 0025
23.185.14......%<br />0050 4d43 0000 0004 0000 0013 2f43 4f4e
.PMC......../CON<br />5445 5854 5f50 4f41 4d61 7374 6572 0020
TEXT_POAMaster. <br />0000 0001 3200 0000 0000 0003 5649 5303
....2.......VIS.<br />0000 0005 0007 0801 ff00 0000 0000 0000
................<br />0000 0008 0000 0000 5649 5300 0000 0001
........VIS.....<br />0000 0018 0000 0000 0001 0001 0000 0001
................<br />0501 0001 0001 0109 0000 0000 0000 0000
................<br />8c00 0000 0001 0200 0000 000f 3136 342e
............164.<br />3233 2e31 3331 2e32 3530 0000 0af9 0000
23.131.250......<br />0000 0025 0050 4d43 0000 0004 0000 0013
...%.PMC........<br />2f43 4f4e 5445 5854 5f50 4f41 4d61 7374
/CONTEXT_POAMast<br />6572 0020 0000 0001 3200 0000 0000 0003 er.
....2.......<br />5649 5303 0000 0005 0007 0801 ff00 0000
VIS.............<br />0000 0000 0000 0008 0000 0000 5649 5300
............VIS.<br />0000 0001 0000 0018 0000 0000 0001 0001
................<br />0000 0001 0501 0001 0001 0109 0000 0000
................<br />omniORB: Creating ref to remote:
key<.PMC.........CONTEXT.POAMaster......2><br /> target id :
IDL:omg.org/CORBA/Object:1.0<br /> most derived id:
IDL:omg.org/CosNaming/NamingContextExt:1.0<br />omniORB:
GIOP::LOCATION_FORWARD -- retry request.<br />omniORB:
omniRemoteIdentity deleted.<br />omniORB:
ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.<br
/>omniORB: Invoke '_is_a' on remote:
key<.PMC.........CONTEXT.POAMaster......2><br />omniORB: Send
codeset service context: (ISO-8859-1,UTF-16)<br />omniORB: Client
attempt to connect to giop:tcp:164.23.185.14:2809<br />omniORB: Switch
rope to use address giop:tcp:164.23.185.14:2809<br />omniORB: Unable to
open new connection: giop:tcp:164.23.185.14:2809<br />omniORB: throw
giopStream::CommFailure from
giopStream.cc:1148(0,NO,TRANSIENT_ConnectFailed)<br />omniORB: Reverting
object reference to original profile<br />omniORB: omniRemoteIdentity
deleted.<br />omniORB: Invocation on a location forwarded object has
failed. 1 retries.<br />omniORB: Invoke '_is_a' on remote:
key<NameService><br />omniORB: sendChunk: to
giop:tcp:164.23.131.250:2809 100 bytes<br />omniORB: <br />4749 4f50
0100 0100 5800 0000 0000 0000 GIOP....X.......<br />0600 0000 01cd cdcd
0b00 0000 4e61 6d65 ............Name<br />5365 7276 6963 65cd 0600 0000
5f69 735f Service....._is_<br />6100 cdcd 0000 0000 2800 0000 4944 4c3a
a.......(...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 743a
g/NamingContext:<br />312e 3000 1.0.<br
/>omniORB: inputMessage: from giop:tcp:164.23.131.250:2809 368 bytes<br
/>omniORB: <br />4749 4f50 0100 0101 6401 0000 0000 0000
GIOP....d.......<br />0600 0000 0300 0000 2b00 0000 4944 4c3a
........+...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 7445
g/NamingContextE<br />7874 3a31 2e30 0000 0200 0000 0000 0000
xt:1.0..........<br />8800 0000 0001 0200 0000 000e 3136 342e
............164.<br />3233 2e31 3835 2e31 3400 0af9 0000 0025
23.185.14......%<br />0050 4d43 0000 0004 0000 0013 2f43 4f4e
.PMC......../CON<br />5445 5854 5f50 4f41 4d61 7374 6572 0020
TEXT_POAMaster. <br />0000 0001 3200 0000 0000 0003 5649 5303
....2.......VIS.<br />0000 0005 0007 0801 ff00 0000 0000 0000
................<br />0000 0008 0000 0000 5649 5300 0000 0001
........VIS.....<br />0000 0018 0000 0000 0001 0001 0000 0001
................<br />0501 0001 0001 0109 0000 0000 0000 0000
................<br />8c00 0000 0001 0200 0000 000f 3136 342e
............164.<br />3233 2e31 3331 2e32 3530 0000 0af9 0000
23.131.250......<br />0000 0025 0050 4d43 0000 0004 0000 0013
...%.PMC........<br />2f43 4f4e 5445 5854 5f50 4f41 4d61 7374
/CONTEXT_POAMast<br />6572 0020 0000 0001 3200 0000 0000 0003 er.
....2.......<br />5649 5303 0000 0005 0007 0801 ff00 0000
VIS.............<br />0000 0000 0000 0008 0000 0000 5649 5300
............VIS.<br />0000 0001 0000 0018 0000 0000 0001 0001
................<br />0000 0001 0501 0001 0001 0109 0000 0000
................<br />omniORB: Creating ref to remote:
key<.PMC.........CONTEXT.POAMaster......2><br /> target id :
IDL:omg.org/CORBA/Object:1.0<br /> most derived id:
IDL:omg.org/CosNaming/NamingContextExt:1.0<br />omniORB:
GIOP::LOCATION_FORWARD -- retry request.<br />omniORB:
omniRemoteIdentity deleted.<br />omniORB:
ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.<br
/>omniORB: Invoke '_is_a' on remote:
key<.PMC.........CONTEXT.POAMaster......2><br />omniORB: Send
codeset service context: (ISO-8859-1,UTF-16)<br />omniORB: Client
attempt to connect to giop:tcp:164.23.185.14:2809<br />omniORB: Switch
rope to use address giop:tcp:164.23.185.14:2809<br />omniORB: Unable to
open new connection: giop:tcp:164.23.185.14:2809<br />omniORB: throw
giopStream::CommFailure from
giopStream.cc:1148(0,NO,TRANSIENT_ConnectFailed)<br />omniORB: Reverting
object reference to original profile<br />omniORB: omniRemoteIdentity
deleted.<br />omniORB: Invocation on a location forwarded object has
failed. 2 retries.<br />omniORB: Scan for idle connections
(1169451371,991000000)<br />omniORB: Scavenger reduce idle count for
strand 006F5850 to 23<br />omniORB: Scan for idle connections done
(1169451371,991000000).<br />omniORB: Invoke '_is_a' on remote:
key<NameService><br />omniORB: sendChunk: to
giop:tcp:164.23.131.250:2809 100 bytes<br />omniORB: <br />4749 4f50
0100 0100 5800 0000 0000 0000 GIOP....X.......<br />0800 0000 01cd cdcd
0b00 0000 4e61 6d65 ............Name<br />5365 7276 6963 65cd 0600 0000
5f69 735f Service....._is_<br />6100 cdcd 0000 0000 2800 0000 4944 4c3a
a.......(...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 743a
g/NamingContext:<br />312e 3000 1.0.<br
/>omniORB: inputMessage: from giop:tcp:164.23.131.250:2809 368 bytes<br
/>omniORB: <br />4749 4f50 0100 0101 6401 0000 0000 0000
GIOP....d.......<br />0800 0000 0300 0000 2b00 0000 4944 4c3a
........+...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 7445
g/NamingContextE<br />7874 3a31 2e30 0000 0200 0000 0000 0000
xt:1.0..........<br />8800 0000 0001 0200 0000 000e 3136 342e
............164.<br />3233 2e31 3835 2e31 3400 0af9 0000 0025
23.185.14......%<br />0050 4d43 0000 0004 0000 0013 2f43 4f4e
.PMC......../CON<br />5445 5854 5f50 4f41 4d61 7374 6572 0020
TEXT_POAMaster. <br />0000 0001 3200 0000 0000 0003 5649 5303
....2.......VIS.<br />0000 0005 0007 0801 ff00 0000 0000 0000
................<br />0000 0008 0000 0000 5649 5300 0000 0001
........VIS.....<br />0000 0018 0000 0000 0001 0001 0000 0001
................<br />0501 0001 0001 0109 0000 0000 0000 0000
................<br />8c00 0000 0001 0200 0000 000f 3136 342e
............164.<br />3233 2e31 3331 2e32 3530 0000 0af9 0000
23.131.250......<br />0000 0025 0050 4d43 0000 0004 0000 0013
...%.PMC........<br />2f43 4f4e 5445 5854 5f50 4f41 4d61 7374
/CONTEXT_POAMast<br />6572 0020 0000 0001 3200 0000 0000 0003 er.
....2.......<br />5649 5303 0000 0005 0007 0801 ff00 0000
VIS.............<br />0000 0000 0000 0008 0000 0000 5649 5300
............VIS.<br />0000 0001 0000 0018 0000 0000 0001 0001
................<br />0000 0001 0501 0001 0001 0109 0000 0000
................<br />omniORB: Creating ref to remote:
key<.PMC.........CONTEXT.POAMaster......2><br /> target id :
IDL:omg.org/CORBA/Object:1.0<br /> most derived id:
IDL:omg.org/CosNaming/NamingContextExt:1.0<br />omniORB:
GIOP::LOCATION_FORWARD -- retry request.<br />omniORB:
omniRemoteIdentity deleted.<br />omniORB:
ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.<br
/>omniORB: Invoke '_is_a' on remote:
key<.PMC.........CONTEXT.POAMaster......2><br />omniORB: Send
codeset service context: (ISO-8859-1,UTF-16)<br />omniORB: Client
attempt to connect to giop:tcp:164.23.185.14:2809<br />omniORB: Switch
rope to use address giop:tcp:164.23.185.14:2809<br />omniORB: Unable to
open new connection: giop:tcp:164.23.185.14:2809<br />omniORB: throw
giopStream::CommFailure from
giopStream.cc:1148(0,NO,TRANSIENT_ConnectFailed)<br />omniORB: Reverting
object reference to original profile<br />omniORB: omniRemoteIdentity
deleted.<br />omniORB: Invocation on a location forwarded object has
failed. 3 retries.<br />omniORB: Scan for idle connections
(1169451376,989000000)<br />omniORB: Scavenger reduce idle count for
strand 006F5850 to 23<br />omniORB: Scan for idle connections done
(1169451376,989000000).<br />omniORB: Invoke '_is_a' on remote:
key<NameService><br />omniORB: sendChunk: to
giop:tcp:164.23.131.250:2809 100 bytes<br />omniORB: <br />4749 4f50
0100 0100 5800 0000 0000 0000 GIOP....X.......<br />0a00 0000 01cd cdcd
0b00 0000 4e61 6d65 ............Name<br />5365 7276 6963 65cd 0600 0000
5f69 735f Service....._is_<br />6100 cdcd 0000 0000 2800 0000 4944 4c3a
a.......(...IDL:<br />6f6d 672e 6f72 672f 436f 734e 616d 696e
omg.org/CosNamin<br />672f 4e61 6d69 6e67 436f 6e74 6578 743a
g/NamingContext:<br />312e 3000 1.0.<br
/>omniORB: Error in network send: giop:tcp:164.23.131.250:2809<br
/>omniORB: throw giopStream::CommFailure from
giopStream.cc:1182(0,NO,TRANSIENT_CallTimedout)<br />omniORB: Client
connection refcount = 0<br />omniORB: Client close connection to
giop:tcp:164.23.131.250:2809<br />omniORB: throw TRANSIENT from
omniObjRef.cc:782 (NO,TRANSIENT_CallTimedout)<br />Caught
CORBA::SystemException.<br />omniORB: Released 60 stub TypeCodes from
'dynException.cc'.<br />omniORB: omniRemoteIdentity deleted.<br
/>omniORB: ObjRef() -- deleted.<br />omniORB: ORB not destroyed; no
final clean-up.<br /></p></font><br /></font>