Archived

This forum has been archived. Please start a new discussion on GitHub.

Typo in Java Glacier2 demo properties file?

The Java Glacier2 demo ([ICE_HOME]\demoj\Glacier2\callback\) contains the following in the config.glacier2 file:
Ice.Plugin.IceSSL=IceSSL:create
IceSSL.Server.CertPath=../../../certs
IceSSL.Server.Config=sslconfig.xml
IceSSL.Client.CertPath=../../../certs
IceSSL.Client.Config=sslconfig.xml

Shouldn't the Ice.Plugin.IceSSL line be configured like this instead?
Ice.Plugin.IceSSL=IceSSL.PluginFactory

Also, don't you have to specify Ice.ThreadPerConnection=1?

Comments

  • bartley wrote:
    Shouldn't the Ice.Plugin.IceSSL line be configured like this instead?
    Ice.Plugin.IceSSL=IceSSL.PluginFactory
    

    Also, don't you have to specify Ice.ThreadPerConnection=1?

    No, IceSSL:create is the correct syntax for the Ice for C++ SSL plug-in. Glacier2 is an Ice for C++ application, even if the client and the server in this demo are written in Java.

    It is also not necessary to set Ice.ThreadPerConnection explicitly. Glacier2 sets this internally, i.e., it always uses the thread-per-connection model.
  • Oh, duh. Thanks, that makes sense. Sorry for not realizing this on my own.