Archived

This forum has been archived. Please start a new discussion on GitHub.

Changes in IceBox\IceStorm configurations

Using Ice 3.2b precompiled binaries on Win XP system. I have a configuration file for icebox that worked in 3.1.x, but not anymore in 3.2b:
#------------------------------------------------------------
#		IceBox Configuration Properties
#------------------------------------------------------------

Ice.ACM.Client = 0

IceBox.Service.IceStorm=IceStormService,32b:createIceStorm
Freeze.DbEnv.IceStorm.DbHome=db

IceBox.ServiceManager.Endpoints=default -p 2999

#------------------------------------------------------------
#		IceStorm Tracing Properties
#------------------------------------------------------------

#Ice.Warn.Connections=1
#Ice.Trace.Network=3
#Ice.Trace.Protocol=1

#------------------------------------------------------------
#		IceStorm Configuration Properties
#------------------------------------------------------------

Ice.Default.Locator=IceStorm/TopicManager:default -p 3000
IceStorm.TopicManager.Proxy=IceStorm/TopicManager:tcp -p 3000
IceStorm.TopicManager.Endpoints=tcp -p 3000
IceStorm.Publish.Endpoints=tcp:udp

IceStorm.TopicManager.ThreadPool.Size=3
IceStorm.TopicManager.ThreadPool.SizeMax=15
IceStorm.TopicManager.ThreadPool.SizeWarn=14

IceStorm.Publish.ThreadPool.Size=3
IceStorm.Publish.ThreadPool.SizeMax=20
IceStorm.Publish.ThreadPool.SizeWarn=19
#Monitor.Subscriber.Endpoints=default

#------------------------------------------------------------
#		IceStorm Tracing Properties
#------------------------------------------------------------

# IceStorm.Trace.TopicManager=2
#IceStorm.Trace.Topic=1
#IceStorm.Trace.Subscriber=1
#IceStorm.Trace.Flush=1
#IceStorm.Flush.Timeout = 2000

When I run "icebox --Ice.Config=configure.txt", it gives me
03/02/07 22:22:40.715 error: ServiceManager: exception while starting service IceStorm:
ObjectAdapterI.cpp:778: Ice::InitializationException:
initialization exception:
object adapter "IceStorm.TopicManager" requires configuration.

What property is missing? Or what is that error really asking?

I've looked for the change log with respect to IceBox\IceStorm configurations, but didn't find it.

Thanks for the help.

Comments

  • benoit
    benoit Rennes, France
    Hi,

    With 3.2, IceBox services don't inherit anymore from the IceBox server properties. So you either need to specify two separate configuration files (one for the icebox server and one for the IceStorm service) or set IceBox.InheritProperties to 1 to configure IceBox to behave like 3.1.

    See the issue 21 of the newletter for more information.

    Cheers,
    Benoit.
  • That fixed it. It is also interesting to note that the old db used to be ignored, this time it threw an exception.
  • matthew
    matthew NL, Canada
    Its not surprising... without the proper configuration IceStorm cannot see the database.