Shibboleth exception - Could not resolve placeholder 'idp.sealer.keyPassword'

Punjabi, Puneet Puneet.Punjabi at sagitec.com
Mon Mar 23 19:27:27 EDT 2015


Hello,

I have successfully installed Shibboleth v2.0 on Windows 2012 server. 
However, when I start the idp application in Tomcat (v6.0) I get the following exception in the tomcat log file - 

Mar 23, 2015 5:18:04 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'shibboleth.DataSealerKeyStrategy' defined in file 
[C:\Progra~2\Shibboleth\IdP\system\conf\global-system.xml]: Could not resolve placeholder 'idp.sealer.keyPassword' in string value "%{idp.sealer.keyPassword}"; 
nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'idp.sealer.keyPassword' in string value "%{idp.sealer.keyPassword}"
	at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211)
	at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:180)
	at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:155)
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265)
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162)
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)

I have confirmed that the attributes are defined in the IDP_HOME/conf/idp.properties file. 

# Settings for internal AES encryption key
idp.sealer.storeType = JCEKS
idp.sealer.updateInterval = PT15M
idp.sealer.aliasBase = secret
idp.sealer.storeResource= %{idp.home}/credentials/sealer.jks
idp.sealer.versionResource= %{idp.home}/credentials/sealer.kver
idp.sealer.storePassword= {29FC5957-F93F-43DF-8FAF-BEF8156F9EA9}
idp.sealer.keyPassword= {29FC5957-F93F-43DF-8FAF-BEF8156F9EA9}

Therefore, I believe that the application is unable to access or reference the properties file.
Would appreciate assistance as I am stuck on this first step since last week. 


Thanks & Regards
Puneet



More information about the users mailing list