Windows Services

RonnieDayRonnieDay Member Ronnie DayOrganization: RBCCMProject: FIC Pricing
I have managed to get the ice registry and nodes up and running for an ice grid. using the commandline icegridnode and icegridregistry commands.

However when I try and run the services as windows services I keep getting the error message:

exception occurred while initializing a communicator:
FreezeDB.cpp:134: Ice::PluginInitializationException:
plug-in initialization failed: property `IceGrid.Registry.Data' is not set

even though this property is set in my config:

IceGrid.InstanceName=DemoIceGrid

# Registry properties
IceGrid.Registry.Client.Endpoints=default -p 4061
IceGrid.Registry.Server.Endpoints=default
IceGrid.Registry.Internal.Endpoints=default

IceGrid.Registry.Data=D:\SVN\UserControlService\registerytest
IceGrid.Registry.PermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
IceGrid.Registry.AdminPermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
IceGrid.Registry.SSLPermissionsVerifier=DemoIceGrid/NullSSLPermissionsVerifier
IceGrid.Registry.AdminSSLPermissionsVerifier=DemoIceGrid/NullSSLPermissionsVerifier

IceGridAdmin.Username=foo
IceGridAdmin.Password=bar
#IceGrid.Registry.ReplicaName=Master

# Enable tracing of registry activity
IceGrid.Registry.Trace.Adapter=1
IceGrid.Registry.Trace.Locator=1
IceGrid.Registry.Trace.Application=1
IceGrid.Registry.Trace.Node=1
IceGrid.Registry.Trace.Object=1
IceGrid.Registry.Trace.Server=1

# Redirect output to a file to help trace registry and node problems.
Ice.StdOut=c:\icegrid\stdout.log
Ice.StdErr=c:\icegrid\stderr.log

Am I doing something wrong ?


Cheers

Ronnie

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Ronnie,

    Welcome to our forums!

    It's always helpful to provide details on your environment, like the version of Windows and Ice you're using. If you're using Windows 7 or Windows Vista, and this config file is in a Windows protected directory (such as C:\Program Files), your icegridregistry is not reading the file you're editing.

    Are you using iceserviceinstall to install the IceGrid registry as a Windows service? If not, please give it a try...

    Also, '\' is the escape character in property values, so you want to write D:\SVN\UserControlService\registerytest as D:\\SVN\\UserControlService\\registerytest in this config file.

    Best regards,
    Bernard
Sign In or Register to comment.