Can't understand error messages

Daniele Albrizio albrizio at units.it
Mon Nov 18 06:22:56 EST 2019


Platform: shibboleth-identity-provider-3.4.6

IdP (does not) starts with this error:

Nov 18 12:01:49 idemtico jetty9[24680]: 2019-11-18 
12:01:49.153:WARN:oejw.WebAppContext:main: Failed startup of context 
o.e.j.w.WebAppContext at 3403e2ac{Shibboleth Identity 
Provider,/idp,[file:///tmp/jetty-localhost-8080-idp.war-_idp-any-9350620434377289455.dir/webinf/, 
jar:file:///opt/shibboleth-idp/war/idp.war!/],UNAVAILABLE}{/opt/shibboleth-idp/war/idp.war}

Nov 18 12:01:49 idemtico jetty9[24680]: 
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

Responsible metadata-providers.xml configuration (without this conf the 
IdP starts successfully):

     <MetadataProvider id="Jobiri-MD" 
xsi:type="FileBackedHTTPMetadataProvider"
backingFile="/opt/shibboleth-idp/metadata/jobiri-metadata.xml"
             metadataURL="https://<SOME_URL_OF_MINE>">
             <MetadataFilter xsi:type="EntityRoleWhiteList">
                 <!-- Consume all and only SP metadata in the aggregate -->
<RetainedRole>md:SPSSODescriptor</RetainedRole>
             </MetadataFilter>
     </MetadataProvider>

If I configure a FilesystemMetadataProvider with a static downloaded 
version of the url, all works smoothly.

I don't know where to search for a solution. Any ideas?

What "Injected service" is shibboleth talking about?

-- 
Daniele ALBRIZIO - daniele.albrizio at units.it
          Tel. +39-040.558.3319
   UNIVERSITY OF TRIESTE - Network Services
      Unita' di Staff Reti di Ateneo
via Alfonso Valerio, 12 I-34127 Trieste, Italy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3609 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20191118/1aff5c0e/attachment.p7s>


More information about the users mailing list