Thank you for your reply. I have one more query, If cleanup activity 
initiated by one server then will other server get permision to insert 
record into TICKETGRANTINGTICKET and SERVICETICKET tables?

On Wednesday, July 26, 2017 at 4:59:38 PM UTC+5:30, robertoschwald wrote:
>
> A Scheduled Job runs on all nodes (normally DefaultTicketRegistryCleaner), 
> which obtains a lock using the underlying LockingStrategy (e.g.  
> JpaLockingStrategy), 
> and performs the ticket cleaning using the underlying TicketRegistry 
> implementation (e.g. JpaTicketRegistry).
> All other nodes running the TicketRegistryCleaner do not perform if the 
> lock is already obtained.
>
> See 
> https://github.com/apereo/cas/blob/d893011b344071ff983a3cda5d132d15c2f87c35/core/cas-server-core-tickets/src/main/java/org/apereo/cas/ticket/registry/DefaultTicketRegistryCleaner.java
>
>
> On Wednesday, July 26, 2017 at 1:17:54 PM UTC+2, shruti halgekar wrote:
>>
>>
>> Can anybody let me know, How ticket cleanup works in clustered CAS 
>> environment? We are using JPA Ticket Registry.
>>
>> Thank you in advance.
>>
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/cd583dc9-3317-44b4-96f4-1d0c13481807%40apereo.org.

Reply via email to