<div dir="ltr">I'm reposting because in previous mail just the attachments are accepted, so here is the question, and prob. description:<br><div class="gmail_quote"><br><br><div dir="ltr">Hello,<br><br>I am expiriencing problems with array of longs bigger than size 126898 within a struct. The *.idl representation of this struct looks like:<br>
<br>struct DMStruct {<br> long l[126899];<br> short s[100];<br>
};<br><br>I'm using omniORB4.1.1 on win32 platform.<br><br>I have attached to this mail the source codes of the idl file, the client and server implementations and the files generated with omniORB4.1.1.<br><br>The problem that shows up when raising the array inside the struct higher than 126898, at client side (trace level 25):<br>
<br>omniORB: Error in network receive (start of message): giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a><br>
omniORB: throw giopStream::CommFailure from giopStream.cc:874(0,MAYBE,0xcccccccc)<br><br>I've also tried raising the giopMaxMsgSize up to 500MB, but it isn't the problem.<br><br><br>Here is the whole trace (level 25) of the client side:<br>
<br>======================================================================================================<br><br>D:\Damir\CORBA\DMS CORBA training_sredjeno\Test2\with_omniORB4.1.<br>1\win32\debug>ORBTestOutProcClient.exe IOR:010000001000000049444c<br>
3a4f5242546573743a312e3000010000000000000064000000010102000d00000<br>03139322e3136382e352e3139000000070e000000fe8e9c844800000fd4000000<br>000000000200000000000000080000000100000000545441010000001c0000000<br>1000000010001000100000001000105090101000100000009010100<br>
omniORB: Version: 4.1.1<br>omniORB: Distribution date: Sun Oct 7 16:41:47 BST 2007 dgrisby<br>omniORB: Warning: unable to create an IPv6 socket. Unable to obta<br>in the list of IPv6 interface addresses (10047).<br>omniORB: My addresses are:<br>
omniORB: <a href="http://192.168.253.1" target="_blank">192.168.253.1</a><br>omniORB: <a href="http://192.168.40.1" target="_blank">192.168.40.1</a><br>omniORB: <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
omniORB: <a href="http://192.168.5.19" target="_blank">192.168.5.19</a><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-8<br>859-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=corbaname::<a href="http://192.168.5.19" target="_blank">192.168.5.19</a>:<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 = 0<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:<a href="http://192.168.5.19" target="_blank">192.168.5.19</a>:<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: resetTimeOutOnRetries = 0<br>
omniORB: scanGranularity = 5<br>omniORB: serverCallTimeOutPeriod = 0<br>omniORB: serverTransportRule = * unix,ssl,tcp<br>omniORB: socketSendBuffer = 16384<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 = 0<br>omniORB: traceLevel = 25<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: root<0><br>
target id : IDL:<a href="http://omg.org/CORBA/Object:1.0" target="_blank">omg.org/CORBA/Object:1.0</a><br> most derived id: IDL:ORBTest:1.0<br>min: 26 sec: 57 msec: 510<br>One struct test<br>omniORB: LocateRequest to remote: root<0><br>
omniORB: Client attempt to connect to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a><br>omniORB: AsyncInvoker: thread id = 1 has started. Total threads =<br> 1<br>omniORB: Scavenger task execute.<br>
omniORB: Client opened connection to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a><br>
omniORB: sendChunk: to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a> 38 bytes<br>omniORB: inputMessage: from giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a> 20 bytes<br>
omniORB: Send codeset service context: (ISO-8859-1,UTF-16)<br>
omniORB: sendChunk: to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a> 200 bytes<br>omniORB: sendCopyChunk: to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a> 507592 byte<br>
s<br>omniORB: sendChunk: to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a> 220 bytes<br>
omniORB: Switch rope to use address giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a><br>omniORB: Error in network receive (start of message): giop:tcp:19<br><a href="http://2.168.5.19:1792" target="_blank">2.168.5.19:1792</a><br>
omniORB: throw giopStream::CommFailure from giopStream.cc:874(0,M<br>AYBE,0xcccccccc)<br>omniORB: Client connection refcount = 0<br>omniORB: Client close connection to giop:tcp:<a href="http://192.168.5.19:1792" target="_blank">192.168.5.19:1792</a><br>
omniORB: throw TRANSIENT from omniObjRef.cc:789 (MAYBE,0xcccccccc<br>)<br>omniORB: omniRemoteIdentity deleted.<br>omniORB: ObjRef(IDL:ORBTest:1.0) -- deleted.<br>Caught a CORBA::SystemException.<br>omniORB: Released 9 stub TypeCodes from 'orbtestdynsk.cc'.<br>
omniORB: Released 2 stub TypeCodes from 'boxesDynSK.cc'.<br>omniORB: Unregister value factory for 'IDL:<a href="http://omg.org/CORBA/WStringV" target="_blank">omg.org/CORBA/WStringV</a><br>alue:1.0'.<br>omniORB: Unregister value factory for 'IDL:<a href="http://omg.org/CORBA/StringVa" target="_blank">omg.org/CORBA/StringVa</a><br>
lue:1.0'.<br>omniORB: Released 21 stub TypeCodes from 'NamingDynSK.cc'.<br>omniORB: Released 75 stub TypeCodes from 'irDynSK.cc'.<br>omniORB: Released 46 stub TypeCodes from 'corbaidlDynSK.cc'.<br>
omniORB: Released 4 stub TypeCodes from 'bootstrapDynSK.cc'.<br>omniORB: Released 7 stub TypeCodes from 'poa_enumsDynSK.cc'.<br>omniORB: Released 1 stub TypeCode from 'unknownUserExn.cc'.<br>omniORB: Released 2 stub TypeCodes from 'policy.cc'.<br>
omniORB: Released 60 stub TypeCodes from 'dynException.cc'.<br>omniORB: ORB not destroyed; no final clean-up.<br><br>======================================================================================================<br>
<br>I would be very gratefull for some help.<br><br>Thanks in advantage,<br><br>Damir <br></div>
</div><br></div>