unable to load incommon metadata

Ramaiah, Vanna G. ramaiah at musc.edu
Thu Feb 27 17:25:33 EST 2020


Shib version 3.4. not able to load incommon metadata. LocalDynamicMetadataProvider works fine.

     <MetadataProvider id="InCommon"
                        xsi:type="FileBackedHTTPMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
                        metadataURL="http://md.incommon.org/InCommon/InCommon-metadata.xml"
                        backingFile="%{idp.home}/metadata/InCommon-metadata.xml"
                        minRefreshDelay="PT5M"
                        maxRefreshDelay="PT6H"
                        refreshDelayFactor="0.75">
                    <MetadataFilter xsi:type="RequiredValidUntil" maxValidityInterval="P14D" />
                    <MetadataFilter xsi:type="EntityRoleWhiteList"> <RetainedRole>md:SPSSODescriptor</RetainedRole>  </MetadataFilter>  </MetadataProvider>

Error:
ERROR [org.springframework.web.context.ContextLoader:350] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.metrics.RegisterMetricSets$child#0' defined in file [/opt/shibboleth-idp/system/conf/../../conf/admin/metrics.xml]: Cannot resolve reference to bean 'shibboleth.metrics.MetadataGaugeSet' while setting bean property 'arguments' with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.metrics.MetadataGaugeSet' defined in file [/opt/shibboleth-idp/system/conf/general-admin-system.xml]: Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.component.ComponentInitializationException: Injected service was null or not a MetadataResolver
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.metrics.MetadataGaugeSet' defined in file [/opt/shibboleth-idp/system/conf/general-admin-system.xml]: Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.component.ComponentInitializationException: Injected service was null or not a MetadataResolver
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
Caused by: net.shibboleth.utilities.java.support.component.ComponentInitializationException: Injected service was null or not a MetadataResolver
        at net.shibboleth.idp.saml.metadata.impl.MetadataResolverServiceGaugeSet.doInitialize(MetadataResolverServiceGaugeSet.java:177)







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200227/d4144133/attachment.html>


More information about the users mailing list