Error while creating bean with name "searchUsername" for AttributePostLoginC14NConfiguration

Grau, Roderick rgrau at albany.edu
Tue Jan 12 14:31:56 EST 2016


Shib Users:


I am trying to implement what is described here https://wiki.shibboleth.net/confluence/display/IDP30/AttributePostLoginC14NConfiguration for an SP.


I am getting an error:


2016-01-12 14:28:47,898 - INFO [net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:577] - Refreshing ApplicationContext:shibboleth.AttributeResolverService: startup date [Tue Jan 12 14:28:47 EST 2016]; parent: Root WebApplicationContext
2016-01-12 14:28:48,334 - WARN [net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:545] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchUsername': Cannot create inner bean '(inner bean)#db9b2e7' of type [net.shibboleth.ext.spring.factory.EvaluableScriptFactoryBean] while setting bean property 'script'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#db9b2e7': Invocation of init method failed; nested exception is javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
2016-01-12 14:28:48,422 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181] - Service 'shibboleth.AttributeResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchUsername': Cannot create inner bean '(inner bean)#db9b2e7' of type [net.shibboleth.ext.spring.factory.EvaluableScriptFactoryBean] while setting bean property 'script'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#db9b2e7': Invocation of init method failed; nested exception is javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
        at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchUsername': Cannot create inner bean '(inner bean)#db9b2e7' of type [net.shibboleth.ext.spring.factory.EvaluableScriptFactoryBean] while setting bean property 'script'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#db9b2e7': Invocation of init method failed; nested exception is javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#db9b2e7': Invocation of init method failed; nested exception is javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
        at com.sun.script.javascript.RhinoScriptEngine.compile(RhinoScriptEngine.java:392)
Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#13)
        at sun.org.mozilla.javascript.internal.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
2016-01-12 14:28:48,449 - INFO [net.shibboleth.utilities.java.support.service.AbstractReloadableService:183] - Service 'shibboleth.AttributeResolverService': Continuing to poll configuration


Am I just missing one of the packages?


Thanks for the help.


-Rod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160112/1c25fa5f/attachment.html>


More information about the users mailing list