|
|
Re: Sequence Push Consumer
|
Posted: Apr 5, 2011 10:05 AM
|
|
Hi, I have the same problem, I hope you solved. In case you didn't I found that the following is needed to create a Sequence Push Consumer
1. Create a CosNotifyChannelAdmin.ConsumerAdmin 2. Create a CosNotifyChannelAdmin.ProxySupplier, with ClientType.SEQUENCE_EVENT 3. With object created on step 2, narrow CosNotifyChannelAdmin.SequenceProxyPushSupplier. 4. Create a CosNotifyComm.SequencePushConsumer 5. With SequenceProxyPushSupplier, connect_sequence_push_consumer to object created in step 4.
Then, you are supposed to continue as you posted before. My problem is that I'm getting a huge exception on step 5.
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source) at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(Unknown Source) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(Unkno wn Source) at com.sun.corba.se.impl.transport.SelectorImpl.run(Unknown Source) Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConn ection(Unknown Source) at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConn ection(Unknown Source) at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(Unknow n Source) at com.sun.corba.se.impl.transport.CorbaContactInfoBase.createMessageMediator(Unkn own Source) ... 3 more Caused by: java.io.IOException: End-of-stream at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(Unknown Source) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(Unknown Source) ... 5 more
Hope you or anyone can give me some light...
|
|