Hi Farzan, Can you please attach your deployerConfigContext.xml and Pom.xml
Regards, Amjad Sent from my iPhone On Nov 18, 2012, at 11:10 PM, "Farzan Qureshi" <[email protected]> wrote: > Hi, > I am installing CAS as sso solution for our organization. I have installed > Tomcat 7 successfully and it is runnng without any errors. I have deployed > CAS which ran perfectly with the SimpleAuthentication where username and > password must be identical for successful login. Now I am trying to connect > it to our LDAP hosted on WIN 2008 R2. > > I have changed the configuration as mentioned on CAS LDAP authentication > documentation. But after making changes and when I restart tomcat I get the > following errors: Any Ideas will be appreciated. > > > > > INFO: Deploying web application archive > /usr/share/apache-tomcat-7.0.32/webapps/sso.war > 2012-11-19 21:38:01,584 INFO > [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services.> > 2012-11-19 21:38:01,697 ERROR [org.springframework.web.context.ContextLoader] > - <Context initialization failed> > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'centralAuthenticationService' defined in ServletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve > reference to bean 'authenticationManager' while setting bean property > 'authenticationManager'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'authenticationManager' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) > at > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody0(SafeContextLoaderListener.java:75) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody1$advice(SafeContextLoaderListener.java:57) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:1) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'authenticationManager' defined in ServletContext > resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) > ... 32 more > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) > ... 44 more > Caused by: org.springframework.beans.factory.BeanInitializationException: > Bean state is invalid: httpClient - may not be null > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.doValidate(BeanValidationPostProcessor.java:113) > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.postProcessAfterInitialization(BeanValidationPostProcessor.java:91) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) > ... 46 more > 2012-11-19 21:38:01,701 ERROR > [org.jasig.cas.web.init.SafeContextLoaderListener] - > <SafeContextLoaderListener: > The Spring ContextLoaderListener we wrap threw on contextInitialized. > But for our having caught this error, the web application context would not > have initialized.> > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'centralAuthenticationService' defined in ServletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve > reference to bean 'authenticationManager' while setting bean property > 'authenticationManager'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'authenticationManager' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) > at > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody0(SafeContextLoaderListener.java:75) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody1$advice(SafeContextLoaderListener.java:57) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:1) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'authenticationManager' defined in ServletContext > resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) > ... 32 more > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) > ... 44 more > Caused by: org.springframework.beans.factory.BeanInitializationException: > Bean state is invalid: httpClient - may not be null > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.doValidate(BeanValidationPostProcessor.java:113) > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.postProcessAfterInitialization(BeanValidationPostProcessor.java:91) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) > ... 46 more > SafeContextLoaderListener: > The Spring ContextLoaderListener we wrap threw on contextInitialized. > But for our having caught this error, the web application context would not > have initialized. > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'centralAuthenticationService' defined in ServletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve > reference to bean 'authenticationManager' while setting bean property > 'authenticationManager'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'authenticationManager' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) > at > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody0(SafeContextLoaderListener.java:75) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_aroundBody1$advice(SafeContextLoaderListener.java:57) > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:1) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'authenticationManager' defined in ServletContext > resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > of type > [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] > while setting bean property 'authenticationHandlers' with key [0]; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) > ... 32 more > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name > 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#b55083' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanInitializationException: Bean state is > invalid: httpClient - may not be null > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) > ... 44 more > Caused by: org.springframework.beans.factory.BeanInitializationException: > Bean state is invalid: httpClient - may not be null > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.doValidate(BeanValidationPostProcessor.java:113) > at > org.springframework.validation.beanvalidation.BeanValidationPostProcessor.postProcessAfterInitialization(BeanValidationPostProcessor.java:91) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) > ... 46 more > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
