Archived
This forum has been archived. Please start a new discussion on GitHub.
[Glacier2 problem] Upgrade Ice 3.5 to 3.6.1
Hi,
I upgrade a little application from Ice 3.5.X to 3.6.1 and I get an error when I try to run glacier2router.
My old config was:
And my new config is something like:
When I try to run my the glacier2router with the following command:
I got the following error:
With the previous configuration and Ice 3.5.X I can run it, but not with the new configuration and Ice 3.6.1.
Thank you in advance
Best regards,
I upgrade a little application from Ice 3.5.X to 3.6.1 and I get an error when I try to run glacier2router.
My old config was:
Glacier2.Client.Endpoints=ssl -p 4063:tcp -p 4064 Glacier2.Server.Endpoints=ssl:tcp Glacier2.SessionTimeout=60 Glacier2.PermissionsVerifier=Glacier2/NullPermissionsVerifier Ice.Default.CollocationOptimized=0 Ice.Plugin.IceSSL=IceSSL:createIceSSL IceSSL.DefaultDir=PATH_TO_DIR IceSSL.CertAuthFile=FILE.pem IceSSL.CertFile=FILE.pem IceSSL.KeyFile=FILE.pem Glacier2.Server.Trace.Override=1 Glacier2.Server.Trace.Request=1 Glacier2.Trace.RoutingTable=3 Glacier2.Trace.Session=1 Ice.StdOut=PATH/glacier2router.log Ice.StdErr=PATH/glacier2router.err
And my new config is something like:
Glacier2.Client.Endpoints=ssl -p 4063 Glacier2.Server.Endpoints=ssl Glacier2.SessionTimeout=60 Glacier2.PermissionsVerifier=Glacier2/NullPermissionsVerifier Ice.Default.CollocationOptimized=0 Glacier2.Trace.RoutingTable=3 Glacier2.Trace.Session=1 Ice.StdOut=PATH/glacier2router.log Ice.StdErr=PATH/glacier2router.err Ice.Plugin.IceSSL=IceSSL:createIceSSL IceSSL.DefaultDir=PATH_TO_DIR IceSSL.CAs=FILE.pem IceSSL.CertFile=FILE.p12 IceSSL.Password=PASSWORD
When I try to run my the glacier2router with the following command:
/usr/bin/glacier2router --daemon --pidfile PATH/glacier2.pid --Ice.Config=PATH/glacier.config
I got the following error:
-! 02/05/16 08:34:18.958 /usr/bin/glacier2router: warning: unable to contact permissions verifier `Glacier2/NullPermissionsVerifier' Reference.cpp:1676: Ice::NoEndpointException: no suitable endpoint available for proxy `Glacier2/NullPermissionsVerifier -t -e 1.1'
With the previous configuration and Ice 3.5.X I can run it, but not with the new configuration and Ice 3.6.1.
Thank you in advance
Best regards,
0
Comments
-
Hi,
With Ice 3.6, the null permissions verifiers rely on collocation optimization to be enabled to work. It should work if you remove the Ice.Default.CollocationOptimized=0 property setting from your configuration file.
Cheers,
Benoit.
0 -
Thank you very much.
Now, my service is working with 3.6.X and his "clients" with Ice 3.5.X, and for now, all works fine.
Best regards,0