Oddness running from a daemon.

Rod Widdowson rdw at steadingsoftware.com
Tue Oct 7 05:24:37 EDT 2014


I'm looking for guidance on debugging this one.

I'm seeing an issue when I run Jetty from a Daemon in Windows.  The symptom
is that during the authentication flow all goes OK until we despatch to
auth\Password:

2014-10-07 09:24:14,218 - DEBUG
[net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:267] - Profile
Action SelectAuthenticationFlow: No usable active results available,
selecting an inactive flow
2014-10-07 09:24:14,218 - DEBUG
[net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:309] - Profile
Action SelectAuthenticationFlow: Selecting inactive authentication flow
authn/Password
2014-10-07 09:24:14,234 - DEBUG
[net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver:134] -
Resolving exception from handler
[[FlowHandlerMapping.DefaultFlowHandler at 183210e9]]:
org.springframework.webflow.execution.FlowExecutionException: Exception
thrown in state 'CallAuthenticationFlow' of flow 'authn'
2014-10-07 09:24:14,234 - DEBUG
[net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver:219] -
Resolving to default view 'error' for exception of type
[org.springframework.webflow.execution.FlowExecutionException]
2014-10-07 09:24:14,234 - ERROR
[org.springframework.webflow.execution.FlowExecutionException:76] - 
org.springframework.webflow.execution.FlowExecutionException: Exception
thrown in state 'CallAuthenticationFlow' of flow 'authn'
	at
org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecution
Impl.java:573)
Caused by:
org.springframework.webflow.definition.registry.FlowDefinitionConstructionEx
ception: An exception occurred constructing the flow 'authn/Password'
	at
org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(De
faultFlowHolder.java:111)
Caused by: org.springframework.webflow.engine.builder.FlowBuilderException:
Unable to get the model for this flow
	at
org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit
(FlowModelFlowBuilder.java:154)
Caused by:
org.springframework.webflow.engine.model.builder.FlowModelBuilderException:
Unable to find flow 'authn/conditions' to inherit from
	at
org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.mer
geFlows(XmlFlowModelBuilder.java:635)
Caused by:
org.springframework.webflow.engine.model.registry.NoSuchFlowModelException:
No flow model 'authn/conditions' found
	at
org.springframework.webflow.engine.model.registry.FlowModelRegistryImpl.getF
lowModelHolder(FlowModelRegistryImpl.java:80)
2014-10-07 09:24:14,249 - DEBUG
[net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver:341] -
Exposing Exception as model attribute 'exception'


This works just fine from the command line, so it is something odd about the
fact that I'm running from a service.  I watched the process doing a lookup
in "authn\conditions\*" and now I'm currently floored so any suggestions
about what precisely is up with that transition would be welcome.  

An aside: while I was debugging this I did spot an oddity.  The daemon
wanted to load a file called:

C:\Program Files
(x86)\Shibboleth\Jetty\resources\%{idp\storage\ClientStorageService:org\open
saml\storage\impl\ServletRequestScopedStorageService}.class

I'm sure that has nothing to do with problem in hand, but I'll bring it to
your attention in case it rings any bells.



More information about the dev mailing list