LDAP Build Error
Ryan J. Peterson
rjpetersonstudios at gmail.com
Thu Jan 11 10:20:35 EST 2007
Scott ,
I am using 1.5.0 with JDK 6. I will try to see if I can find out if this
is the case.
Ryan
> What JVM are you using? It looks like it can't find the LDAP class:
> com.sun.jndi.ldap.ctl.ResponseControlFactory
>
> -Scott
>
> On 1/10/07, *Ryan J. Peterson * <rjpetersonstudios at gmail.com
> <mailto:rjpetersonstudios at gmail.com>> wrote:
>
> Copied into localPlugins/lib/
> cas-server-ldap-3.0.6.jar
> ldaptemplate-1.0.2.jar
>
> Changed deployerConfigContext.xml (attached)
>
> get these errors http://ourgvinc02.iworldlink.com:8080/cas/login?null
>
> --- ERRORS BELOW --
>
>
> 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.BindLdapAuthenticationHandler#1a544a5'
> 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#1a544a5'
> 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#1a544a5'
> 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#1a544a5'
> 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
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu <mailto:cas at tp.its.yale.edu>
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Yale CAS mailing list
>cas at tp.its.yale.edu
>http://tp.its.yale.edu/mailman/listinfo/cas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070111/95e95ef6/attachment.html
More information about the cas
mailing list