<div dir="ltr"><div><div><div>Took me sometime to figure this out -- if an 'attribute-filter.xml' or 'attribute-resolver.xml<br></div>' is not found in 'idp-home/conf' the message earlier spews out.<br><br></div>Although the 'services.xml' is pointing to a different location.<br><br></div><div>Thanks.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 30, 2017 at 2:49 PM, Joel Levin <span dir="ltr"><<a href="mailto:joel.aaron.levin@gmail.com" target="_blank">joel.aaron.levin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have the following set up in the services.xml -- for leading of attribute-filter.xml (+ attribute-resolver.xml) from a remote HTTP server.<br></div><div><br></div><div>Firewall okay and checked via CURL on the IdP server.<br><br></div><div>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.<br></div><div><br><br>In SERVICES.XML:<br><util:list id="shibboleth.<wbr>AttributeFilterResources"><br> <ref bean="<wbr>FileBackedAttributeFilter"/><br> </util:list><br><br> <bean id="FileBackedAttributeFilter"<br> class="net.shibboleth.ext.<wbr>spring.resource.<wbr>FileBackedHTTPResource"<br> c:client-ref="shibboleth.<wbr>FileCachingHttpClient"<br> c:url="<a href="https://foobar/idp/attribute-filter.xml" target="_blank">https://foobar/idp/<wbr>attribute-filter.xml</a>"<br> c:backingFile="%{idp.home}/<wbr>conf/isnt/attribute-filter.<wbr>inst.xml"><br> </bean><br><br></div>In IDP-PROCESS.LOG:<br><div><br>2017-01-30 14:44:51,425 - ERROR [net.shibboleth.utilities.<wbr>java.support.service.<wbr>AbstractReloadableService:181] - Service 'shibboleth.<wbr>AttributeFilterService': Initial load failed<br>net.shibboleth.utilities.java.<wbr>support.service.<wbr>ServiceException: org.springframework.beans.<wbr>factory.<wbr>BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/opt/shibboleth-idp/conf/<wbr>attribute-filter.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/<wbr>attribute-filter.xml]<br> at net.shibboleth.ext.spring.<wbr>service.<wbr>ReloadableSpringService.<wbr>doReload(<wbr>ReloadableSpringService.java:<wbr>336)<br>Caused by: org.springframework.beans.<wbr>factory.<wbr>BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/opt/shibboleth-idp/conf/<wbr>attribute-filter.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/<wbr>attribute-filter.xml]<br> at org.springframework.beans.<wbr>factory.xml.<wbr>XmlBeanDefinitionReader.<wbr>loadBeanDefinitions(<wbr>XmlBeanDefinitionReader.java:<wbr>344)<br>Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/<wbr>attribute-filter.xml]<br> at org.springframework.web.<wbr>context.support.<wbr>ServletContextResource.<wbr>getInputStream(<wbr>ServletContextResource.java:<wbr>141)<br></div></div>
</blockquote></div><br></div>