StoredID setting in Shibboleth v5
深瀬尚子
fukase at funest.co.jp
Mon Mar 4 07:16:50 UTC 2024
Thank you for your advice.
As you said, I moved the "MyDataSource" setting to the global.xml and restarted the jetty service.
Then, I got other warnings in the /opt/jetty-base/logs/jetty.log and couldn't see the Shibboleth IdP logs.
The warning logs are as follows:
2024-03-04 15:24:20,752 - WARN [org.eclipse.jetty.webapp.WebAppContext:542] - Failed startup of context o.e.j.w.WebAppContext at 1f760b47{Shibboleth Identity Prov
ider,/idp,[file:///opt/jetty-base/tmp/jetty-127_0_0_1-8080-idp_war-_idp-any-9639049829784242547/webinf/, jar:file:///opt/shibboleth-idp/war/idp.war!/],UNAVAILA
BLE}{/opt/shibboleth-idp/war/idp.war}
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'MyPersistentIdStore' defined in file [/opt/shibboleth-idp/co
nf/global.xml]: Could not resolve parent bean definition 'shibboleth.StoredPersistentIdGenerator'
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1390)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1332)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1318)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:964)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:608)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:394)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:274)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:102)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1046)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624)
at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:983)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:740)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:392)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1305)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:902)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:533)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:516)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:210)
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:462)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:61
at org.eclipse.jetty.util.Scanner$DiscreteListener.pathAdded(Scanner.java:284)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:896)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:862)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:769)
at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:658)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:630)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:182)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:605)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:246)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
at org.eclipse.jetty.server.Server.start(Server.java:470)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
at org.eclipse.jetty.server.Server.doStart(Server.java:415)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1919)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'shibboleth.StoredPersistentIdGenerator' available
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:893)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1108)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1375)
... 46 common frames omitted
I have the MyDataSource bean setting in the saml-nameid.xml.
What should I do to solve this issue?
Could anyone tell me the way to correct the setting?
I appreciate any help you can provide.
________________________________________
差出人: users <users-bounces at shibboleth.net> が Rod Widdowson <rdw at steadingsoftware.com> の代理で送信
送信日時: 2024年3月3日 20:27
宛先: 'Shib Users'
件名: RE: StoredID setting in Shibboleth v5
> I have the setting of "MyDataSource" in saml-nameid.xml.
I do not have the precise plumbing of the various services swapped in right now, but I would suspect that this is your problem. You
issue is coming during attribute resolution (which then feeds in to the NameId service) so the attribute resolver needs to know
about the data source.
I suggest that you move it to global.xml and see what happens. If that works try moving it to attribute-resolver.xml
/Rod
--
For Consortium Member technical support, see https://shibboleth.atlassian.net/wiki/x/ZYEpPw
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list