No need to copy EhcacheTicketRegistry.java from the wiki into overlay as the 
latest CAS includes that class. Probably the wiki needs to be updated.

Cheers,
Dmitriy.

On Apr 3, 2013, at 2:28 PM, Derek Lofstrom <[email protected]> wrote:

> Trying to follow the instructions for implementing EhCacheTicketReg at:
> https://wiki.jasig.org/display/CASUM/EhcacheTicketRegistry
> 
> They don't sound terribly confusing, but I can't for the life of me get 
> things to work. Using overlay to build the project. Essentially, my steps are:
> 
> 1) Include the ehcache-core and cas-server-integration-ehcache dependencies 
> to my custom pom.xml
> 2) Replace ticketRegistry.xml with the file included in the wiki
> 3) Copy EhcacheTicketRegistry.java and ehcache-replicated.xml from the wiki 
> to their respective locations
> 4) Build via maven.
> 
> When I do these steps exactly, I get the following compilation error:
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 
> (default-compile) on project cas-server-nesl: Compilation failure
> [ERROR] 
> /opt/jasig-cas/cas-server-nesl-ehcache/src/main/java/org/jasig/cas/ticket/registry/EhcacheTicketRegistry.java:[36,7]
>  org.jasig.cas.ticket.registry.EhcacheTicketRegistry is not abstract and does 
> not override abstract method needsCallback() in 
> org.jasig.cas.ticket.registry.AbstractDistributedTicketRegistry
> 
> I feel like I'm missing something terribly obvious here, but can't for the 
> life of me understand what (I'm not much of a developer). Of course, I Google 
> the error and get nothing, so I'm looking here for help :)
> 
> -Derek
> -- 
> 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