Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-27-2005
rwxybh 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!
Reply With Quote
  #2 (permalink)  
Old 12-27-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
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.
Reply With Quote
  #3 (permalink)  
Old 12-28-2005
rwxybh 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!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
object id with category can't be a template parameter? Yunqiao Yin Bug Reports 1 06-09-2006 09:27 AM
Where is IcePath2 template? kovacm Help Center 1 11-26-2005 07:45 PM
ICE Client DLL Template amrufon Help Center 5 07-28-2003 08:45 AM
More solaris template problems marlowa Bug Reports 7 03-05-2003 04:46 AM
weird template compilation error on solaris marlowa Bug Reports 5 02-25-2003 08:18 AM


All times are GMT -4. The time now is 10:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.