apologies once more for posting this here rather than on the wiki.
Dave, Rob, this is the diagnostics code I mentioned yesterday.
Diagnostics.java is the real meat, and DiagnosticsServlet.java (and the
configuration in dspace-web.xml) gives a demonstration of how it can be
used to define and run different diagnostics suites on startup, on request,
and periodically. I've used the web.xml for configuration, but it could
be done wherever.
The checks are implemented as static inner classes atm, just to keep it
all in one place for now. Ideally you'd have a per package check class,
or bigger classes could carry their own check as a static inner class.
I'd propose it goes in after 1.2 final, if everyone's agreeable?
Jim Downing Cambridge University Computing Service
DSpace@... Programmer New Museums Site, Pembroke St,
ojd20@... Cambridge. CB2 3QH