Setting up cas with LDAP for Liferay
Scott Battaglia
scott.battaglia at gmail.com
Thu Sep 20 09:27:28 EDT 2007
Angel,
You can provide multiple URLs if you have multiple LDAP servers. Otherwise,
one is sufficient :-)
You filter still seems wrong:
<property name="filter" value="uid=admin,ou=system,dc=example,dc=com" />
You're now ONLY authenticating people who have a uid which matches admin.
-Scott
On 9/20/07, Angel Q <kelete at yahoo.com> wrote:
>
> Hi Andrew and Scott,
> Thanks for your help.
>
> Could the "encryption algorithm used for passwords stored in the LDAP
> server" affect here in any way?.
>
> The values "ou=people,dc=virtual,dc=Ryerson,dc=edu" you saw come from the
> original deployesrConfigContext.xtm in the cas client.not used anymore and
> never worked againt LDAP either...
>
> For the client I use JXplorer and I am using the values from there. Here I
> include some of the connection values:
> Host: 192.168.5.15
> Port: 10389
> Protocol: LDAP v3
> Level: User + Password
> User DN: uid=admin,ou=system
> Password: secret
>
> Admin DN: uid=admin,ou=system
>
> The error I get on the cas/login page is:
> The credentials you provided cannot be determined to be authentic.
>
> This is my deployerConfigContext.xml:
> ------------------------------------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:p="http://www.springframework.org/schema/p"
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <bean id="contextSource" class="
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
> <property name="urls">
> <list>
> <value>ldap://192.168.5.15:10389</value>
> <value>ldap://192.168.5.15</value>
> <value>ldaps://192.168.5.15:10389</value>
> <value>ldaps://192.168.5.15</value>
> </list>
> </property>
> <property name="userName" value="uid=admin,ou=system"/>
> <property name="password" value="secret"/>
> <property name="baseEnvironmentProperties">
> <map>
> <entry>
> <key>
> <value>java.naming.security.authentication</value>
> </key>
> <value>simple</value>
> </entry>
> </map>
> </property>
> </bean>
> <bean id="authenticationManager"
> class="org.jasig.cas.authentication.AuthenticationManagerImpl">
> <property name="credentialsToPrincipalResolvers">
> <list>
> <bean
> class="
> org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver"
> />
> <bean
> class="
> org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"
> />
> </list>
> </property>
> <property name="authenticationHandlers">
> <list>
> <bean class="
> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler
> "
> p:httpClient-ref="httpClient" />
> <bean class="
> org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
> <property name="filter"
> value="uid=admin,ou=system,dc=example,dc=com" />
> <property name="contextSource"
> ref="contextSource" />
> </bean>
> </list>
> </property>
> </bean>
> </beans>
>
> -----------------------------------------------------
>
> can <property name="urls"> store as many as I want, or do they all have
> to be valid?
>
> Thanks again for your help guys!
>
> Angel
>
> ----- Original Message ----
> From: Andrew R Feller <afelle1 at lsu.edu>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Wednesday, September 19, 2007 10:15:55 PM
> Subject: RE: Setting up cas with LDAP for Liferay
>
> Angel,
>
>
>
> Once you use a LDAP browser as Scott mentioned (Apache DS mentions it
> here:
> http://directory.apache.org/apacheds/1.0/221-connecting-to-apacheds-with-graphical-tools-3rd-party.html)
> , you should see some top-level root of your Apache DS deployment. This
> should be something to the effect of:
>
>
>
> - O=example,O=com
> - O=rutgers
>
>
>
> Once you are able to see the structure, just find the listing where all
> your users are under and copy its common name (CN) to the filter. I looked
> in the history of this thread and see mention of a filter using
> "ou=people,dc=virtual,dc=Ryerson,dc=edu". Where did you get this from?
>
>
>
> Andrew R Feller, Analyst
>
> Subversion Administrator
>
> University Information Systems
>
> Louisiana State University
>
> afelle1 at lsu.edu
>
> (office) 225.578.3737
> ------------------------------
>
> *From:* cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] *On
> Behalf Of *Scott Battaglia
> *Sent:* Wednesday, September 19, 2007 2:53 PM
> *To:* Yale CAS mailing list
> *Subject:* Re: Setting up cas with LDAP for Liferay
>
>
>
> If you use an LDAP browser tool, you should be able to see your hierarchy.
>
> -Scott
>
> On 9/19/07, *Angel Q* <kelete at yahoo.com > wrote:
>
> Hi Andrew,
>
> The LDAP server is Apache DS and I´m the one dealing with it....
>
> Can I asume, then, the rest of the values on my deployerConfigContext.xmlare correct and I just need to fix the filter issue....
> Where could I find those values in the Apache DS?
>
> Thanks you so much,
> Angel
>
> ----- Original Message ----
> From: Andrew R Feller < afelle1 at lsu.edu>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
>
> Sent: Wednesday, September 19, 2007 7:57:08 PM
> Subject: RE: Setting up cas with LDAP for Liferay
>
> Angel,
>
>
>
> Users are listed as entries within the LDAP's server hierarchy. The
> filter property of the LDAP authentication handlers should be the path to
> the branch where users' entries are listed. This path depends on how your
> LDAP server is setup; I cannot tell you what it should be. Contact whoever
> manages your identity store (LDAP, Active Directory, Novell eDirectory, Sun
> ONE Directory Server, etc) and they should be able to tell you what the path
> is.
>
>
>
> HTH,
>
>
>
> Andrew R Feller, Analyst
>
> Subversion Administrator
>
> University Information Systems
>
> Louisiana State University
>
> afelle1 at lsu.edu
>
> (office) 225.578.3737
> ------------------------------
>
> *From:* cas-bounces at tp.its.yale.edu [mailto: cas-bounces at tp.its.yale.edu]
> *On Behalf Of *Angel Q
> *Sent:* Wednesday, September 19, 2007 12:38 PM
> *To:* Yale CAS mailing list
> *Subject:* Re: Setting up cas with LDAP for Liferay
>
>
>
> Thanks Scott and Andrew,
>
> Could you explain those values so I understand ´em?
> ou, dc and dc....
>
> I don´t realy know what to put there.
>
>
> Thanks for your help and patience,
>
> Angel
>
> ----- Original Message ----
> From: Scott Battaglia <scott.battaglia at gmail.com>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Wednesday, September 19, 2007 7:15:43 PM
> Subject: Re: Setting up cas with LDAP for Liferay
>
> Angel,
>
> Your filter is for the Rutgers servers:
> <property name="filter" value="uid=%u,ou=people,dc=rutgers,dc=edu" />
>
> -Scott
>
> On 9/19/07, *Angel Q* <kelete at yahoo.com> wrote:
>
> Hi Scott,
>
> Thanks for your reply, I´m on CAS 3.1.x Server I have followed the
> instructions on http://www.ja-sig.org/wiki/display/CASUM/LDAP and this is
> my latest error:
> 2007-09-19 16:32:14,266 INFO [
> org.jasig.cas.authentication.AuthenticationManagerImpl] -
> <AuthenticationHandler:
> org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler failed to
> authenticate the user which provided the following credentials:
> liferay.com.1>
>
> This is my deployerConfigContext.xml:
>
> ------------------------------------------------------------------------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
> xmlns:p="http://www.springframework.org/schema/p"
> xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> ">
> <bean id="contextSource" class="
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
> <property name="urls">
> <list>
> <value>ldap://192.168.5.15:10389/</value>
> </list>
> </property>
> <property name="userName" value="uid=admin,ou=system"/>
> <property name="password" value="secret"/>
> <property name="baseEnvironmentProperties">
> <map>
> <entry>
> <key>
> <value>java.naming.security.authentication</value>
> </key>
> <value>simple</value>
> </entry>
> </map>
> </property>
> </bean>
>
> <bean id="authenticationManager"
> class="org.jasig.cas.authentication.AuthenticationManagerImpl">
> <property name="credentialsToPrincipalResolvers">
> <list>
> <bean
> class="
> org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver"
> />
> <bean
> class="
> org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" />
> </list>
> </property>
>
> <property name="authenticationHandlers">
> <list>
> <bean class="
> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"
> p:httpClient-ref="httpClient" />
> <bean class="
> org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
> <property name="filter"
> value="uid=%u,ou=people,dc=rutgers,dc=edu" />
> <property name="contextSource"
> ref="contextSource" />
> </bean>
> </list>
> </property>
> </bean>
> </beans>
>
> ------------------------------------------------------------------------------------------------------------
>
> Thank you!
> Angel
>
> ----- Original Message ----
> From: Scott Battaglia <scott.battaglia at gmail.com>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
>
> Sent: Tuesday, September 18, 2007 9:05:40 PM
> Subject: Re: Setting up cas with LDAP for Liferay
>
> Angel,
>
> You're on the CAS 3.x server code base (you may be on CAS client 2.x). It
> appears your deployment is missing the appropriate JARs.
>
> If you are using CAS Server 3.1.x, then you'll need to add a Maven2
> dependency to the cas-server-webapp:
> http://www.ja-sig.org/wiki/display/CASUM/LDAP
>
> If you're using CAS Server 3.0.x, you'll need to download the
> cas-server-ldap jar and Spring LDAP and its dependencies.
>
> Hope that helps.
> -Scott
>
> On 9/18/07, *Angel Q* < kelete at yahoo.com> wrote:
>
> Hi Andrew,
>
> I am on Cas 2.0, should I upgrade? is there a howto? I will hapily avoid
> upgrading.....
>
> Thanks you,
> Angel
>
> ----- Original Message ----
> From: Andrew R Feller < afelle1 at lsu.edu>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Tuesday, September 18, 2007 8:04:19 PM
> Subject: RE: Setting up cas with LDAP for Liferay
>
> What version of CAS are you trying to deploy?
>
> If you are deploying CAS 3.1, then you need to add a dependency for the
> cas-server-support-ldap subproject in the cas-server-webapp subproject in
> the CAS Server 3.1 source. It will automatically include all the
> necessary JARs.
>
> HTH,
>
> Andrew R Feller, Analyst
> Subversion Administrator
> University Information Systems
> Louisiana State University
> afelle1 at lsu.edu
> (office) 225.578.3737
>
> -----Original Message-----
> From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu ] On
> Behalf Of Angel Q
> Sent: Tuesday, September 18, 2007 12:15 PM
> To: cas at tp.its.yale.edu
> Subject: Setting up cas with LDAP for Liferay
>
> Hi, I'm looking into Setting up cas with LDAP for Liferay 4.2,
>
> I get the following error:
> 2007-09-18 17:02:44,519 ERROR [
> org.springframework.web.context.ContextLoader] - <Context initialization
> failed>
> org.springframework.beans.factory.BeanDefinitionStoreException : Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
>
> I already got the libraries ldapbp-1.0.jar and ldaptemplate-1.0.2.jar into
> the cas-web/WEB-INF/lib/ folder.
>
> Please give some light to me....
>
> Here I include the deployerConfigContext.xml source:
> ----------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> http://www.springframework.org/dtd/spring-beans.dtd";>
> <!--
> | deployerConfigContext.xml centralizes into one file some of the
> declarative configuration that
> | all CAS deployers will need to modify.
> |
> | This file declares some of the Spring-managed JavaBeans that make up
> a CAS deployment.
> | The beans declared in this file are instantiated at context
> initialization time by the Spring
> | ContextLoaderListener declared in web.xml. It finds this file
> because this
> | file is among those declared in the context parameter
> "contextConfigLocation".
> |
> | By far the most common change you will need to make in this file is
> to change the last bean
> | declaration to replace the default
> SimpleTestUsernamePasswordAuthenticationHandler with
> | one implementing your approach for authenticating usernames and
> passwords.
> +-->
> <beans>
> <bean id="authenticationManager" class="
> org.jasig.cas.authentication.AuthenticationManagerImpl">
> <property name="credentialsToPrincipalResolvers">
> <list>
> <bean class="
> org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" />
> <bean class="
> org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"
> />
> </list>
> </property>
> <property name="authenticationHandlers">
> <list>
> <bean class="
> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"
> />
> <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" >
> <property name="filter" value="uid=%u" />
> <property name="searchBase"
> value="ou=people,dc=virtual,dc=ryerson,dc=edu" />
> <property name="contextSource" ref="contextSource" />
> </bean>
> </list>
> </property>
> </bean>
>
> <bean id="contextSource" class="
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
> <property name="authenticatedReadOnly" value="true" />
> <property name="urls">
> <list>
>
> <value>ldap://pymes2.gobernalianet.es:10389/</value>
> </list>
> </property>
> <property name="userName" value="uid=admin,ou=system"/>
> <property name="password" value="secret"/>
>
> <property name="baseEnvironmentProperties">
> <map>
> <entry>
> <key><value>
> java.naming.security.authentication</value></key>
> <value>simple</value>
> </entry>
> </map>
> </property>
> </bean>
> </beans>
> ----------------------------
>
> and the whole error stack from logs/catalina.out
> -------------------------------------------
> INFO: Despliegue del archivo cas-web.war de la aplicación web
> 2007-09-18 17:02:44,519 ERROR [
> org.springframework.web.context.ContextLoader] - <Context initialization
> failed>
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException :
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass (
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName (ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass
> (AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(
> AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
> (DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(
> AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors
> (AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh (
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh
> (AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java :49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java:62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start (
> StandardContext.java:4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild (StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start (StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke (
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 2007-09-18 17:02:44,522 FATAL [
> org.jasig.cas.web.init.SafeContextLoaderListener] -
> <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.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException :
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass (
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName (ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass
> (AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(
> AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
> (DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(
> AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors
> (AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh (
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh
> (AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java :49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java:62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start (
> StandardContext.java:4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild (StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start (StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke (
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 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.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource ] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by: java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> (AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(
> DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType
> (AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(
> AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(
> AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext (
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java :62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal (
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start (HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:432)
> 2007-09-18 17:02:44,525 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas-web]]
> - <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.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException :
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass (
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName (ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass
> (AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(
> AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
> (DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(
> AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors
> (AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh (
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh
> (AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java :49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java:62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start (
> StandardContext.java:4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild (StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start (StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke (
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 2007-09-18 17:02:44,592 ERROR [
> org.springframework.web.servlet.DispatcherServlet] - <Context
> initialization failed>
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource ] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> (AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(
> DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType
> (AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(
> AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(
> AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext (
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java :62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal (
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start (HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:432)
> 2007-09-18 17:02:44,593 FATAL [
> org.jasig.cas.web.init.SafeDispatcherServlet] - <SafeDispatcherServlet:
> The Spring DispatcherServlet we wrap threw on init.
> But for our having caught this error, the servlet would not have
> initialized.>
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource ] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> (AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(
> DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType
> (AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(
> AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(
> AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext (
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java :62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal (
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start (HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:432)
> SafeDispatcherServlet:
> The Spring DispatcherServlet we wrap threw on init.
> But for our having caught this error, the servlet would not have
> initialized.
> org.springframework.beans.factory.BeanDefinitionStoreException : Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by: java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass (
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0 (Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> (AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(
> DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType
> (AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(
> AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(
> AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext (
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java :62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal (
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start (HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:432)
> 2007-09-18 17:02:44,595 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas-web]]
> - <SafeDispatcherServlet:
> The Spring DispatcherServlet we wrap threw on init.
> But for our having caught this error, the servlet would not have
> initialized.>
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'contextSource' defined in ServletContext
> resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource ] not
> found; nested exception is java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> Caused by:
> java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1352)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1198)
> at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at org.springframework.util.ClassUtils.forName(ClassUtils.java:160)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> AbstractBeanDefinition.java:324)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> (AbstractBeanFactory.java:833)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(
> DefaultListableBeanFactory.java:138)
> at
> org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType
> (AbstractApplicationContext.java:657)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(
> AbstractApplicationContext.java:387)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:319)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(
> AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:246)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext (
> ContextLoader.java:184)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
> at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized
> (SafeContextLoaderListener.java :62)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4187)
> at org.apache.catalina.core.ContainerBase.addChildInternal (
> ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> at org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> :809)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> at org.apache.catalina.startup.HostConfig.start (HostConfig.java:1122)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> :1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1013)
> at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
> :442)
> at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:432)
>
> -------------------------------------------
>
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search
> http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
> _______________________________________________
> Yale CAS mailing list
> 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
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> _______________________________________________
> 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
>
>
>
>
> ------------------------------
>
> Check out
> <http://us.rd.yahoo.com/evt=51201/*http:/autos.yahoo.com/new_cars.html;_ylc=X3oDMTE5NWVzZGVyBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtbmV3Y2Fy%0A>the
> hottest 2008 models today at Yahoo! Autos.
>
>
> _______________________________________________
> 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
>
>
>
>
> ------------------------------
>
> Looking for a deal? Find great prices on flights and hotels<http://us.rd.yahoo.com/evt=47094/*http:/farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->with Yahoo! FareChase.
>
>
>
>
> ------------------------------
>
> Need a vacation? Get great deals to amazing places
> <http://us.rd.yahoo.com/evt=48256/*http:/travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ-->on
> Yahoo! Travel.
>
>
> _______________________________________________
> 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
>
>
> ------------------------------
> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
> panel<http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7+>and lay it on us.
>
> _______________________________________________
> 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/20070920/b4dcecf8/attachment.html
More information about the cas
mailing list