Found the resolution to this error message. The documentation and default 
page text for ticketGrantingTicketCookieGenerator.xml has a bad 
configuration line for   <bean id="cookieValueManager" 
class="org.jasig.cas.web.support.NoOpCookieValueManager"  /> 

The default page and documentation shows

  <bean id="cookieValueManager" 
class="org.jasig.cas.web.support.NoOpCookieValueManager"
         c:cipherExecutor-ref="cookieCipherExecutor"  />

but the working config is to remove the cipherExecutor-ref tag as seen 
below:

    <bean id="cookieValueManager" 
class="org.jasig.cas.web.support.NoOpCookieValueManager"
           />


On Monday, February 29, 2016 at 8:31:49 AM UTC-5, Jeff Gouge wrote:
>
> When following the documentation about trying to turn off TGT cookie 
> signing and encryption, the follow error occurs when attempting to start 
> tomcat. Has anyone run into this problem or know of how to resolve this 
> issue?
>
>
>
> 26-Feb-2016 12:57:58.510 SEVERE [localhost-startStop-1] 
> org.apache.catalina.core.StandardContext.listenerStart Exception sending 
> context initialized event to listener instance of class 
> org.springframework.web.context.ContextLoaderListener
>  org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'ticketGrantingTicketCookieGenerator' defined in 
> ServletContext resource 
> [/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml]: 
> Cannot resolve reference to bean 'cookieValueManager' while setting 
> constructor argument; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'cookieValueManager' defined in ServletContext resource 
> [/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml]: 
> Could not resolve matching constructor (hint: specify index/type/name 
> arguments for simple parameters to avoid type ambiguities)
> at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
> at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1137)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
> at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)
> at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
> at 
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
> at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
> at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
> at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
> at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
> at 
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1795)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'cookieValueManager' defined in ServletContext 
> resource 
> [/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml]: 
> Could not resolve matching constructor (hint: specify index/type/name 
> arguments for simple parameters to avoid type ambiguities)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:236)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1137)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
> ... 30 more
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to