Actually i think you were right, it might be due to a classLoader problem
between jboss' jar and those of my cas.war.
I should tell Jboss to deploy this cas.war using in priority the libraries
of cas.war.
I was trying to follow this :
http://community.jboss.org/wiki/classloadingconfiguration
but i can't figure out the jboss-web.xml since there's not any jboss-web.xml
inside the cas.war... Any idea ?
Have a nice week-end

On 17 December 2010 09:12, Cedric Teyton <[email protected]> wrote:

> 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