Results 1 to 2 of 2

Thread: Windows Services

  1. #1
    RonnieDay is offline Registered User
    Name: Ronnie Day
    Organization: RBCCM
    Project: FIC Pricing
    Join Date
    Mar 2011
    Posts
    12

    Exclamation Windows Services

    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\re gisterytest
    IceGrid.Registry.PermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
    IceGrid.Registry.AdminPermissionsVerifier=DemoIceG rid/NullPermissionsVerifier
    IceGrid.Registry.SSLPermissionsVerifier=DemoIceGri d/NullSSLPermissionsVerifier
    IceGrid.Registry.AdminSSLPermissionsVerifier=DemoI ceGrid/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

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Jupiter, FL
    Posts
    1,379
    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
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IceBox + services in subfolders
    By dmitry.medvedev in forum Help Center
    Replies: 3
    Last Post: 10-10-2008, 02:30 AM
  2. how get services descriptor?
    By Andrew in forum Help Center
    Replies: 1
    Last Post: 07-02-2008, 11:25 AM
  3. questions about windows services
    By OrNot in forum Help Center
    Replies: 9
    Last Post: 12-02-2005, 06:26 AM
  4. Help on creating services w/ ICE
    By stephan in forum Help Center
    Replies: 6
    Last Post: 02-02-2004, 05:14 PM
  5. Sincronithing services
    By xdm in forum Help Center
    Replies: 4
    Last Post: 01-16-2004, 02:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •