authn/Shibcas flow An I/O Exception occurred resolving the flow location pattern '/**/*-flow.xml

Jehan Procaccia jehan.procaccia at tem-tsp.eu
Thu Jan 3 05:26:56 EST 2019


Hello

to start well the new year, I upgraded my IDP to 3.4.2 , it worked fine 
until I added the authn/Shibcas AuthenticationFlow .

When I start the IDP logs complains about an  "/I/O //Exception occurred 
resolving the flow location pattern '/**/*-flow.xml'/"

details:

2019-01-03 10:11:46,128 -  - DEBUG 
[net.shibboleth.idp.profile.spring.factory.FlowDefinitionRegistryFactoryBean:240] 
- Registered flow ID 'client-storage/write' using 'ServletContext 
resource [/system/flows/client-storage/client-storage-write-flow.xml]'
2019-01-03 10:11:46,129 -  - WARN 
[net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext:551] 
- Exception encountered during context initialization - cancelling 
refresh attempt: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.springframework.webflow.mvc.servlet.FlowHandlerMapping#0' defined 
in file [/opt/shibboleth-idp/system/conf/mvc-beans.xml]: Cannot resolve 
reference to bean 'flowRegistry' while setting bean property 
'flowRegistry'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'flowRegistry' defined in file 
[/opt/shibboleth-idp/system/conf/webflow-config.xml]: Invocation of init 
method failed; nested exception is java.lang.IllegalStateException: An 
I/O Exception occurred resolving the flow location pattern '/**/*-flow.xml'
2019-01-03 10:11:46,133 -  - ERROR 
[org.springframework.web.servlet.DispatcherServlet:502] - Context 
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.springframework.webflow.mvc.servlet.FlowHandlerMapping#0' defined 
in file [/opt/shibboleth-idp/system/conf/mvc-beans.xml]: Cannot resolve 
reference to bean 'flowRegistry' while setting bean property 
'flowRegistry'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'flowRegistry' defined in file 
[/opt/shibboleth-idp/system/conf/webflow-config.xml]: Invocation of init 
method failed; nested exception is java.lang.IllegalStateException: An 
I/O Exception occurred resolving the flow location pattern '/**/*-flow.xml'
     at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'flowRegistry' defined in file 
[/opt/shibboleth-idp/system/conf/webflow-config.xml]: Invocation of init 
method failed; nested exception is java.lang.IllegalStateException: An 
I/O Exception occurred resolving the flow location pattern '/**/*-flow.xml'
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
Caused by: java.lang.IllegalStateException: An I/O Exception occurred 
resolving the flow location pattern '/**/*-flow.xml'
     at 
net.shibboleth.idp.profile.spring.factory.FlowDefinitionRegistryFactoryBean.registerFlowLocationPatterns(FlowDefinitionRegistryFactoryBean.java:207)
Caused by: java.io.FileNotFoundException: ServletContext resource 
[/Shibcas/] cannot be resolved to URL because it does not exist
     at 
org.springframework.web.context.support.ServletContextResource.getURL(ServletContextResource.java:156)
2019-01-03 10:11:46,137 -  - INFO 
[net.shibboleth.idp.authn.impl.RemoteUserAuthServlet:215] - 
RemoteUserAuthServlet will process REMOTE_USER, along with attributes [] 
and headers []

I read about that kind of error /"I/O //Exception... //location pattern 
'/**/*-flow.xml'" /on :

http://shibboleth.1660669.n2.nabble.com/Unable-to-find-flow-authn-conditions-on-Windows-IdP-3-2-0-td7621411.html

https://github.com/Unicon/shib-cas-authn3/issues/14

https://wiki.shibboleth.net/confluence/display/DEV/2018-07-20

setting an idp.home (althought it is install in default path) in 
/var/lib/tomcat/webapps/idp/WEB-INF/web.xml

<context-param>
         <param-name>idp.home</param-name>
         <param-value>/opt/shibboleth-idp</param-value>
         </context-param>

did not solved the issue .

What else can be done, what is the problem ?

Thanks .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190103/85974558/attachment.html>


More information about the users mailing list