Many thanks friend, I'll check it out on monday at work and let you know. Cheers.
2012/7/20 Dmitriy Kopylenko <dmitriy.kopyle...@gmail.com> > It has to do with the new monitor framework - ehcache ticket registry is > not supported at the moment. Just comment out the ticket registry monitor > bean at the end of deployerConfigContext.xml > > Cheers, > Dmitriy. > > Sent from my iPhone > > On Jul 20, 2012, at 8:24, "Andres" <afolg...@gmail.com> wrote: > > > Hi all, > > > > I'm trying to deploy a new CAS 3.5 installation. I need ticket > replication in a 2 node cluster, and I chose EhCache for that because it > doesn't need any external server to work. > > > > I managed to get it working following the documentation, so my ticket > registry looks like this: > > > > <bean id="ticketRegistry" > class="org.jasig.cas.ticket.registry.EhCacheTicketRegistry"> > > <property name="ticketGrantingTicketsCache" > ref="ticketGrantingTicketsCache" /> > > <property name="serviceTicketsCache" ref="serviceTicketsCache" /> > > </bean> > > > > I also need clearPass, so my next step was to follow the documentation > again to implement it. In the end, the previous code looks like this: > > > > <bean id="ticketRegistryValue" > class="org.jasig.cas.ticket.registry.EhCacheTicketRegistry"> > > <property name="ticketGrantingTicketsCache" > ref="ticketGrantingTicketsCache" /> > > <property name="serviceTicketsCache" ref="serviceTicketsCache" /> > > </bean> > > > > And the ticketRegistry bean placed at clearpass-configuration.xml is: > > <bean id="ticketRegistry" > class="org.jasig.cas.extension.clearpass.TicketRegistryDecorator"> > > <constructor-arg index="0" ref="ticketRegistryValue"/> > > <constructor-arg index="1" ref="credentialsCache"/> > > </bean> > > > > However the two things doesn't work well together. The error I get is: > > > > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'ticketRegistry' defined in ServletContext resource > [/WEB-INF/spring-configuration/clearpass-configuration.xml]: Instantiation > of bean failed; nested exception is > org.springframework.beans.BeanInstantiationException: Could not instantiate > bean class [org.jasig.cas.extension.clearpass.TicketRegistryDecorator]: > Constructor threw exception; nested exception is > java.lang.ClassCastException: > org.jasig.cas.ticket.registry.EhCacheTicketRegistry cannot be cast to > org.jasig.cas.monitor.TicketRegistryState > > > > Any idea? > > > > Thanks in advance. > > -- > > You are currently subscribed to cas-user@lists.jasig.org as: > dmitriy.kopyle...@gmail.com > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to cas-user@lists.jasig.org as: > afolg...@gmail.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user