When I use spring-ldap-1.2.1.jar CAS start fine, but with
spring-ldap-1.3.1.jar the application don“t start with a lot of errors as
you can see in the mail below.

I also include the:
spring-ldap-1.3.1.RELEASE-all.jar
spring-ldap-core-1.3.0.RELEASE.jar
spring-ldap-core-tiger-1.3.0.RELEASE.jar

in the lib folder and the problem persist. 

Jorge.

-----Mensaje original-----
De: Jorge Infante Osorio [mailto:[email protected]] 
Enviado el: viernes, 11 de febrero de 2011 11:29
Para: [email protected]
Asunto: RE: [cas-user] CAS integration with ApacheDS Ldap. Error

I download the spring-ldap-1.3.1.RELEASE  from:
http://www.springsource.com/download/community?sid=1011678 and change the
jar.

This is the error now:

SEVERE: 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' define$
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolve$
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValue

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' de$
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eInnerBean(BeanDefinitionValueResolve$

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.jasig.cas.adaptors.ld$
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolve$
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValue$

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'contextSource' defined in$
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowire$
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapable$
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapable$
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBe$
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:290)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.$
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:287)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:189)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolve$
        ... 60 more
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
property 'userName' of bean class [org.springfram$
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.j
ava:1012)

jorge.



-----Mensaje original-----
De: Marvin Addison [mailto:[email protected]] Enviado el: viernes, 11
de febrero de 2011 11:00
Para: [email protected]
Asunto: Re: [cas-user] CAS integration with ApacheDS Ldap. Error

> I use cas-server-3.4.2-release and download this jar: 
> spring-ldap-1.2.1.jar

Wrong Spring LDAP version.  You must use the version declared in the
cas-server-support-ldap/pom.xml file, which is 1.3.1 I believe.
Moreover, we recommend you use the Maven WAR Overlay process to build and
configure CAS,
https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+
using+the+Maven2+WAR+Overlay+Method.

M

--
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


-- 
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