Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2214 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

Move java preferences to Ice-managed XML

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2
Component: Deployment Version: n.a.
Keywords: n.a. Cc: cxallan, atarkowska
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-05-27 (10)

Description

Suggestion from Chris: all our server configuration values could be manually managed in a single XML file which icegridnode can read and pass to all servers and which blitz can also read at startup.

This would alleviate all the problems we've had with the Java Preferences API.

Change History (9)

comment:1 Changed 14 years ago by jmoore

  • Milestone changed from OMERO-Beta4.2 to Unscheduled

comment:2 Changed 14 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.2
  • Sprint set to 2010-05-27 (10)
  • Status changed from new to assigned

comment:3 Changed 14 years ago by jmoore

(In [7205]) OmeroCli: Working configuration in admin.py. See #800, #2213, #2214

comment:4 Changed 14 years ago by jmoore

(In [7207]) OmeroCli: Updating config on startup and maintaining lock. See #800, #2213, #2214

comment:5 Changed 14 years ago by jmoore

(In [7208]) OmeroCli: Adding bin/omero config lock and LockException handling. See #800, #2213, #2214

comment:6 Changed 14 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7217]) OmeroCli: Upgrade logic for 4.2 configuration properties. See #800, Fix #2213, #2214

comment:7 Changed 14 years ago by jmoore

(In [7230]) Removing all access to java.util.prefs.Preferences from server. See #2214, #2491

comment:8 Changed 14 years ago by jmoore

(In [7232]) Fixing split on = of old properties. See #2214

comment:9 Changed 14 years ago by jmoore

(In [7237]) Changing when etc/grid/config.xml gets created. See #2214

Previously, when bin/omero config could not find etc/grid/config.xml
it loudly fell back to useing ~/omero/config.xml. The first invocation
of bin/omero admin {start,deploy} could then detect the missing config.xml
and run bin/omero config upgrade.

This led to issues where one wanted to configuration before the first
deployment. (Makes sense).

Now, if etc/grid exists, all bin/omero config commands will create
config.xml. A user will need to manually run bin/omero config upgrade
which can be clearly outlined in the upgrade instructions.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68034 sec.)

We're Hiring!