Error occurring: 500 Internal server error

Tomomi test.demo.adobe.2 at gmail.com
Tue Jul 30 01:48:49 EDT 2019


I got the log(idp-warn.log,idp-process.log) when I turned off SELinux.
The log is below,

ーーーーーーー
2019-07-30 14:38:47,182 -  - ERROR
[org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver:194]
- Metadata Resolver FileBackedHTTPMetadataResolver SAMLtest: Metadata backup
file path was invalid, initialization is fatal
2019-07-30 14:38:47,183 -  - ERROR
[org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver:290] -
Metadata Resolver FileBackedHTTPMetadataResolver SAMLtest: Metadata provider
failed to properly initialize, fail-fast=true, halting
2019-07-30 14:38:47,193 -  - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:182]
- Service 'shibboleth.MetadataResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: Failed to
load [file [/opt/shibboleth-idp/conf/metadata-providers.xml], file
[/opt/shibboleth-idp/system/conf/metadata-providers-system.xml]]
        at
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:387)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ShibbolethMetadata': Cannot create inner bean
'(inner bean)#21f54e39' of type
[org.opensaml.saml.metadata.resolver.ChainingMetadataResolver] while setting
bean property 'embeddedResolver'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#21f54e39': Cannot create inner bean '(inner
bean)#1efc58d1' of type
[org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
while setting bean property 'resolvers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#1efc58d1': Invocation of init method failed; nested
exception is
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Metadata backup file path was invalid
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)#21f54e39': Cannot create inner bean
'(inner bean)#1efc58d1' of type
[org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
while setting bean property 'resolvers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#1efc58d1': Invocation of init method failed; nested
exception is
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Metadata backup file path was invalid
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)#1efc58d1': Invocation of init method
failed; nested exception is
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Metadata backup file path was invalid
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
Caused by:
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Metadata backup file path was invalid
        at
org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver.initMetadataResolver(FileBackedHTTPMetadataResolver.java:195)
Caused by: net.shibboleth.utilities.java.support.resolver.ResolverException:
Filepath /opt/shibboleth-idp/metadata/SAMLtest.xml exists but can not be
written to by this user
        at
org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver.validateBackupFile(FileBackedHTTPMetadataResolver.java:267)
2019-07-30 14:38:47,194 -  - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:186]
- Service 'shibboleth.MetadataResolverService': No further attempts will be
made to reload
2019-07-30 14:38:47,738 -  - WARN
[net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext:551] -
Exception encountered during context initialization - cancelling refresh
attempt: 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
2019-07-30 14:38:47,800 -  - 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)

ーーーーーーー

Do you notice anything from the log?



--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html


More information about the users mailing list