icegridadmin application command

iivdamiivdam Member Emko van DamOrganization: personalProject: Alert service
Hi,

The icegridadmin utility formats the application description incorrect.
<?xml version="1.0" encoding="UTF-8" ?>
<icegrid>
   <application name="test" import-default-templates="true">
      <node name="node1">
      </node>
      <node name="node2">
         <server-instance template="Glacier2" instance-name="Admin.IceGrid.Glacier2" client-endpoints="default"/>
      </node>
   </application>
</icegrid>

results in:
>>> application describe test
application `test'
{
...
    node `node1'
    {
        node `node2'
        {
            servers
            {
                Admin.IceGrid.Glacier2
            }
        }
    }
    >>>

and:
<?xml version="1.0" encoding="UTF-8" ?>
<icegrid>
   <application name="test" import-default-templates="true">
      <node name="node1">
         <server-instance template="Glacier2" instance-name="Admin.IceGrid.Glacier2" client-endpoints="default"/>
      </node>
      <node name="node2">
      </node>
   </application>
</icegrid>

results in:
>>> application describe test
application `test'
{
...
    node `node1'
    {
        servers
        {
            Admin.IceGrid.Glacier2
        }
    }
    node `node2'
    {
    }
    >>>


(correction in the manual:
IceGrid Properties - Ice 3.5 - ZeroC
IceGrid.Registry.Trace.Adapter=num
must be application)

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Thanks for reporting this problem, we will fix it in the next Ice release.
Sign In or Register to comment.