[ome-devel] how to set glacier2 sessiontimeout

josh.moore at gmx.de josh.moore at gmx.de
Mon Mar 30 20:39:37 BST 2009


Bernhard Voigt writes:
 > Hi developers!

Hey Bernhard,

 > I could not find a way to modify the Glacier2.SessionTimout property.
 > Editing various config files I've found in omero/etc and omero/var
 > (including the xml templates) did not show an effect at all. I'm
 > listing the properties of OMERO.Glacier2 on the omero admin ice prompt
 > and always see:
 > Glacier2.SessionTimeout = `300'
 > 
 > By the way, this is still in Beta 3.2.
 > 
 > Thanks for help! Bernhard

Did you redeploy the application after modifying
etc/grid/templates.xml? That's definitely the right place to be
editing it (congrats on tracking it down). Try:

$ bin/omero admin ice
> application diff etc/grid/default.xml

This should provide some output about OMERO.Glacier2, and then:

> application update etc/grid/default.xml

This will restart your glacier2 router (and only the router). The
"update" command updates the persistence storage of your application
under var/registry. Unlike in Beta4, in 3.2 the registry does not get
updated on bin/omero admin start.

What exactly are you running into that you want to change the
Glacier2.SessionTimeout? You may want to handle this
differently. OMERO implements session counting independently of the
Glacier timeouts which allows multiple clients to attach to a single
session. Let me know if this would be of interest.

Cheers,
~Josh.


More information about the ome-devel mailing list