[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openorb-users
Subject:    [openorb-users] Notification service problem:
From:       "Jay P." <bbtt0 () comcast ! net>
Date:       2002-12-22 18:39:43
[Download RAW message or body]

Hello,

I am trying to use the Notification Service (version 1.3.0) for the first
time and ran into a problem connecting a PushConsumer to an event channel.
My supplier process had already created a persistent channel and connected
to it with proxy consumer of type ClientType.ANY_EVENT, passing a null
PushSupplier when connecting (if that matters).  Then the following code in
my consumer process triggered a runtime exception within the notification
service:

ConsumerAdmin consumerAdmin = channel.default_consumer_admin();
org.omg.CORBA.IntHolder proxyId = new org.omg.CORBA.IntHolder();
proxySupplier =
consumerAdmin.obtain_notification_push_supplier(ClientType.ANY_EVENT,
proxyId);

Here is the debug output from the NotificationService:

[DEBUG] (orb.ldr#28050664):
------------------------------------------------------
( Incoming message ) Displaying a buffer, size = 140
------------------------------------------------------
GIOP.... ........  47494F50 01020000 00000080 00000014
........ ...@.OO.  03000000 00000000 00000040 004F4F00
?POA?Eve ntChanne  FE504F41 FE457665 6E744368 616E6E65
lFactory POA?....  6C466163 746F7279 504F41FE 00000000
........ ?]?.....  00000000 FFFFFFFF F35DF000 00000000
........ ......."  00000000 00000000 00000001 00000022
obtain_n otificat  6F627461 696E5F6E 6F746966 69636174
ion_push _supplie  696F6E5F 70757368 5F737570 706C6965
r....... ....      72000000 00000000 00000000
------------------------------------------------------

[DEBUG] (orb.ldr#28050664): New codesets for input stream set to [Cp1252]
and [UTF-16BE].
[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
incoming request #20
[DEBUG] (NotificationService.ConsumerAdmin):
obtain_notification_pull_supplier: proxy_id=org.omg.CORBA.IntHolder@6caf16
[DEBUG] (NotificationService.ConsumerAdmin): [0][0] AnyPushSupplier created
with id 0.
[DEBUG] (NotificationService.ConsumerAdmin): MyID
[DEBUG] (orb.ldr#28050664): Resolved initial reference "CodecFactory" from
reference table.
[ERROR] (orb.ldr#28050664): Handle runtime exception
[DEBUG] (orb.ldr#28050664): New encodings for output stream set to [Cp1252]
and [UTF-16BE].
[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
request #20 reply stream created. Reply status: 2
[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
request #18 last fragment sent
[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
request #18 completed
[DEBUG] (orb.ldr#28050664):
------------------------------------------------------
( Sending message ) Displaying a buffer, size = 68
------------------------------------------------------
GIOP.... ...8....  47494F50 01020001 00000038 00000014
........ ....IDL:  00000002 00000000 0000001E 49444C3A
omg.org/ CORBA/UN  6F6D672E 6F72672F 434F5242 412F554E
KNOWN:1. 0.......  4B4E4F57 4E3A312E 30000000 00000000
....               00000002
------------------------------------------------------

[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
request #20 last fragment sent
[DEBUG] (orb.ldr#28050664): ServerChannel: (iiop) 2005 (2005 <- jdp2:4036)
request #20 completed

This is the message I received in the consumer process:

org.omg.CORBA.UNKNOWN: Server Exception: Unregistered vendor exception #0
vmcid
: 0x0  minor code: 0 completed: Maybe
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at org.openorb.CORBA.SystemExceptionHelper.create(Unknown Source)
        at org.openorb.iiop.IIOPClientRequest.wait_for_response(Unknown
Source)
        at org.openorb.CORBA.Delegate$RequestState.waitForResponse(Unknown
Source)
        at org.openorb.CORBA.Delegate.invoke(Unknown Source)
        at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
        at
org.omg.CosNotifyChannelAdmin._ConsumerAdminStub.obtain_notification_push_su
pplier(Unknown Source)

Has this been seen before?  Is there a known workaround?  Any help would be
appreciated.
Thanks.
Jay




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
openorb-users mailing list
openorb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openorb-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic