Unicon / shibboleth-idp-dockerized

A Shibboleth Identity Provider (IdP) base-image
Apache License 2.0
108 stars 54 forks source link

Status page? #55

Closed CsatariGergely closed 5 years ago

CsatariGergely commented 6 years ago

This is a question and not an issue. I built and started the customized container successfully, but I do not know how to check if the IdP runs okay. It looks like the status page is disabled and when I tried to allow it based on point 4 here I got an exception. Any idea what do I do wrong? Thanks.

jtgasper3 commented 6 years ago

Can you please include info about the exception, like the full stacktrace and a few lines before and after it?

CsatariGergely commented 6 years ago

I think this is the most interesting part: 2018-08-08 09:27:10,927 - ERROR [org.springframework.web.context.ContextLoader:350] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.ReloadableAccessControlService' defined in file [/opt/shibboleth-idp/system/conf/services-system.xml]: Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.component.ComponentInitializationException: Service 'shibboleth.ReloadableAccessControlService': could not perform initial load at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630) Caused by: net.shibboleth.utilities.java.support.component.ComponentInitializationException: Service 'shibboleth.ReloadableAccessControlService': could not perform initial load at net.shibboleth.utilities.java.support.service.AbstractReloadableService.doInitialize(AbstractReloadableService.java:179) Caused by: net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from file [/opt/shibboleth-idp/conf/access-control.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 49; The prefix "util" for element "util:map" is not bound. at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:336) Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from file [/opt/shibboleth-idp/conf/access-control.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 49; The prefix "util" for element "util:map" is not bound. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) Caused by: org.xml.sax.SAXParseException: The prefix "util" for element "util:map" is not bound. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)

And the related configuration in /shibboleth-idp-dockerized-custom/shibboleth-idp/conf/access-control.xml:

My current target is get something positive back form /opt/shibboleth-idp/bin/status.sh . Thanks.
jtgasper3 commented 5 years ago

@CsatariGergely Sorry, I never circled back around to this. This is an issue with your IdP configuration itself and not the Docker image.

CsatariGergely commented 5 years ago

@jtgasper3 Yes, it is something around my IdP config.