[omniORB] terminating client - MacOSX

Caroline Godbout cgodbout at northplains.com
Thu May 15 17:23:35 BST 2003


Hi,

We are in the process of carbonizing our application. I have built the  
omniOrb libraries using Wolfgang's  OmniOrb project, and we are using  
the sockets library GUSI2. The problem I am having is that certain  
Corba calls are causing our application to terminate. Here's an example:

When we pass our host and port to CORBA::ORB_init()  
("NameService=corbaname::192.168.0.230:12345"), then rootContext =  
CosNaming::NamingContext::_narrow(initServ) causes our app to terminate.

If we pass "NameService=IOR:0100000..." to ORB_init() then  
NamingContext::_narrow() does not cause our application to terminate,  
but then CORBA::Object_var obj = rootContext->resolve(name) does.

I don't have these problems when running the sample code in the  
Terminal window, which uses the .dylib libraries. This makes me wonder  
if there is a problem with the .shlib libraries that I've compiled.  
Does anyone have an idea of what might be causing these problems? I've  
included a trace below.

thanks,

Caroline

------------------------------------------------------------------------ 
-
omniORB: My addresses are:
omniORB: 192.168.0.214
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) ISO-8859-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 =
omniORB:   InitRef = NameService=corbaname::192.168.0.230:12345
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname =
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 2097152
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   inConScanPeriod = 180
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 5
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 5
omniORB:   maxServerThreadPerConnection = 100
omniORB:   maxServerThreadPoolSize = 100
omniORB:   nativeCharCodeSet = ISO-8859-1
omniORB:   nativeWCharCodeSet = UTF-16
omniORB:   objectTableSize = 0
omniORB:   offerBiDirectionalGIOP = 0
omniORB:   omniORB_27_CompatibleAnyExtraction = 0
omniORB:   oneCallPerConnection = 1
omniORB:   outConScanPeriod = 120
omniORB:   poaHoldRequestTimeout = 0
omniORB:   principal = [Null]
omniORB:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 0
omniORB:   supportCurrent = 1
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Initialising incoming endpoints.
omniORB: Starting serving incoming endpoints.
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id:
omniORB: Initial reference `NameService' resolved from -ORBInitRef  
argument / ORB registration.
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 2
omniORB: giopRendezvouser task execute for giop:tcp:192.168.0.214:49378
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Scavenger task execute.
omniORB: throw giopStream::CommFailure from  
giopStream.cc:1045(0,NO,TRANSIENT_ConnectFailed)
omniORB: throw TRANSIENT from omniObjRef.cc:732  
(NO,TRANSIENT_ConnectFailed)




More information about the omniORB-list mailing list