<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I'm in the process of attempting an upgrade to IdP v3.2.1, from 2.4.0. At the same time, I've upgraded the Tomcat instance to version 8. The Oracle JDK runtime is 1.7.0 u65, unchanged from the Tomcat 6 install our production IdP is hosted
 inside.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The upgrade was carried out using the upgrade script, in tree that was a copy of the existing installation. This script completed without errors.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The Tomcat upgrade was successful, and gives me a manager page.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We're using the UK Federation metadata. I've made ensure the v2 compatibility is enabled, but starting up gives me lots of errors, around the metadata resolver. Startup isn't successful. The final exception is:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2016-11-15 11:22:36,141 - ERROR [org.springframework.web.context.ContextLoader:353] - Context initialization failed<o:p></o:p></p>
<p class="MsoNormal">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.MetadataResolverService' defined in file [/usr/local/shibboleth-idp/system/conf/services-system.xml]: Invocation of init method failed; nested
 exception is net.shibboleth.utilities.java.support.component.ComponentInitializationException: Service 'shibboleth.MetadataResolverService': Unexpected error during initial load<o:p></o:p></p>
<p class="MsoNormal">        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)<o:p></o:p></p>
<p class="MsoNormal">Caused by: net.shibboleth.utilities.java.support.component.ComponentInitializationException: Service 'shibboleth.MetadataResolverService': Unexpected error during initial load<o:p></o:p></p>
<p class="MsoNormal">        at net.shibboleth.utilities.java.support.service.AbstractReloadableService.doInitialize(AbstractReloadableService.java:189)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ShibbolethMetadata': Cannot create inner bean '(inner bean)#2dea9a99' of type [org.opensaml.saml.metadata.resolver.ChainingMetadataResolver]
 while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2dea9a99': Cannot create inner bean '(inner bean)#594ed842' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
 while setting bean property 'resolvers' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#594ed842': Initialization of bean failed; nested exception is java.lang.UnsupportedOperationException<o:p></o:p></p>
<p class="MsoNormal">        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2dea9a99': Cannot create inner bean '(inner bean)#594ed842' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
 while setting bean property 'resolvers' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#594ed842': Initialization of bean failed; nested exception is java.lang.UnsupportedOperationException<o:p></o:p></p>
<p class="MsoNormal">        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#594ed842': Initialization of bean failed; nested exception is java.lang.UnsupportedOperationException<o:p></o:p></p>
<p class="MsoNormal">        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.lang.UnsupportedOperationException: null<o:p></o:p></p>
<p class="MsoNormal">        at java.util.AbstractList.add(Unknown Source)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I suspect the failure begins here:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2016-11-15 11:22:28,183 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:188] - Service 'shibboleth.MetadataResolverService': Unexpected error during initial load {}<o:p></o:p></p>
<p class="MsoNormal">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ShibbolethMetadata': Cannot create inner bean '(inner bean)#3705e722' of type [org.opensaml.saml.metadata.resolver.ChainingMetadataResolver] while setting
 constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3705e722': Cannot create inner bean '(inner bean)#228fcdfd' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
 while setting bean property 'resolvers' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#228fcdfd': Initialization of bean failed; nested exception is java.lang.UnsupportedOperationException<o:p></o:p></p>
<p class="MsoNormal">        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3705e722': Cannot create inner bean '(inner bean)#228fcdfd' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver]
 while setting bean property 'resolvers' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#228fcdfd': Initialization of bean failed; nested exception is java.lang.UnsupportedOperationException<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It's not clear to me which configuration element might be causing this. I don't believe we have an unusual config in production.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone suggest a possible way forward?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#212121;background:white;mso-fareast-language:EN-GB">--</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#212121;mso-fareast-language:EN-GB"><br>
<span style="background:white">Tom Jordaan</span><br>
<span style="background:white">Infrastructure Systems Engineer, IT Services</span><br>
<span style="background:white">Queen Mary, University of London</span><br>
<span style="background:white">Tel: 020 7882 6940</span><br>
<span style="background:white">Email: t.s.jordaan@qmul.ac.uk</span></span><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>