<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>hi,</p>
<p>While trying to update a Shibboleth IdP (from version 4.1.0) to
latest 4.3.1, I was receiving these kind of errors in
idp-warn/idp-process log files :</p>
<p>2023-06-16 13:29:12,697 - - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:232]
- Service 'shibboleth.RelyingPartyResolverService': Reload for
shibboleth.RelyingPartyResolverService failed<br>
net.shibboleth.utilities.java.support.service.ServiceException:
org.springframework.beans.factory.BeanDefinitionStoreException:
Invalid bean definition with name
'shibboleth.DefaultSigningCredential' defined in file
[/opt/shibboleth-idp/conf/credentials.xml]: Could not resolve
parent bean definition
'shibboleth.BasicX509CredentialFactoryBean'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'shibboleth.BasicX509CredentialFactoryBean'
available<br>
</p>
<p>I've also tried to reinstall from scratch (thus doing a fresh
clean install), but still the same problem. <br>
</p>
<p>It seems that the shibboleth.BasicX509CredentialFactoryBean is
nowhere to be found from what the message is saying...<br>
</p>
<p>If I'm correct, it should reside somewhere in the jar file
idp-profile-spring-4.3.1.jar, right ?</p>
<p>root@idp-staff-duo:/opt/shibboleth-idp/dist/webapp/WEB-INF/lib#
jar -tf idp-profile-spring-4.3.1.jar | grep
BasicX509CredentialFactoryBean<br>
net/shibboleth/idp/profile/spring/factory/BasicX509CredentialFactoryBean.class<br>
</p>
<p>The file is well in the idp.war :<br>
</p>
<p>root@idp-staff-duo:/opt/shibboleth-idp/war# jar -tf idp.war |
grep idp-profile-spring-4.3.1.jar <br>
WEB-INF/lib/idp-profile-spring-4.3.1.jar</p>
<p>(maybe my debugging method is not correct but I'm at level
0.00001 in Java ;) )<br>
</p>
<p>Any idea what is causing the problem ?<br>
</p>
<p>Tnx,</p>
<p>PP<br>
</p>
<div class="moz-signature">-- <br>
<b><font size="2" face="arial" color="#0092D2">Pascal Panneels</font></b><font
size="2" face="arial" color="#0092D2"><br>
System Architect<br>
Belnet - Services</font>
<font size="2" face="arial" color="#8B8E8D"><br>
WTC III<br>
Simon Bolivarlaan 30 Boulevard Simon Bolivar<br>
Brussel 1000 Bruxelles<br>
België - Belgique<br>
T: +32 2 790 33 33
<br>
<b><a href="http://www.belnet.be"
style="text-decoration:none;color:#0092D2">www.belnet.be</a></b><br>
</font>
</div>
</body>
</html>