I see the problem, I think. Had the 2.6.0 jars in there, don't ask why. Don't see the error yet, so that's a good sign.
Thanks for getting me pointed in the right direction. On , "Liedy, Jonathan" <[email protected]> wrote: > I am currently having an issue with the clearpass webapp piece where it's > dumping the 2.2.0 version of ehcache-core and that made it throw a few > weird issues > like what you're seeing. Check your WEB-INF/lib directory to make sure > you've got the 2.5.0 ehcache jars. > Jonathan Liedy > Middleware Administrator > The Florida State University > 2035 East Paul Dirac Drive > Sliger, Suite 113 > Tallahassee, FL 32310 > [email protected] > Voice: (850) 270-7368 > From: CHAD CAMPBELL [mailto:[email protected]] > Sent: Saturday, August 25, 2012 2:24 PM > To: [email protected] > Subject: [cas-user] cas-server-integration-ehcache issue > Hey guys, > I'm new to the maven war overlay process as well as ehcache, so forgive > me if I'm overlooking something simple here. > I've deployed CAS 3.5.0, configured for ldap, everything is working fine > there. I'm trying to implement ehcache to replicate the ticket registry. > Documentation on the wiki isn't up to current revision, but between those > docs, github, and one or two other cas-users > postings I thought I had it mostly figured out. I added the > cas-server-integration-ehcache dependency to pom.xml (below), edited the > ticketRegistry.xml config (first based on the wiki config, then based on > Andrew's config at > http://jasig.275507.n4.nabble.com/CAS-EHCache-Ticket-Registry-td278045.html), > > created > the classes:/ehcache.xml config file. > Now I'm getting the following error: > 2012-08-25 10:19:15,858 ERROR > [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.CannotLoadBeanClassException: Cannot > find class [org.jasig.cas.ticket.registry.EhCacheTicketRegistry] for bean > with name 'ticketRegistry' defined in ServletContext resource > [/WEB-INF/spring-configuration > /ticketRegistry.xml]; nested exception is > java.lang.ClassNotFoundException: > org.jasig.cas.ticket.registry.EhCacheTicketRegistry > >>> > Any ideas what I'm missing? I've been beating my head against it for a > few hours already, but I know it's something I'm just plain overlooking > (I'm guessing a maven oversight on my part). My ticketregistry.xml is > identical to the link above, and I'm using the > ehcache-replicated.xml config from the wiki. My pom.xml is pretty simple: > http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd "> > 4.0.0modelVersion> > edu.university.casgroupId> > local-casartifactId> > war > 1.0-Testing > maven-war-pluginartifactId> > 2.2 > cas > org.jasig.casgroupId> > cas-server-webapp/artifactId> > ${cas.version}version> > war > runtime > org.jasig.casgroupId> > cas-server-support-ldap > ${cas.version}version> > org.jasig.casgroupId> > cas-server-integration-ehcacheartifactId> > ${cas.version}version> > commons-poolgroupId> > commons-poolartifactId> > 1.6 > 3.5.0version> > ja-sig > http://oss.sonatype.org/content/repositories/releases/ > -- > 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
