Auto deployment failure on CentOS 7 tomcat with unpackWAR="false" in 3.4.0 update

Takeshi NISHIMURA takeshi at nii.ac.jp
Fri Oct 19 00:36:55 EDT 2018


Hi all,

We have encountered a strange error when updating Shibboleth IdP to 3.4.0 on CentOS 7-supplied tomcat package (Tomcat 7).

It is auto-deployment failure and it works fine again when you manually restart Tomcat.

We also found that this error occurs only when unpackWAR="false". If you configure unpackWAR="true" or you do not specify it, you can use auto-deployment without such trouble.

Error message:
> SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [general-admin-system.xml]
Offending resource: file [/opt/shibboleth-idp/system/conf/global-system.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [conditional:/opt/shibboleth-idp/conf/admin/unlock-keys.xml]
Offending resource: file [/opt/shibboleth-idp/system/conf/general-admin-system.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/conditional:/opt/shibboleth-idp/conf/admin/unlock-keys.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/conditional:/opt/shibboleth-idp/conf/admin/unlock-keys.xml]
> ...

Best regards,
Takeshi


More information about the users mailing list