[omniORB] Fail to run omniEvents 2.6 on AIX 5.1

Alex Tingle alex.tingle at bronermetals.com
Tue Apr 26 13:10:56 BST 2005


Hi caoy,

You didn't say which compiler you were using. Assuming you are using  
VisualAge (xlC_r), then try adding -qrtti=all to the CXXFLAGS variable  
in config.mk:

CXXFLAGS += -qrtti=all

This turns on RTTI, which isn't activated by default it seems.

I've run some tests on my AIX box with this fix in place, and I still  
get problems. They seem to be within omniORB itself... I'm still  
investigating.

-Alex Tingle

--
Dammit Jim, I'm a programmer... not a mind reader!

On 26 Apr 2005, at 07:26, caoy wrote:
> Hi, I had installed omniORB-4.0.3+omniEvents2.6 on IBM AIX 5.1 system  
> recently.The omniORB's echo examples can run successfully,but  
> omniEvents's examples can't run correctly.They will throw COMM_FAILURE  
> Expection and the omniEvents services will be killed at the same time!
>
> I list the output of omniNames ,omniEvents and pushsupp here for  
> analysis.
>
> I'm tired with omniEvents these days!Help~!
>
> -----------------------------------------------
> Here is the omniNames's output :
> -----------------------------------------------
> Read log file successfully.
> omniORB: Creating ref to local: key<0x4e616d6553657276696365>
>  target id      : IDL:omg.org/CosNaming/NamingContextExt:1.0
>  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
> Root context is  
> IOR: 
> 000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e6 
> 7436f6e746578744578743a312e30000000000001000000000000006000010200000000 
> 0d3139322e392e3230302e313000000af90000000b4e616d65536572766963650000000 
> 00200000000000000080000000041545400000000010000001c00000000000100010000 
> 000105010001000101090000000100010109
> Checkpointing Phase 1: Prepare.
> omniORB: createLocalObjRef -- reusing reference from local ref list.
> omniORB: createLocalObjRef -- reusing reference from local ref list.
> omniORB: createLocalObjRef -- reusing reference from local ref list.
> omniORB: createLocalObjRef -- reusing reference from local ref list.
> Checkpointing Phase 2: Commit.
> Checkpointing completed.
> omniORB: Server accepted connection from giop:tcp:192.9.200.10:33070
> omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3
> omniORB: giopWorker task execute.
> omniORB: Accepted connection from giop:tcp:192.9.200.10:33070 because  
> of this rule: "* unix,ssl,tcp"
> omniORB: inputMessage: from giop:tcp:192.9.200.10:33070 100 bytes
> omniORB: sendChunk: to giop:tcp:192.9.200.10:33070 25 bytes
> omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 3
> omniORB: Scavenger task execute.
> omniORB: inputMessage: from giop:tcp:192.9.200.10:33070 248 bytes
> omniORB: Creating ref to remote: key<0x6f6d6e694576656e7473>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id: IDL:omni/omniEvents/EventChannelFactory:1.0
> omniORB: omniRemoteIdentity deleted.
> omniORB: ObjRef(IDL:omni/omniEvents/EventChannelFactory:1.0) --  
> deleted.
> omniORB: sendChunk: to giop:tcp:192.9.200.10:33070 81 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:33070 248 bytes
> omniORB: Creating ref to remote: key<0x6f6d6e694576656e7473>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id: IDL:omni/omniEvents/EventChannelFactory:1.0
> omniORB: createLocalObjRef -- reusing reference from local ref list.
> omniORB: omniRemoteIdentity deleted.
> omniORB: ObjRef(IDL:omni/omniEvents/EventChannelFactory:1.0) --  
> deleted.
> omniORB: sendChunk: to giop:tcp:192.9.200.10:33070 24 bytes
> omniORB: Server accepted connection from giop:tcp:192.9.200.10:33072
> omniORB: AsyncInvoker: thread id = 4 has started. Total threads = 4
> omniORB: giopWorker task execute.
> omniORB: Accepted connection from giop:tcp:192.9.200.10:33072 because  
> of this rule: "* unix,ssl,tcp"
> omniORB: inputMessage: from giop:tcp:192.9.200.10:33072 100 bytes
> omniORB: sendChunk: to giop:tcp:192.9.200.10:33072 25 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:33072 85 bytes
> omniORB: sendChunk: to giop:tcp:192.9.200.10:33072 196 bytes
> omniORB: throw giopStream::CommFailure from  
> giopStream.cc:828(0,NO,COMM_FAILURE_UnMarshalArguments)
> omniORB: Server connection refcount = 1
> omniORB: Server connection refcount = 0
> omniORB: Server close connection from giop:tcp:192.9.200.10:33070
> omniORB: throw giopStream::CommFailure from  
> giopStream.cc:828(0,NO,COMM_FAILURE_UnMarshalArguments)
> omniORB: Server connection refcount = 1
> omniORB: Server connection refcount = 0
> omniORB: Server close connection from giop:tcp:192.9.200.10:33072
> omniORB: AsyncInvoker: thread id = 3 has exited. Total threads = 4
> omniORB: AsyncInvoker: thread id = 4 has exited. Total threads = 3
>
> --------------------------------------
> Here is the omniEvents's output :
> --------------------------------------
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Initialising incoming  
> endpoints.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Bind to address  
> 0.0.0.0.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Starting serving  
> incoming endpoints.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Creating ref to  
> remote: key<0x4e616d6553657276696365>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id:
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Initial reference  
> `NameService' resolved from configuration file.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Client attempt to  
> connect to giop:tcp:192.9.200.10:2809
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: AsyncInvoker: thread  
> id = 2 has started. Total threads = 2
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Scavenger task  
> execute.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Client opened  
> connection to giop:tcp:192.9.200.10:2809
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: sendChunk: to  
> giop:tcp:192.9.200.10:2809 100 bytes
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: AsyncInvoker: thread  
> id = 1 has started. Total threads = 2
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: giopRendezvouser task  
> execute for giop:tcp:192.9.200.10:11169
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: inputMessage: from  
> giop:tcp:192.9.200.10:2809 25 bytes
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Creating ref to  
> remote: key<0x4e616d6553657276696365>
>  target id      : IDL:omg.org/CosNaming/NamingContext:1.0
>  most derived id:
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: MaxQueueLength=1023
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: Activating object  
> 1.23542.426e9548/ConsumerAdmin
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Adding  
> root/1.23542.426e9548<ConsumerAdmin> (activating) to object table.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: State  
> root/1.23542.426e9548<ConsumerAdmin> (activating) -> active
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: Activating object  
> 1.23542.426e9548/SupplierAdmin
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Adding  
> root/1.23542.426e9548<SupplierAdmin> (activating) to object table.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: State  
> root/1.23542.426e9548<SupplierAdmin> (activating) -> active
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: Activating object  
> 1.23542.426e9548/EventChannel
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Adding  
> root/1.23542.426e9548<EventChannel> (activating) to object table.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: State  
> root/1.23542.426e9548<EventChannel> (activating) -> active
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: Activating object  
> omniINSPOA/omniEvents
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Adding  
> key<0x6f6d6e694576656e7473> (activating) to object table.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: State  
> key<0x6f6d6e694576656e7473> (activating) -> active
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: Creating ref to  
> local: key<0x6f6d6e694576656e7473>
>  target id      : IDL:omni/omniEvents/EventChannelFactory:1.0
>  most derived id: IDL:omni/omniEvents/EventChannelFactory:1.0
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: createLocalObjRef --  
> reusing reference from local ref list.
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: sendChunk: to  
> giop:tcp:192.9.200.10:2809 248 bytes
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: inputMessage: from  
> giop:tcp:192.9.200.10:2809 81 bytes
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: sendChunk: to  
> giop:tcp:192.9.200.10:2809 248 bytes
>
> <30>Apr 26 14:26:30 omniEvents: [7462]: omniORB: inputMessage: from  
> giop:tcp:192.9.200.10:2809 24 bytes
>
> -----------------------------------------
> Here is the pushsupp's output:
> -----------------------------------------
> omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
> omniORB: My addresses are:
> omniORB: 192.9.200.10
> omniORB: 127.0.0.1
> omniORB: Maximum supported GIOP version is 1.2
> omniORB: Native char code sets: ISO-8859-1 UTF-8.
> omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1)  
> ISO-8859-1(1.0) UTF-8(1.2).
> omniORB: Native wide char code sets: UTF-16.
> omniORB: Transmission wide char code sets: UTF-16(1.2).
> omniORB: Information: the omniDynamic library is not linked.
> omniORB: Current configuration is as follows:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:
> omniORB:   DefaultInitRef (file) =
> omniORB:   DefaultInitRef (args) =
> omniORB:   InitRef = NameService=corbaname::192.9.200.10:2809
> 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 = 30000000
> 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:   poaUniquePersistentSystemIds = 1
> omniORB:   principal = [Null]
> omniORB:   scanGranularity = 5
> omniORB:   serverCallTimeOutPeriod = 0
> omniORB:   serverTransportRule = * unix,ssl,tcp
> 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:   traceInvocations = 0
> omniORB:   traceLevel = 25
> omniORB:   traceThreadId = 0
> omniORB:   unixTransportDirectory = /tmp/omni-%u
> omniORB:   unixTransportPermission =  777
> omniORB:   useTypeCodeIndirections = 1
> omniORB:   verifyObjectExistsAndType = 1
> omniORB: Initialising incoming endpoints.
> omniORB: Bind to address 0.0.0.0.
> 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 configuration  
> file.
> omniORB: Client attempt to connect to giop:tcp:192.9.200.10:2809
> omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 2
> omniORB: giopRendezvouser task execute for giop:tcp:192.9.200.10:33071
> omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
> omniORB: Scavenger task execute.
> omniORB: Client opened connection to giop:tcp:192.9.200.10:2809
> omniORB: sendChunk: to giop:tcp:192.9.200.10:2809 100 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:2809 25 bytes
> omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
>  target id      : IDL:omg.org/CosNaming/NamingContext:1.0
>  most derived id:
> find EventChannel in NameService
> omniORB: sendChunk: to giop:tcp:192.9.200.10:2809 85 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:2809 196 bytes
> omniORB: Creating ref to remote: root/1.23542.426e9548<EventChannel>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id: IDL:omni/omniEvents/EventChannel:1.0
> omniORB: ObjRef() -- deleted.
> omniORB: LocateRequest to remote: root/1.23542.426e9548<EventChannel>
> omniORB: Client attempt to connect to giop:tcp:192.9.200.10:11169
> omniORB: Client opened connection to giop:tcp:192.9.200.10:11169
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 54 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:11169 20 bytes
> omniORB:  send codeset service context: (ISO-8859-1,UTF-16)
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 104 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:11169 208 bytes
> omniORB: Creating ref to remote: root/1.23542.426e9548<SupplierAdmin>
>  target id      : IDL:omg.org/CosEventChannelAdmin/SupplierAdmin:1.0
>  most derived id: IDL:omg.org/CosEventChannelAdmin/SupplierAdmin:1.0
> Obtained SupplierAdmin.
> omniORB: LocateRequest to remote: root/1.23542.426e9548<SupplierAdmin>
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 55 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:11169 20 bytes
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 92 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:11169 248 bytes
> omniORB: Creating ref to remote:  
> root/1.23542.426e9548/ 
> 1.23542.426e9548.ProxyPushConsumer<1.7462.426e9622>
>  target id      :  
> IDL:omg.org/CosEventChannelAdmin/ProxyPushConsumer:1.0
>  most derived id:  
> IDL:omg.org/CosEventChannelAdmin/ProxyPushConsumer:1.0
> Obtained ProxyPushConsumer.
> omniORB: Adding root<0> (activating) to object table.
> omniORB: State root<0> (activating) -> active
> omniORB: Creating ref to local: root<0>
>  target id      : IDL:omg.org/CosEventComm/PushSupplier:1.0
>  most derived id: IDL:omg.org/CosEventComm/PushSupplier:1.0
> omniORB: LocateRequest to remote:  
> root/1.23542.426e9548/ 
> 1.23542.426e9548.ProxyPushConsumer<1.7462.426e9622>
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 92 bytes
> omniORB: inputMessage: from giop:tcp:192.9.200.10:11169 20 bytes
> omniORB: sendChunk: to giop:tcp:192.9.200.10:11169 288 bytes
> omniORB: throw giopStream::CommFailure from  
> giopStream.cc:828(0,MAYBE,COMM_FAILURE_WaitingForReply)
> omniORB: Client connection refcount = 0
> omniORB: Client close connection to giop:tcp:192.9.200.10:11169
> omniORB: throw COMM_FAILURE from omniObjRef.cc:754  
> (MAYBE,COMM_FAILURE_WaitingForReply)
> Caught COMM_FAILURE Exception connecting Push Supplier! Retrying...
> omniORB:  send codeset service context: (ISO-8859-1,UTF-16)
> omniORB: Client attempt to connect to giop:tcp:192.9.200.10:11169
> omniORB: throw giopStream::CommFailure from  
> giopStream.cc:1070(0,NO,TRANSIENT_ConnectFailed)
> omniORB: throw TRANSIENT from omniObjRef.cc:759  
> (NO,TRANSIENT_ConnectFailed)
> omniORB: ObjRef(IDL:omg.org/CosEventComm/PushSupplier:1.0) -- deleted.
> omniORB: omniRemoteIdentity deleted.
> omniORB:  
> ObjRef(IDL:omg.org/CosEventChannelAdmin/ProxyPushConsumer:1.0) --  
> deleted.
> omniORB: omniRemoteIdentity deleted.
> omniORB: ObjRef(IDL:omg.org/CosEventChannelAdmin/SupplierAdmin:1.0) --  
> deleted.
> omniORB: omniRemoteIdentity deleted.
> omniORB: ObjRef(IDL:omni/omniEvents/EventChannel:1.0) -- deleted.
> Abort (core dumped)
>
>
>
>
> ______________________________________
>
> ===================================================================
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list