=?gb2312?B?cGxlYXNlIGRvIG1lIGEgZmF2b3Igb24gQ0FTK09QRU5MREFQIGNvbmY=?= =?gb2312?B?aWd1cmF0aW9u?=
=?gb2312?B?s8LB6cP0?=
chenlm20042004 at tom.com
Mon Dec 1 08:07:19 EST 2008
Hi all
I installed a Cas server successful, but when I tried to connect CAS to
OpenLDAP, I got the following error message, when I open the login
interface:
--------------------------------------------------
The Throwable encountered at context listener initialization was:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'centralAuthenticationService' defined in ServletContext resource
[/WEB-INF/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]: Cannot create
inner bean
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler #1060478 ' while
setting bean property 'authenticationHandlers' with key [1]; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.jasig.cas.adaptors.ldap .BindLdapAuthenticationHandler#1060478 ' defined
in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot
resolve reference to bean 'contextSource' while setting bean property
'contextSource'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'contextSource' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed; nested
exception is java.lang.NoClassDefFoundError:
com.sun.jndi.ldap.ctl.ResponseControlFactory
The Throwable encountered at dispatcher servlet initialization was:
org.springframework.beans.factory.BeanCreationException : Error creating bean
with name 'centralAuthenticationService' defined in ServletContext resource
[/WEB-INF/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]: Cannot create
inner bean
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1060478' while
setting bean property 'authenticationHandlers' with key [1]; nested
exception is org.springframework.beans.factory.BeanCreationException : Error
creating bean with name
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1060478' defined
in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot
resolve reference to bean 'contextSource' while setting bean property
'contextSource'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'contextSource' defined in ServletContext resource
[/WEB-INF/deployerConfigContext .xml]: Instantiation of bean failed; nested
exception is java.lang.NoClassDefFoundError:
com.sun.jndi.ldap.ctl.ResponseControlFactory
---------------------------------------------------
As I configured my server forward
http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html . I
didn't find any information for applicationContext.xml configure. who can
tell me what's the problem?
BTW: My testing environment is CAS 3.0.6. spring-ldap1.1.2 and
cas-server-ldap-3.0.6 are under WEB-INF/lib directory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081201/491be8ee/attachment.html
More information about the cas
mailing list