Upgrade IdPv2 to 3, error regarding relying-party
Moonlight
mona0045 at gmail.com
Thu May 21 09:25:54 EDT 2015
Hi,
In migration to new configuration style with
LegacyRelyingPartyResolverResources. I have set :
services.properties: idp.service.relyingparty.resources=
shibboleth.LegacyRelyingPartyResolverResources
and copied dist/conf/relying-party.xml.dist to conf/relying-party.xml.
I got following error:
ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:181]
- Service 'shibboleth.RelyingPartyResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException:
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean
definition with name 'shibboleth.DefaultRelyingParty' defined in file
[C:\PROGRA~2\INTERN~2\Shib2IdP\conf\relying-party.xml]: Could not resolve
parent bean definition 'RelyingParty'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'RelyingParty' is defined at
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Invalid bean definition with name 'shibboleth.DefaultRelyingParty' defined
in file [C:\PROGRA~2\INTERN~2\Shib2IdP\conf\relying-party.xml]: Could not
resolve parent bean definition 'RelyingParty'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'RelyingParty' is defined at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1238)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'RelyingParty' is defined at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
since the bean is not defined in the
\system\conf\legacy-relying-party-defaults.xml and it is written that this
folder contains read-only internal system configuration that should not be
modified. Could you please tell me where should be this bean be defined? I
have tried in conf/relying-party.xml and override, but could not get it
work.
Even my simplified version2 relying-party was not working. I had error:
Cannot resolve reference to bean 'shibboleth.DefaultRelyingParty' while
setting bean property 'defaultConfiguration'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'shibboleth.DefaultRelyingParty' is defined.
i would be really grateful if you could give me some hints to solve my
problem.
-Mona
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Upgrade-IdPv2-to-3-error-regarding-relying-party-tp7615322.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list