I'm not sure I understand how that error can occur.  An ArrayList is clearly
a List.  Could it be a classloading issue?


On Thu, Dec 16, 2010 at 5:59 PM, Cédric Teyton <[email protected]>wrote:

> 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 (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.BeanCreationExce ption: 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.BeanCreationExce ption: 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.BeanDefi
> nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:275)
> at org.springframework.beans.factory.support.BeanDefi
> nitionValueResolver.resolveValueIfNecessary(BeanDe
> finitionValueResolver.java:104)
> at org.springframework.beans.factory.support.Abstract
> AutowireCapableBeanFactory.applyPropertyValues(Abs
> tractAutowireCapableBeanFactory.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
> --
> 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

Reply via email to