Error after upgrading from 3.0 to 3.1

Marc Boorshtein mboorshtein at gmail.com
Sat Mar 14 16:01:38 EDT 2015


I upgraded from 3.0 to 3.1 and got the following exception:

SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.ClientPersistentStorageService' defined in file
[/home/shib/shib-idp/system/conf/global-system.xml]: Error setting property
values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'keyStrategy' of bean class
[org.opensaml.storage.impl.ServletRequestScopedStorageService]: Bean
property 'keyStrategy' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1506)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)

        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)

        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)

        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)

        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)

        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)

        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)

        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)

        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)

        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)

        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)

        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)

        at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:745)

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
property 'keyStrategy' of bean class
[org.opensaml.storage.impl.ServletRequestScopedStorageService]: Bean
property 'keyStrategy' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?

        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1067)

        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:926)

        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)

        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1502)

        ... 26 more


Thoughts?


Thanks

Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150314/c84b03ce/attachment.html 


More information about the users mailing list