Context initialization failed ( ldapUserAuthService)
PLK Albert
plkit.helpdesk at poleungkuk.org.hk
Tue May 8 00:46:22 EDT 2007
Hi,
I have not success to bind the LDAP server. I follow the http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html . There also has not defined ldapUserAuthService .
In the log, always show ERROR & FATAL. Any suggestion of that ?
2007-05-08 12:32:48,113 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
2007-05-08 12:32:48,264 ERROR [org.springframework.web.servlet.DispatcherServlet] - Context initialization failed
2007-05-08 12:32:50,116 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
2007-05-08 12:32:50,380 ERROR [org.springframework.web.servlet.DispatcherServlet] - Context initialization failed
2007-05-08 12:32:48,127 FATAL [org.jasig.cas.web.init.SafeContextLoaderListener] - SafeContextLoaderListener:
2007-05-08 12:32:48,271 FATAL [org.jasig.cas.web.init.SafeDispatcherServlet] - SafeDispatcherServlet:
2007-05-08 12:32:50,125 FATAL [org.jasig.cas.web.init.SafeContextLoaderListener] - SafeContextLoaderListener:
2007-05-08 12:32:50,382 FATAL [org.jasig.cas.web.init.SafeDispatcherServlet] - SafeDispatcherServlet:
Thanks,
Albert
"Scott Battaglia" <scott.battaglia at gmail.com> ???????:1bbd36a10705070440w723da451we83e12a9fb9dbe23 at mail.gmail.com...
You haven't defined a bean called "ldapUserAuthService" and your BeanFactory is looking for it.
-Scott
On 5/7/07, PLK Albert < plkit.helpdesk at poleungkuk.org.hk> wrote:
Hi again,
I feel so trouble to set up CAS with LDAP. Always CAS is Unavailable.
When will the CAS touch LDAP database?
I have trouble in following error again. Please help. My deadline is
coming. Thanks.
2007-05-07 17:15:24,272 DEBUG
[org.springframework.ldap.support.LdapContextSource ] - AuthenticationSource
not set - using default implementation
2007-05-07 17:15:24,297 DEBUG
[org.springframework.ldap.support.LdapContextSource] - Using LDAP pooling.
2007-05-07 17:15:24,298 DEBUG
[org.springframework.ldap.support.LdapContextSource ] - Trying provider Urls:
ldap://plk.hk:389/ ldap://plk.hk:636/
2007-05-07 17:15:24,317 INFO
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - No
PasswordEncoder set. Using default:
org.jasig.cas.authentication.handler.PlainTextPasswordEncoder
2007-05-07 17:15:24,318 INFO
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - No Class to
Support set. Using default:
org.jasig.cas.authentication.principal.UsernamePasswordCredentials
2007-05-07 17:15:24,376 INFO
[org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - No
UniqueTicketIdGenerator specified for
org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler. Using
org.jasig.cas.util.DefaultUniqueTicketIdGenerator
2007-05-07 17:15:26,839 INFO [org.jasig.cas.web.ServiceValidateController] -
No successView specified. Using default of casServiceSuccessView
2007-05-07 17:15:26,882 INFO [org.jasig.cas.web.ServiceValidateController ] -
No failureView specified. Using default of casServiceFailureView
2007-05-07 17:15:26,985 INFO [org.jasig.cas.web.ServiceValidateController] -
No authentication specification class set. Defaulting to
org.jasig.cas.validation.Cas20ProtocolValidationSpecification
2007-05-07 17:15:26,986 INFO [org.jasig.cas.web.ServiceValidateController] -
No successView specified. Using default of casServiceSuccessView
2007-05-07 17:15:26,986 INFO [org.jasig.cas.web.ServiceValidateController ] -
No failureView specified. Using default of casServiceFailureView
2007-05-07 17:15:27,215 INFO
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - FormObjectClass not
set. Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.jasig.cas.validation.UsernamePasswordCredentialsValidator.
2007-05-07 17:15:29,720 ERROR
[org.springframework.web.context.ContextLoader] - Context initialization
failed
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#fbf51d' of type
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler ] 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#fbf51d '
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]: Cannot resolve reference to bean
'ldapUserAuthService' while setting bean property 'authenticationSource';
nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'ldapUserAuthService' is defined
Caused by:
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#fbf51d' of type
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] 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#fbf51d'
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]: Cannot resolve reference to bean
'ldapUserAuthService' while setting bean property 'authenticationSource';
nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException : No bean
named 'ldapUserAuthService' is defined
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#fbf51d '
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]: Cannot resolve reference to bean
'ldapUserAuthService' while setting bean property 'authenticationSource';
nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'ldapUserAuthService' is defined
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'contextSource' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to bean
'ldapUserAuthService' while setting bean property 'authenticationSource';
nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'ldapUserAuthService' is defined
Caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'ldapUserAuthService' is defined
_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070508/6e97d1d5/attachment.html
More information about the cas
mailing list