Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-12-2007
pradeep pradeep is offline
Registered User
 
Name: Pradeep
Organization: E2 Solutions
Project: E2 Financial
 
Join Date: Nov 2006
Posts: 11
Subscribing with icestorm

Hi,

I am facing problem when subscribing to icestorm.

One application which is publishing messages is in the descriptor used to register with icegrid.

While another application which subscribes for the message is not registered withe icegrid.

Problem Iam facing is

Iam able to subscribe for the message. But when another application publishes the message,
icestorm throws an NotRegisteredException on the subscriber application.

Should the subscriber application always be registered with the IceGrid, to get the messages?
Or Am I missing any configuration?

Thanks & Regards,

Pradeep
__________________
Pradeep
E2 Solutions www.e2india.com
Reply With Quote
  #2 (permalink)  
Old 01-12-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
Hi,

The configuration you're describing should work so there's most likely a configuration problem. I'm not sure I understand where the Ice::NotRegisteredException is raised, is it raised by the subscriber, publisher or IceStorm? What is the output when you print the exception on the standard output/error?

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 01-12-2007
pradeep pradeep is offline
Registered User
 
Name: Pradeep
Organization: E2 Solutions
Project: E2 Financial
 
Join Date: Nov 2006
Posts: 11
It is generated in IceStorm

The Error looks like this

[ icebox-IceStorm: Topic: Subscribe: e84801ca-e79e-4ab3-a9d5-848c49d5803c Qo]
[ icebox-IceStorm: Subscriber: e84801ca-e79e-4ab3-a9d5-848c49d5803c: publish
led: .\LocatorInfo.cpp:407: Ice::NotRegisteredException:
no object with id `e84801ca-e79e-4ab3-a9d5-848c49d5803c' is registered ]
__________________
Pradeep
E2 Solutions www.e2india.com
Reply With Quote
  #4 (permalink)  
Old 01-12-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
This exception indicates that IceStorm, when it invokes on the subscriber proxy, tried to locate with the locator the object with the identity from the trace but couldn't find it (it's not registerd with the locator).

How do create the subsciber proxy and register it with the topic? This proxy is most likely the problem, it should be a direct proxy since you don't register the subscriber with IceGrid.

Cheers,
Benoit.
Reply With Quote
  #5 (permalink)  
Old 01-12-2007
pradeep pradeep is offline
Registered User
 
Name: Pradeep
Organization: E2 Solutions
Project: E2 Financial
 
Join Date: Nov 2006
Posts: 11
Thanks Benoit, I will try this and get back to you.
__________________
Pradeep
E2 Solutions www.e2india.com
Reply With Quote
  #6 (permalink)  
Old 01-12-2007
pradeep pradeep is offline
Registered User
 
Name: Pradeep
Organization: E2 Solutions
Project: E2 Financial
 
Join Date: Nov 2006
Posts: 11
Hi,

But I am getting the topicmanager proxy using the following

"InstanceName/TopicManager:default -p 10000", which is also given in my configuration file.

Thanks & Regards

Pradeep
__________________
Pradeep
E2 Solutions www.e2india.com
Reply With Quote
  #7 (permalink)  
Old 01-12-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
Hi,

Hmm, the exception has nothing to do with how you're getting the topic manager proxy. The problem lies in the proxy used to subscribe the subscriber object to the IceStorm topic.

Could you copy/paste the client code showing the subscription to the topic and the client configuration?

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown property "IceBox.DBEnvName.IceStorm" for IceStorm wwwtiger Help Center 1 11-05-2004 03:23 PM


All times are GMT -4. The time now is 12:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.