Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-09-2007
bwvb bwvb is offline
Registered User
 
Name: Bertwim van Beest
Organization: myself
Project: Concurrent processing of images
 
Join Date: Jul 2007
Posts: 8
<target>: how to deploy?

Can somebody explain with how the <target> tag in a descriptor file should be actually deployed? The manually just says that the target should be specified in an icegridadmin command, and generally refers to section 38.20.1, but I'm afraid that isn't too revealing...

Thanks in advance
Bertwim
Reply With Quote
  #2 (permalink)  
Old 07-09-2007
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Hi Bertwin,

If you have the following descriptor for example:
Code:
<icegrid>
  <application name="Simple">
    <node name="localhost">
      <server id="SimpleServer" exe="./server" activation="on-demand">
	<adapter name="Hello" endpoints="tcp" register-process="true">
	  <object identity="hello" type="::Demo::Hello" property="Identity"/>
	</adapter>
        <target name="debug">
            <property name="Ice.Trace.Network" value="1"/>
            <property name="Ice.Trace.Protocol" value="1"/>
        </target>
      </server>
    </node>
  </application>
</icegrid>
You can deploy the application with the following command to setup the server with the content of the "debug" target:

Code:
   $ icegridadmin --Ice.Config=config
   >>> application add application.xml debug
Or, if the application is already deployed and you want to update it to use the debug target:

Code:
   $ icegridadmin --Ice.Config=config
   >>> application update application.xml debug
Note that targets are specific to XML files and the IceGrid admin command line utility. You can't use targets with the IceGrid admin GUI or programatically with the IceGrid::Admin interface.

Cheers,
Benoit.
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
<adapter>.ThreadPool.Size suroot Help Center 7 05-11-2005 04:57 AM
when the "XREF" will be edited to <<distributed Programming with ICE>> libaoli Help Center 2 01-11-2005 09:57 PM
Overloaded << and >> in C++ for serialization. Arun Comments 0 11-30-2004 07:07 AM
Ice <-> Corba Sebastian Comments 1 11-23-2004 04:31 PM
Questions about sequence<byte> in C++? rodrigc Help Center 3 02-24-2003 11:21 PM


All times are GMT -4. The time now is 11:25 AM.


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.