Home Help Center

a problem about the default template

the page 1034 of manual:
========================================================
In order to refer to the IcePatch2 template in your application, you must
have already configured the registry to use the config/templates.xml file
as your default templates (see Section 36.6.3), or copied the template into the XML file describing your application.
=========================================================

I have set the property: IceGrid.Registry.DefaultTemplates=config/templates.xml

but the program report an error:can't find the templat "IcePatch2"

WHY??

BTW: To deploy an application using IcePatch2, we shoule prepare the master distribtion at the node whith has deployed an IcePatch2 server, but in practice, we always operate the icegrid with a remote terminate using icegridadmin, an admin PC, the problem is that can I put the master distribution on the admin PC and complete the deployment(the admin PC doesn't have an icepatch2 server)?

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Is the template actually accessible? That is in config/templates.xml?
    <icegrid>
      <application name="ChatServer" import-default-templates="true">
    

    Did you put this in your application descriptor?

    I don't understand exactly what your distribution problem is. In order to patch you need an IcePatch2 server with the associated data.
  • rwxybhrwxybh Member
    thank you very much,matthew!
Sign In or Register to comment.