You are missing a jar from the Spring LDAP project (it should be in its lib
directory I think). Its name is evading me at the moment.  Sorry.

-Scott

On 4/9/07, yassine yassine <[EMAIL PROTECTED]> wrote:


 i m trying to deploy cas with ldap authentification i had follow the
instructions in the cas website about using ldap for authentification, but
instead to have the login page  i have this page:
CAS is Unavailable There was a fatal error initializing the CAS
application context. This is almost always because of an error in the Spring
bean configuration files. Are the files valid XML? Do the beans they refer
to all exist?

Before placing CAS in production, you should change this page to present a
UI appropriate for the case where the CAS web application is fundamentally
broken. Perhaps "Sorry, CAS is currently unavailable." with some links to
your user support information.
 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.FastBindLdapAuthenticationHandler#1c19919'
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.FastBindLdapAuthenticationHandler#1c19919'
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.FastBindLdapAuthenticationHandler#1c19919'
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.FastBindLdapAuthenticationHandler#1c19919'
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



------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! 
Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
.


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas




--
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to