Is it advised to comment out ehcache updateCheck

16 views
Skip to first unread message

Sarah Butash

unread,
Oct 31, 2022, 7:40:20 AM10/31/22
to DSpace Technical Support
Hello,

In this update from Alan  https://alanorth.github.io/cgspace-notes/2017-09/#2017-09-12, it is suggested that setting this updateCheck="false" resolves an issue of frequent calls to terracotta (we are seeing this issue).  Is it still advisable to make this change?

Thanks!
Sarah

--

Sarah Butash

she / her

Library Systems Analyst, OU Libraries

Kresge Library, Room 227

100 Library Drive, Rochester, MI  48309-4479

Phone: 248-370-2368



Tim Donohue

unread,
Nov 1, 2022, 10:16:33 AM11/1/22
to DSpace Technical Support
Hi Sarah,

The context of your question is unclear.  But, I wanted to note that this configuration has been fully removed from DSpace 7 (as of 7.3, see https://github.com/DSpace/DSpace/pull/8146).  So, that "dspace-services/src/main/resources/caching/ehcache-config.xml" file no longer exists in DSpace 7.

It's unclear what version of DSpace you are referring to.  I was personally unaware that this configuration caused any issues in older versions of DSpace, but it appears that at least Alan Orth (and maybe others) found that setting "updateCheck=false" helped.  So, I cannot make a recommendation here as to whether to change that setting or not in older DSpace releases... but maybe others can provide more specific advise.

Tim

Mark H. Wood

unread,
Nov 2, 2022, 7:02:33 AM11/2/22
to dspac...@googlegroups.com
On Tue, Nov 01, 2022 at 07:16:33AM -0700, 'Tim Donohue' via DSpace Technical Support wrote:
> Hi Sarah,
>
> The context of your question is unclear. But, I wanted to note that this
> configuration has been fully removed from DSpace 7 (as of 7.3,
> see https://github.com/DSpace/DSpace/pull/8146). So, that
> "dspace-services/src/main/resources/caching/ehcache-config.xml" file no
> longer exists in DSpace 7.
>
> It's unclear what version of DSpace you are referring to. I was personally
> unaware that this configuration caused any issues in older versions of
> DSpace, but it appears that at least Alan Orth (and maybe others) found
> that setting "updateCheck=false" helped. So, I cannot make a
> recommendation here as to whether to change that setting or not in older
> DSpace releases... but maybe others can provide more specific advise.

DSpace was patched on 2018-04-08 to disable the update check.
See https://github.com/DSpace/DSpace/pull/1940

I recall that the messages were annoying and the check slowed startup
a bit.

> On Monday, October 31, 2022 at 6:40:20 AM UTC-5 sbu...@oakland.edu wrote:
>
> > Hello,
> >
> > In this update from Alan
> > https://alanorth.github.io/cgspace-notes/2017-09/#2017-09-12, it is
> > suggested that setting this updateCheck="false" resolves an issue of
> > frequent calls to terracotta (we are seeing this issue). Is it still
> > advisable to make this change?
> >
> > Thanks!
> > Sarah

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc
Reply all
Reply to author
Forward
0 new messages