[omniORB] INV_OBJREF instead of OBJECT_NOT_EXIST
Matthew N. White
matthew.white@marconi.com
Fri, 16 Nov 2001 11:43:56 -0500
Duncan,
Here's the ORBtraceLevel 10 transcript. If nothing is obvious from
this, I can dig into the code...
Matt W.
omniORB: gateKeeper is not installed. All incoming are accepted.
omniORB: Initialising omniDynamic library.
omniORB: Initialising incoming rope factories.
omniORB: Starting incoming rope factories.
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: Initial reference `NameService' resolved from configuration
file.
omniORB: Activating: root<0>
omniORB: Creating ref to local: root<0>
target id : IDL:omg.org/CosNotifyComm/PushSupplier:1.0
most derived id: IDL:omg.org/CosNotifyComm/PushSupplier:1.0
omniORB: Activating: root<16777216>
omniORB: Creating ref to local: root<16777216>
target id : IDL:omg.org/CosNotifyComm/PullConsumer:1.0
most derived id: IDL:omg.org/CosNotifyComm/PullConsumer:1.0
omniORB: Activating: root<33554432>
omniORB: Creating ref to local: root<33554432>
target id : IDL:omg.org/CosNotifyComm/PullConsumer:1.0
most derived id: IDL:omg.org/CosNotifyComm/PullConsumer:1.0
omniORB: LocateRequest to remote: key<0x4e616d6553657276696365>
omniORB: Creating ref to remote: root<16777216>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:att.com/AttNotification/EventChannelFactory:1.0
omniORB: Creating ref to remote: root<16777216>
target id :
IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0
most derived id: IDL:att.com/AttNotification/EventChannelFactory:1.0
omniORB: Creating ref to remote: root<134217728>
target id : IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
most derived id: IDL:att.com/AttNotification/EventChannel:1.0
omniORB: Creating ref to remote: root<184549376>
target id : IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
most derived id: IDL:att.com/AttNotification/EventChannel:1.0
omniORB: Creating ref to remote: root<234881024>
target id : IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
most derived id: IDL:att.com/AttNotification/EventChannel:1.0
omniORB: Creating ref to remote: root<251658240>
target id : IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0
most derived id: IDL:att.com/AttNotification/SupplierAdmin:1.0
omniORB: Creating ref to remote: root<268435456>
target id : IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0
most derived id: IDL:att.com/AttNotification/ProxyPushConsumer:1.0
omniORB: Creating ref to remote: root<268435456>
target id :
IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0
most derived id: IDL:att.com/AttNotification/ProxyPushConsumer:1.0
omniORB: Creating ref to remote: root<285212672>
target id : IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0
most derived id: IDL:att.com/AttNotification/ConsumerAdmin:1.0
omniORB: Creating ref to remote: root<301989888>
target id : IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: Creating ref to remote: root<301989888>
target id :
IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: Creating ref to remote: root<318767104>
target id : IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0
most derived id: IDL:att.com/AttNotification/ConsumerAdmin:1.0
omniORB: Creating ref to remote: root<335544320>
target id : IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: Creating ref to remote: root<335544320>
target id :
IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: Initial reference `NameService' resolved from configuration
file.
omniORB: Activating: root<50331648>
omniORB: Creating ref to local: root<50331648>
target id : IDL:omg.org/CosNotifyComm/PushSupplier:1.0
most derived id: IDL:omg.org/CosNotifyComm/PushSupplier:1.0
omniORB: Activating: root<67108864>
omniORB: Creating ref to local: root<67108864>
target id : IDL:omg.org/CosNotifyComm/PullConsumer:1.0
most derived id: IDL:omg.org/CosNotifyComm/PullConsumer:1.0
omniORB: Creating ref to remote: root<16777216>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:att.com/AttNotification/EventChannelFactory:1.0
omniORB: Creating ref to remote: root<16777216>
target id :
IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0
most derived id: IDL:att.com/AttNotification/EventChannelFactory:1.0
omniORB: Creating ref to remote: root<587202560>
target id : IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
most derived id: IDL:att.com/AttNotification/EventChannel:1.0
omniORB: Creating ref to remote: root<637534208>
target id : IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
most derived id: IDL:att.com/AttNotification/EventChannel:1.0
omniORB: Creating ref to remote: root<654311424>
target id : IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0
most derived id: IDL:att.com/AttNotification/SupplierAdmin:1.0
omniORB: Creating ref to remote: root<671088640>
target id : IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0
most derived id: IDL:att.com/AttNotification/ProxyPushConsumer:1.0
omniORB: Creating ref to remote: root<671088640>
target id :
IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0
most derived id: IDL:att.com/AttNotification/ProxyPushConsumer:1.0
omniORB: Creating ref to remote: root<687865856>
target id : IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0
most derived id: IDL:att.com/AttNotification/ConsumerAdmin:1.0
omniORB: Creating ref to remote: root<704643072>
target id : IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: Creating ref to remote: root<704643072>
target id :
IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0
most derived id: IDL:att.com/AttNotification/ProxyPullSupplier:1.0
omniORB: throw OBJECT_NOT_EXIST from giopClient.cc:495
omniORB: throw OBJECT_NOT_EXIST from giopClient.cc:495
omniORB: throw INV_OBJREF from giopClient.cc:495
omniORB: throw OBJECT_NOT_EXIST from giopClient.cc:495
Duncan Grisby wrote:
>
> On Monday 12 November, "Matthew N. White" wrote:
>
> [...]
> > }catch(const CORBA::Exception& e){
> > const CORBA::SystemException * se;
> > if((se = CORBA::OBJECT_NOT_EXIST::_downcast(&e)) != 0){
>
> Any particular reason you are catching by the Exception base class,
> rather than explicitly catching OBJECT_NOT_EXIST? It's not relevant
> to your problem, but it's a bit odd to do it that way.
>
> > The problem is that sometimes an INV_OBJREF is thrown, and I don't
> > expect this, only a OBJECT_NOT_EXIST exception. I didn't have this
> > problem with omniORB 3.0.3 and omniNotify 1.1beta. In Henning and
>
> Please run your program with -ORBtraceLevel 10. That will show where
> the INV_OBJREF was thrown from, which should help narrow it down.
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby \ Research Engineer --
> -- AT&T Laboratories Cambridge --
> -- http://www.uk.research.att.com/~dpg1 --
--
Matthew N. White
Marconi Plc.
724-742-6758