Home Help Center

Initialization of IceSSL

rhochmuthrhochmuth Member Roland HochmuthOrganization: HPProject: RGS ✭✭
I've just started using IceSSL and I have a question on the initialization:

I'm using the class Ice::Application.

If I initialize IceSSL inside of run()

properties->setProperty("Ice.Plugin.IceSSL", "IceSSL:create");

inside of Application::run like all my other properties that I use IceSSL does not initialize.

However, if I initialize IceSSL on the command line of the program as follows:


everything works.

Does the plugin (IceSSL) need to be installed prior to starting the communicator or am I just doing something wrong.

Thanks again for all your help!

Regards --Roland


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

    The Ice.Plugin.* properties are processed when the communicator is initialized. As you suspected, since the communicator is already initialized by the time Application::run is invoked, your program is setting the property too late for it to have any effect.

    You can define the property in a configuration file, or you can set it in your program's main function by defining it in the default properties.

    Take care,
    - Mark
Sign In or Register to comment.