If you're using CAS 3.1 or higher, you'll need the cas-server-webapp POM to have a dependency on the artifactId "cas-server-legacycas" (gorupId org.jasig.cas). And then rebuild the WAR.
If you're using an older version of CAS, you'll want this JAR: http://developer.ja-sig.org/maven/cas/jars/cas-server-legacycas-3.0.5.jar Hope that helps -Scott On Nov 16, 2007 5:26 PM, Serge Bianda <[EMAIL PROTECTED]> wrote: > Which jar file are you referring to? It's been over two years since I > last worked on CAS and I can barely recall how I made it work back then. Are > you talking about the cas.jar file from CAS 2? If so I copied that file in > the WEB-INF/lib directory, then fired up tomcat and still got the same error > in the catalina.out log file. Any other suggestions? > > > > Thanks > > > > Serge > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Scott Battaglia > *Sent:* Friday, November 16, 2007 4:59 PM > *To:* Yale CAS mailing list > *Subject:* Re: CAS 2 Handlers to CAS 3 - Tomcat throwing errors at startup > - CAS3 not working > > > > You're not including the correct legacy jar in your WEB-INF/lib. > > You need to make sure the JAR containing those required classes are in > there. > > -Scott > > On Nov 16, 2007 3:36 PM, Serge Bianda < [EMAIL PROTECTED]> wrote: > > I adapted my CAS 2 handlers to CAS 3 using the instructions described in > this site : > http://www.ja-sig.org/wiki/display/CAS/Using+CAS2+PasswordHandlers+in+CA > S3<http://www.ja-sig.org/wiki/display/CAS/Using+CAS2+PasswordHandlers+in+CAS3> > > The built of CAS 3 was successful, but when I start tomcat, it throws > out errors (see log below) and CAS does not work (no login screen at > all). If you look at the log, you will notice the following entry which > I'm not sure how to resolve it. > > Issue one from the log: Error registering bean with name '' defined in > ServletContext resource [/WEB-INF/deployerConfigContext.xml] > Issue two from the log: Bean class > [org.jasig.cas.adaptors.LegacyPasswordHandlerAdaptorAuthenticationHandle > r] not found > > Any help will be much appreciated. > > > Thanks > > Serge > > > ------------------------- CATALINA.OUT LOG --------- > > > 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 '' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Bean class > [org.jasig.cas.adaptors.LegacyPasswordHandlerAdaptorAuthenticationHandle > r] not found; nested exception is java.lang.ClassNotFoundException: > org.jasig.cas.adaptors.LegacyPasswordHandlerAdaptorAuthenticationHandler > java.lang.ClassNotFoundException: > org.jasig.cas.adaptors.LegacyPasswordHandlerAdaptorAuthenticationHandler > _______________________________________________ > 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 > > -- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
