Hi Atefeh,
>From your cas.log, it looks like that cas-server-support-ldap module have
not been included into your CAS webapp.
To do this you need to edit cas-server-webapp pom.xml and
add cas-server-support-ldap as one of its dependencies, and then rebuild &
redeploy.

Regards,
Sukma


On Sun, Jul 26, 2009 at 12:10 PM, <[email protected]> wrote:

> Hi Andrew,
>
> Thanks for your attention.
> This is all logs I have after started Tomcat and trying to start CAS.
>
> Regards,
> Atefeh
>
> --- On Wed, 7/22/09, Andrew Feller <[email protected]> wrote:
>
> > From: Andrew Feller <[email protected]>
> > Subject: Re: [cas-user] Fail to startup CAS after using LDAP bind
> > To: [email protected]
> > Date: Wednesday, July 22, 2009, 4:46 PM
> > Please reply with exception and stack
> > trace from catalina.out / catalina.log
> > / whatever the configured Tomcat log is.
> >
> >
> > On 7/22/09 1:08 AM, "Atefeh Hasibi" <[email protected]>
> > wrote:
> >
> > > Hi,
> > >
> > > I'm trying to get the CAS on windows quick setup guid
> > > (
> http://www.ja-sig.org/wiki/display/CASUM/CAS+on+Windows+Quick+Setup+Guide)
> > on
> > > Tomcat 6.0.20 and I get a SEVERE: Error filterStart,
> > in the log during
> > > startup, which causes CAS to fail to startup. I do not
> > use https and I did not
> > > have any SSL configuration and also I did not change
> > my web.xml cas filter. I
> > > just added a dependency to pom.xml:
> > >
> > > <dependency>
> > >   <groupId>${project.groupId}</groupId>
> > >   <artifactId>cas-server-support-ldap</artifactId>
> > >   <version>${project.version}</version>
> > > </dependency>
> > >
> > >
> > > and my deployerConfigContext.xml config is this:
> > >
> > >
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > >
> > > <beans xmlns="http://www.springframework.org/schema/beans";
> > >        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="authenticationManager"
> > >
> > class="org.jasig.cas.authentication.AuthenticationManagerImpl">
> > >
> > > <property
> > name="credentialsToPrincipalResolvers">
> > > <list>
> > >
> > > <bean
> > >
> >
> class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPri
> > > ncipalResolver" />
> > >
> > > <bean
> > >
> >
> class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPri
> > > ncipalResolver" />
> > > </list>
> > > </property>
> > >
> > > <property name="authenticationHandlers">
> > > <list>
> > >
> > > <bean
> > >
> >
> class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredential
> > > sAuthenticationHandler"
> > > p:httpClient-ref="httpClient" />
> > >
> > >
> > > <bean
> > class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler"
> > >
> > >   <property name="filter"
> > value="uid=%u,ou=system" />
> > >   <property name="contextSource"
> > ref="contextSource" />
> > > </bean>
> > >
> > >
> > >
> > > <bean id="contextSource"
> >
> >   class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
> > >   <property name="pooled"
> > value="true"/>
> > >   <property name="urls">
> > >     <list>
> > >
> >    <value>ldap://localhost:10389</value>
> > >     </list>
> > >   </property>
> > >   <property name="userName"
> > value="uid=admin,ou=system"/>
> > >   <property name="password"
> > value="secret"/>
> > >   <property
> > name="baseEnvironmentProperties">
> > >     <map>
> > >       <entry
> > key="java.naming.security.authentication" value="simple"
> > />
> > >     </map>
> > >   </property>
> > > </bean>
> > >
> > > </list>
> > > </property>
> > > </bean>
> > >
> > > <bean id="userDetailsService"
> > >
> > class="org.springframework.security.userdetails.memory.InMemoryDaoImpl">
> > > <property name="userMap">
> > > <value>
> > >
> > >    </value>
> > > </property>
> > > </bean>
> > >
> > >
> > > <bean id="attributeRepository"
> > >
> > class="org.jasig.services.persondir.support.StubPersonAttributeDao">
> > > <property name="backingMap">
> > > <map>
> > > <entry key="uid" value="uid" />
> > > <entry key="eduPersonAffiliation"
> > value="eduPersonAffiliation" />
> > > <entry key="groupMembership"
> > value="groupMembership" />
> > > </map>
> > > </property>
> > > </bean>
> > >
> > > <bean
> > > id="serviceRegistryDao"
> > >
> > class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl"
> > />
> > > </beans>
> > >
> > >
> > >
> > > I am using j2eesdk-1.4.03, jre 1.5.0 and CAS
> > server3.3.3.
> > > Any ideas?
> > >
> > > Regards,
> > > Atefeh Hasibi
> >
> > --
> > Andrew Feller, Business System Programmer
> > LSU University Information Services
> > 200 Frey Computing Services Center
> > Baton Rouge, LA 70803
> > Office: 225.578.3737
> > Fax: 225.578.6400
> >
> >
> >
> > --
> > You are currently subscribed to [email protected]
> > as: [email protected]
> > To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
> >
>
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to