[jboss-dev-forums] [Tomcat Integration Development] - CAS-Server into my JBoss Server and Tomcat
Cédric Teyton
do-not-reply at jboss.com
Thu Dec 16 10:44:16 EST 2010
Cédric Teyton [http://community.jboss.org/people/twizol] created the discussion
"CAS-Server into my JBoss Server and Tomcat"
To view the discussion, visit: http://community.jboss.org/message/576447#576447
--------------------------------------------------------------
Hi everybody,
i'm currently developping a j2EE web application running on a JBoss platform 4.0.2.
Everything's going well, and now i try to deploy Central Authentication Service 3.3.4 ( http://www.jasig.org/cas www.jasig.org/cas) on the jboss server. Also, to enable connections from users i'd like to look for credentials into a mysql database. I've therefore edited the necessary files, and right now i'm trying to start my jboss server, containing the cas.war i've created (into $JBOSS_HOME/server/default/deploy/). I'm getting an error when deploying this cas application, that i can't understand :
2010-12-16 15:55:35,654 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]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [java.util.List] for property 'authenticationHandlers'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler] to required type [org.jasig.cas.authentication.handler.AuthenticationHandler] for property 'authenticationHandlers[1]': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
2010-12-16 15:55:35,654 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]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [java.util.List] for property 'authenticationHandlers'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.jasig.cas.adaptors.jdbc.*SearchModeSearchDatabaseAuthenticationHandle*r] to required type [org.jasig.cas.authentication.handler.*AuthenticationHandler*] for property 'authenticationHandlers[1]': *no matching editors or conversion strategy found*
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
I'm quite sure all the appropriated libaries are included...
Is everybody with some Cas's knowledges could help me please ?!
Thanks a lot !
Cédric
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576447#576447]
Start a new discussion in Tomcat Integration Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2090]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101216/2bcc5dcd/attachment.html
More information about the jboss-dev-forums
mailing list