Loading attribute-filter.xml from HTTP resource
Joel Levin
joel.aaron.levin at gmail.com
Mon Jan 30 19:53:46 EST 2017
No -- it was not what I said above.
It was a misconfiguration in my services.xml file
One of those days!
Just ignore above thread.
On Mon, Jan 30, 2017 at 4:20 PM, Joel Levin <joel.aaron.levin at gmail.com>
wrote:
> Took me sometime to figure this out -- if an 'attribute-filter.xml' or
> 'attribute-resolver.xml
> ' is not found in 'idp-home/conf' the message earlier spews out.
>
> Although the 'services.xml' is pointing to a different location.
>
> Thanks.
>
>
> On Mon, Jan 30, 2017 at 2:49 PM, Joel Levin <joel.aaron.levin at gmail.com>
> wrote:
>
>> I have the following set up in the services.xml -- for leading of
>> attribute-filter.xml (+ attribute-resolver.xml) from a remote HTTP server.
>>
>> Firewall okay and checked via CURL on the IdP server.
>>
>> But getting error message below in the idp-process.log -- and the remote
>> file is not leaded -- I came across this earlier but can't remember what I
>> did.
>>
>>
>> In SERVICES.XML:
>> <util:list id="shibboleth.AttributeFilterResources">
>> <ref bean="FileBackedAttributeFilter"/>
>> </util:list>
>>
>> <bean id="FileBackedAttributeFilter"
>> class="net.shibboleth.ext.spring.resource.FileBackedHTTPReso
>> urce"
>> c:client-ref="shibboleth.FileCachingHttpClient"
>> c:url="https://foobar/idp/attribute-filter.xml"
>> c:backingFile="%{idp.home}/conf/isnt/attribute-filter.inst.
>> xml">
>> </bean>
>>
>> In IDP-PROCESS.LOG:
>>
>> 2017-01-30 14:44:51,425 - ERROR [net.shibboleth.utilities.java
>> .support.service.AbstractReloadableService:181] - Service
>> 'shibboleth.AttributeFilterService': Initial load failed
>> net.shibboleth.utilities.java.support.service.ServiceException:
>> org.springframework.beans.factory.BeanDefinitionStoreException:
>> IOException parsing XML document from ServletContext resource
>> [/opt/shibboleth-idp/conf/attribute-filter.xml]; nested exception is
>> java.io.FileNotFoundException: Could not open ServletContext resource
>> [/opt/shibboleth-idp/conf/attribute-filter.xml]
>> at net.shibboleth.ext.spring.service.ReloadableSpringService.do
>> Reload(ReloadableSpringService.java:336)
>> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
>> IOException parsing XML document from ServletContext resource
>> [/opt/shibboleth-idp/conf/attribute-filter.xml]; nested exception is
>> java.io.FileNotFoundException: Could not open ServletContext resource
>> [/opt/shibboleth-idp/conf/attribute-filter.xml]
>> at org.springframework.beans.factory.xml.XmlBeanDefinitionReade
>> r.loadBeanDefinitions(XmlBeanDefinitionReader.java:344)
>> Caused by: java.io.FileNotFoundException: Could not open ServletContext
>> resource [/opt/shibboleth-idp/conf/attribute-filter.xml]
>> at org.springframework.web.context.support.ServletContextResour
>> ce.getInputStream(ServletContextResource.java:141)
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170130/af68faa4/attachment.html>
More information about the users
mailing list