[omniORB] Executing problem with omniEvents (PushCons.java)

Sang Yong Park utri at ece.skku.ac.kr
Thu Jul 7 22:00:56 BST 2005


Thanks for your advice

 

Unfortunately, I haven't been able to execute PushCons.java example.

So I will show you what I did.

What I did wrong?

 

Please give advice again

 

lunar ~ # omniNames &

[1] 14885

lunar ~ #

Thu Jul  7 20:45:48 2005:

 

Read log file successfully.

Root context is
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67
436f6e746578744578743a312e300000010000000000000060000000010102000e0000003230
332e3235322e35302e393500f90a0b0000004e616d6553657276696365000200000000000000
080000000100000000545441010000001c000000010000000100010001000000010001050901
01000100000009010100

Checkpointing Phase 1: Prepare.

Checkpointing Phase 2: Commit.

Checkpointing completed.

 

lunar ~ # omniEvents -v

omniEvents: [14889]: Starting omniEvents on port 11169

omniEvents: [14889]:
IOR:010000002c00000049444c3a6f6d6e692f6f6d6e694576656e74732f4576656e74436861
6e6e656c466163746f72793a312e3000010000000000000060000000010102000e0000003230
332e3235322e35302e393500a12b0a0000006f6d6e694576656e747300000200000000000000
080000000100000000545441010000001c000000010000000100010001000000010001050901
01000100000009010100

lunar ~ #

lunar ~ # nameclt -ORBInitRef NameService=corbaname::lunar.skku.ac.kr list

EventChannelFactory

lunar ~ # eventc

lunar ~ # nameclt -ORBInitRef NameService=corbaname::lunar.skku.ac.kr list

EventChannelFactory

EventChannel

lunar ~ #

 

gnoygnas at lunar java $ java PushSupp -ORBInitRef
NameService=corbaname::lunar.skku.ac.kr:2809

find EventChannel in NameService

Failed to find EventChannel in NameService. NamingContext::NotFound

gnoygnas at lunar java $

 

-----Original Message-----
From: Alex Tingle [mailto:alex.tingle at bronermetals.com] 
Sent: Thursday, July 07, 2005 7:00 PM
To: Sang Yong Park
Cc: Users omniORB
Subject: Re: [omniORB] Executing problem with omniEvents (PushCons.java)

 

> Before executing, omniNames, omniEvents, and eventc have been started.

 

`eventc' is not a service. You cannot start it. It is a command that 

you run to create an event channel in the omniEvents server.

 

> goygnas at lunar java $ java PushSupp -ORBInitRef

> NameService=corbaname::vks.skku.ac.kr:2809

 

> Failed to find EventChannel in NameService. NamingContext::NotFound

 

The PushSupp client needs to be able to find the event channel. It does 

this by looking up the name 'EventChannel' in the naming service at 

vks.skku.ac.kr. This error message means that name wasn't found.

 

Try typing

   nameclt -ORBInitRef NameService=corbaname::vks.skku.ac.kr list

Do you see 'EventChannel' listed there? If not, then there is no chance 

that PushSupp will find it.

 

Try the `eventc' command again. Are you giving it any options? Are you 

sure that it is using the same naming service that you have told the 

PushSupp client to use?

 

-Alex Tingle

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20050707/e283d6cd/attachment.htm


More information about the omniORB-list mailing list