Results 1 to 3 of 3

Thread: a problem about the default template

  1. #1
    rwxybh is offline Registered User
    Join Date
    Dec 2005
    Posts
    24

    Question 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)?
    Yan Bingheng:a student of Beijing University of Aeronautics & Astronautics
    I'm learning ice now, and will try some projects later!

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Is the template actually accessible? That is in config/templates.xml?

    Code:
    <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.

  3. #3
    rwxybh is offline Registered User
    Join Date
    Dec 2005
    Posts
    24
    thank you very much,matthew!
    Yan Bingheng:a student of Beijing University of Aeronautics & Astronautics
    I'm learning ice now, and will try some projects later!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. template error in nested slice modules
    By n2503v in forum Bug Reports
    Replies: 2
    Last Post: 03-10-2010, 06:38 PM
  2. object id with category can't be a template parameter?
    By Yunqiao Yin in forum Bug Reports
    Replies: 1
    Last Post: 06-09-2006, 08:27 AM
  3. Where is IcePath2 template?
    By kovacm in forum Help Center
    Replies: 1
    Last Post: 11-26-2005, 06:45 PM
  4. ICE Client DLL Template
    By amrufon in forum Help Center
    Replies: 5
    Last Post: 07-28-2003, 07:45 AM
  5. More solaris template problems
    By marlowa in forum Bug Reports
    Replies: 7
    Last Post: 03-05-2003, 03:46 AM

Posting Permissions

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