Home Help Center

A problem about IcePack

W.noonW.noon Member zhongwu wangOrganization: 30Project: cloud
I have deployed Icepack well, but when I use IcePack in server ,I can find properties defined in .xml files why?

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    We need a lot more information from you in order to provide any help. Please always mention your Ice version, operating system, and compiler version.

    Regarding your question, please show us your IcePack descriptors, or even better attach an archive containing a small example that demonstrates the problem.

    Take care,
    - Mark
  • W.noonW.noon Member zhongwu wangOrganization: 30Project: cloud
    sorry,
    I am a beginer On Ice.
    The problem is this:
    I want to learn IcePack with c#,but there is no demo about IcePack with
    c# so I try to translate IcePack demos(Hello,simply)from java to c#,and copy files(config,application.xml server.xml ) to my demo dir. delete node
    IceBox(<include name="IceBox1" descriptor="icebox.xml">)
    change server kind to "cs" that is <kind="cs" >.
    and deploy it with IcePackNode and IcePackAdmin well.
    that's all .

    but when I trace to then code "string id=communicator().getproperties().getproperty("Identity")",
    I find id is null ,
    so code "adapter.add(obj,Ice.Util.stringToIdentity(id))" is error;

    I have study for several days,but I don't know why?
    I love Ice
    who can help me ? thank you !
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Originally posted by W.noon
    change server kind to "cs" that is <kind="cs" >.

    Set the kind value to "cpp". ("cs" is not recognized by IcePack.)

    We will probably rearrange the way the IcePack deployment descriptors work for different languages, so we can get rid of all the language-specific knowledge in IcePack. But, for now, kind="cpp" will do the right thing.

    Cheers,

    Michi.
Sign In or Register to comment.