On Thu, May 13, 2021 at 06:07:33AM -0700, 'Mateo Palos' via DSpace Technical 
Support wrote:
> Thanks, Mark. I do see that bean defined in that file, so I'm not sure what 
> to make of that error.
> 
> Has anyone had any success disabling this integration, or at least 
> bypassing this check for startup? I tried commenting out the integration in 
> external-services.xml, but that just yielded a similar error to the 
> original NoSuchBeanDefinitionException error.

Both PubmedImportMetadataSourceServiceImpl and
ArXivImportMetadataSourceServiceImpl are derived from
AbstractRemoteMetadataSource (via AbstractImportMetadataSource), so
both depend on maxRetry.  Oddly enough, maxRetry is defined twice, in
pubmed-integration.xml and arxiv-integration.xml, and they disagree on
its value.  It really should be a simple property supplied to each of
those Beans separately.

The v7 documentation is outdated in this area, but it is here:

  https://wiki.lyrasis.org/display/DSDOC7x/Live+Import+from+external+sources

PubmedImportMetadataSourceServiceImpl is referenced in
dspace-api/src/main/resources/spring/spring-dspace-addon-import-services.xml
which is compiled into the dspace-api JAR, so it's not really
configurable, at least not without rebuilding.

Do you want to disable the integration just to get rid of this error,
or had you disabled it for other reasons and found that that now causes
this error?  If the former, I would suggest trying to find out why
maxRetries is not being defined, especially since there are two
definitions.

-- 
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

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YJ06/bplV3G%2B2c7/%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to