[omniORB] OmniEvents problem
Alex Tingle
alex.omniorb at firetree.net
Thu Feb 10 00:41:01 GMT 2005
Hi Santos,
Thanks for trying omniEvents.
It sounds to me as though your consumer is throwing an exception. If so, then you should see a message from omniEvents about 'object failure'. The first place to start looking is in the trace output from omniEvents. That usually goes to syslog, but you can redirect it to a file.
omniEvents -t omnievents.trace -ORBtraceLevel 20
Will write loads of diagnostics to the file omnievents.trace. If you send me the file, I'll tell you what I think.
One thing from the information you have provided:
> omniORB: Information: the omniDynamic library is not
> linked.
The event service uses CORBA::Any - which I think counts as dynamic - you may need to link in the omniDynamic library.
regards,
-Alex
--
:: alex tingle
:: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
On Wed, 9 Feb 2005 21:28:20 +0100 (CET)
Tacio Santos <santos_list at yahoo.de> wrote:
> Hi,
>
> I'm new to omniorb and to corba. I've tried to use
> omniEvents with a pushsupplier (C++) and a a pushcons
> (C++), but the consumers are not receving the events.
> The strange thing is when I restart omniEvents daemon
> my consumer gets one Event and stops working. I'm
> using omnievents2.6.1, omniorb4.0.5 under Linux
> Fedora Core 2. Any ideas what the problem is or what I
> should look for?
>
> Thanks in advance,
>
> Santos
>
>
> ./pushsupp-isky
> corbaname:iiop:localhost:2809/NameService#IskyChannel
> Obtained SupplierAdmin.
> Obtained ProxyPushConsumer.
> Connected Push Supplier.
> Push Supplier: push() called. Data :
> DEFAULT_EVENT_AS_STRING
> Push Supplier: push() called. Data :
> DEFAULT_EVENT_AS_STRING
> Push Supplier: push() called. Data :
> DEFAULT_EVENT_AS_STRING
>
>
> ./pushcons-isky
> corbaname:iiop:localhost:2809/NameService#IskyChannel
> Obtained ConsumerAdmin.
> Obtained ProxyPushSupplier.
> Connected Push Consumer.
> Push Consumer: push() called. Data :
> DEFAULT_EVENT_AS_STRING
>
> catior
> IOR:010000002a00000049444c3a6f6d672e6f72672f436f734576656e744
> 36f6d6d2f50757368436f6e73756d65723a312e30000000010000000000000064000000010102000
> d00000038342e3234362e36342e37320000f6a50e000000feca6d0a4200004c7c000000000000000
> 200000000000000080000000100000000545441010000001c0000000100000001000100010000000
> 1000105090101000100000009010100
> omniORB: Distribution date: Mon Oct 18 18:06:03 BST
> 2004 dgrisby
> omniORB: Information: the omniDynamic library is not
> linked.
> Type ID: "IDL:omg.org/CosEventComm/PushConsumer:1.0"
> Profiles:
> 1. IIOP 1.2 84.246.64.72 42486 "..m.B..L|....."
> TAG_ORB_TYPE omniORB
> TAG_CODE_SETS char native code set:
> ISO-8859-1
> char conversion code set:
> UTF-8
> wchar native code set:
> UTF-16
> wchar conversion code set:
> UTF-16
>
>
> lua:$ catior
> IOR:010000002a00000049444c3a6f6d672e6f72672f436f734576656e744
> 36f6d6d2f50757368537570706c6965723a312e30000000010000000000000064000000010102000
> d00000038342e3234362e36342e37320000f9a50e000000fee36d0a4200004c80000000000000000
> 200000000000000080000000100000000545441010000001c0000000100000001000100010000000
> 1000105090101000100000009010100
> omniORB: Distribution date: Mon Oct 18 18:06:03 BST
> 2004 dgrisby
> omniORB: Information: the omniDynamic library is not
> linked.
> Type ID: "IDL:omg.org/CosEventComm/PushSupplier:1.0"
> Profiles:
> 1. IIOP 1.2 84.246.64.72 42489 "..m.B..L......"
> TAG_ORB_TYPE omniORB
> TAG_CODE_SETS char native code set:
> ISO-8859-1
> char conversion code set:
> UTF-8
> wchar native code set:
> UTF-16
> wchar conversion code set:
> UTF-16
>
--
:: alex tingle
:: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the omniORB-list
mailing list