[omniORB] Re: omniORB: Error in network receive...

Damir Mamic damir.mamic at gmail.com
Mon Jul 21 19:04:44 BST 2008


I'm reposting because in previous mail just the attachments are accepted, so
here is the question, and prob. description:


Hello,

I am expiriencing problems with array of longs bigger than size 126898
within a struct. The *.idl representation of this struct looks like:

struct DMStruct {
  long l[126899];
  short s[100];
};

I'm using omniORB4.1.1 on win32 platform.

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.

The problem that shows up when raising the array inside the struct higher
than 126898, at client side (trace level 25):

omniORB: Error in network receive (start of message): giop:tcp:
192.168.5.19:1792
omniORB: throw giopStream::CommFailure from
giopStream.cc:874(0,MAYBE,0xcccccccc)

I've also tried raising the giopMaxMsgSize up to 500MB, but it isn't the
problem.


Here is the whole trace (level 25) of the client side:

======================================================================================================

D:\Damir\CORBA\DMS CORBA training_sredjeno\Test2\with_omniORB4.1.
1\win32\debug>ORBTestOutProcClient.exe IOR:010000001000000049444c
3a4f5242546573743a312e3000010000000000000064000000010102000d00000
03139322e3136382e352e3139000000070e000000fe8e9c844800000fd4000000
000000000200000000000000080000000100000000545441010000001c0000000
1000000010001000100000001000105090101000100000009010100
omniORB: Version: 4.1.1
omniORB: Distribution date: Sun Oct  7 16:41:47 BST 2007 dgrisby
omniORB: Warning: unable to create an IPv6 socket. Unable to obta
in the list of IPv6 interface addresses (10047).
omniORB: My addresses are:
omniORB: 192.168.253.1
omniORB: 192.168.40.1
omniORB: 127.0.0.1
omniORB: 192.168.5.19
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: UTF-8 ISO-8859-1.
omniORB: Transmission char code sets: UTF-8(1.2) UTF-8(1.1) ISO-8
859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Initialising omniDynamic library.
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::192.168.5.19:
omniORB:   abortOnInternalError = 0
omniORB:   abortOnNativeException = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname =
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientConnectTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   configFile = [none]
omniORB:   connectionWatchImmediate = 0
omniORB:   connectionWatchPeriod = 50000
omniORB:   copyValuesInLocalCalls = 1
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp:192.168.5.19:
omniORB:   endPointPublish = addr
omniORB:   giopMaxMsgSize = 2097152
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   idleThreadTimeout = 10
omniORB:   inConScanPeriod = 180
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 5
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 5
omniORB:   maxServerThreadPerConnection = 100
omniORB:   maxServerThreadPoolSize = 100
omniORB:   maxSocketRecv = 131072
omniORB:   maxSocketSend = 131072
omniORB:   nativeCharCodeSet = ISO-8859-1
omniORB:   nativeWCharCodeSet = UTF-16
omniORB:   objectTableSize = 0
omniORB:   offerBiDirectionalGIOP = 0
omniORB:   oneCallPerConnection = 1
omniORB:   outConScanPeriod = 120
omniORB:   poaHoldRequestTimeout = 0
omniORB:   poaUniquePersistentSystemIds = 1
omniORB:   principal = [Null]
omniORB:   resetTimeOutOnRetries = 0
omniORB:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   socketSendBuffer = 16384
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 0
omniORB:   supportCurrent = 1
omniORB:   supportPerThreadTimeOut = 0
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceExceptions = 1
omniORB:   traceFile = [stderr]
omniORB:   traceInvocationReturns = 0
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 25
omniORB:   traceThreadId = 0
omniORB:   traceTime = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Creating ref to remote: root<0>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:ORBTest:1.0
min: 26 sec: 57 msec: 510
One struct test
omniORB: LocateRequest to remote: root<0>
omniORB: Client attempt to connect to giop:tcp:192.168.5.19:1792
omniORB: AsyncInvoker: thread id = 1 has started. Total threads =
 1
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:192.168.5.19:1792
omniORB: sendChunk: to giop:tcp:192.168.5.19:1792 38 bytes
omniORB: inputMessage: from giop:tcp:192.168.5.19:1792 20 bytes
omniORB: Send codeset service context: (ISO-8859-1,UTF-16)
omniORB: sendChunk: to giop:tcp:192.168.5.19:1792 200 bytes
omniORB: sendCopyChunk: to giop:tcp:192.168.5.19:1792 507592 byte
s
omniORB: sendChunk: to giop:tcp:192.168.5.19:1792 220 bytes
omniORB: Switch rope to use address giop:tcp:192.168.5.19:1792
omniORB: Error in network receive (start of message): giop:tcp:19
2.168.5.19:1792
omniORB: throw giopStream::CommFailure from giopStream.cc:874(0,M
AYBE,0xcccccccc)
omniORB: Client connection refcount = 0
omniORB: Client close connection to giop:tcp:192.168.5.19:1792
omniORB: throw TRANSIENT from omniObjRef.cc:789 (MAYBE,0xcccccccc
)
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef(IDL:ORBTest:1.0) -- deleted.
Caught a CORBA::SystemException.
omniORB: Released 9 stub TypeCodes from 'orbtestdynsk.cc'.
omniORB: Released 2 stub TypeCodes from 'boxesDynSK.cc'.
omniORB: Unregister value factory for 'IDL:omg.org/CORBA/WStringV
alue:1.0'.
omniORB: Unregister value factory for 'IDL:omg.org/CORBA/StringVa
lue:1.0'.
omniORB: Released 21 stub TypeCodes from 'NamingDynSK.cc'.
omniORB: Released 75 stub TypeCodes from 'irDynSK.cc'.
omniORB: Released 46 stub TypeCodes from 'corbaidlDynSK.cc'.
omniORB: Released 4 stub TypeCodes from 'bootstrapDynSK.cc'.
omniORB: Released 7 stub TypeCodes from 'poa_enumsDynSK.cc'.
omniORB: Released 1 stub TypeCode from 'unknownUserExn.cc'.
omniORB: Released 2 stub TypeCodes from 'policy.cc'.
omniORB: Released 60 stub TypeCodes from 'dynException.cc'.
omniORB: ORB not destroyed; no final clean-up.

======================================================================================================

I would be very gratefull for some help.

Thanks in advantage,

Damir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080721/35f88dfe/attachment.htm


More information about the omniORB-list mailing list