Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-17-2004
Bruce's Avatar
Bruce Bruce is offline
Registered User
 
 
Join Date: Feb 2003
Location: Perth, Western Australia
Posts: 17
IceStorm example - configuration

I am working through the publisher/subscriber example in chapter 25, and I am having a bit of trouble working out exactly what goes in the config_service and config files to get this example working. Can you give me an example of the bare minimum config for this example?
__________________
Bruce Fountain
Ice 1.2.0
OS=Redhat9
Compiler=gcc-3.2.2
Reply With Quote
  #2 (permalink)  
Old 03-18-2004
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi Bruce!

Naturally you can configure your applications however you see fit.

In the example demo/IceStorm/clock, we use the file config_service for IceBox, and the file config for IceStorm, the publisher and the subscriber. If you look closely at config_service, you'll notice that the IceStorm service is configured with the argument --Ice.Config=config, which causes it to load the properties in config.

To be more specific, IceBox requires the following properties in order to load IceStorm:
Code:
IceBox.ServiceManager.Endpoints=<sm-endpoints>
IceBox.Service.IceStorm=IceStormService,12:create
IceBox.DBEnvName.IceStorm=<dbdir>
IceStorm requires the following properties:
Code:
IceStorm.TopicManager.Endpoints=<icestorm-endpoints>
IceStorm.Publish.Endpoints=default
Publishers and subscribers need a proxy for the TopicManager. In this example they use the following property:
Code:
IceStorm.TopicManager.Proxy=IceStorm/TopicManager:<icestorm-endpoints>
Hope that helps,
- Mark
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
Setting a default configuration file eric.hill Help Center 14 07-03-2008 10:01 AM
Configuration problems with PHP davidcr1983 Help Center 7 08-29-2006 06:25 PM
Plugin configuration kwaclaw Comments 9 09-29-2005 08:07 PM
IcePack and Glacier2 configuration xdm Help Center 4 06-01-2005 12:37 PM
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 10:17 AM.


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