<div dir="ltr"><div><div><div>No -- it was not what I said above.<br><br></div>It was a misconfiguration in my services.xml file<br><br></div>One of those days!<br><br></div>Just ignore above thread.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 30, 2017 at 4:20 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><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="HOEnZb"><div class="h5"><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.AttributeFilter<wbr>Resources"><br>        <ref bean="FileBackedAttributeFilte<wbr>r"/><br>    </util:list><br><br>    <bean id="FileBackedAttributeFilter"<br>          class="net.shibboleth.ext.spri<wbr>ng.resource.FileBackedHTTPReso<wbr>urce"<br>          c:client-ref="shibboleth.FileC<wbr>achingHttpClient"<br>          c:url="<a href="https://foobar/idp/attribute-filter.xml" target="_blank">https://foobar/idp/attr<wbr>ibute-filter.xml</a>"<br>          c:backingFile="%{idp.home}/con<wbr>f/isnt/attribute-filter.inst.<wbr>xml"><br>    </bean><br><br></div>In IDP-PROCESS.LOG:<br><div><br>2017-01-30 14:44:51,425 - ERROR [net.shibboleth.utilities.java<wbr>.support.service.AbstractReloa<wbr>dableService:181] - Service 'shibboleth.AttributeFilterSer<wbr>vice': Initial load failed<br>net.shibboleth.utilities.java.<wbr>support.service.ServiceExcepti<wbr>on: org.springframework.beans.fact<wbr>ory.BeanDefinitionStoreExcepti<wbr>on: IOException parsing XML document from ServletContext resource [/opt/shibboleth-idp/conf/attr<wbr>ibute-filter.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/attr<wbr>ibute-filter.xml]<br>    at net.shibboleth.ext.spring.serv<wbr><a href="http://ice.ReloadableSpringService.do">ice.ReloadableSpringService.do</a><wbr>Reload(ReloadableSpringService<wbr>.java:336)<br>Caused by: org.springframework.beans.fact<wbr>ory.BeanDefinitionStoreExcepti<wbr>on: IOException parsing XML document from ServletContext resource [/opt/shibboleth-idp/conf/attr<wbr>ibute-filter.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/attr<wbr>ibute-filter.xml]<br>    at org.springframework.beans.fact<wbr>ory.xml.XmlBeanDefinitionReade<wbr>r.loadBeanDefinitions(XmlBeanD<wbr>efinitionReader.java:344)<br>Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/opt/shibboleth-idp/conf/attr<wbr>ibute-filter.xml]<br>    at org.springframework.web.contex<wbr>t.support.ServletContextResour<wbr>ce.getInputStream(ServletConte<wbr>xtResource.java:141)<br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>