Hi, thanks for your answer!
It seems i'm gonna have to be a bit lucky with handling all these jars. i've
removed some of the cas.war since there were some conflict! Also, the same
.war is working when deployed on a single classic tomcat server.
But still thanks for helping !
Cédric

On 17 December 2010 08:53, 李世亮 <[email protected]> wrote:

> Try to put some jars into jboss/server/default/lib, which are containing
>  classes in your errors.
> It may be a combination, some in default/lib, some in WAR/lib.
> Wish you a happy making up!
>
> On Fri, Dec 17, 2010 at 6:59 AM, 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
>>
>
>
>
> --
> --
> Li Shiliang
> Ph.D Candidate
> Institute of Distance Education
> Beijing Normal University
> Beijing, P.R. China
> --------------------------
> Embracing Open Source——Beginning from Firefox, Libreoffice, Ubuntu......
>
> --
> 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