Re: CAS-SSO , Memcached-Repcached TGT replication issue

2015-11-11 Thread Said Ramli
Hi , 

It was about a bug into   net.spy.memcached.MemcachedNode.isActive() 

The first invocation of this method  just after shutting down the memcached 
server , returns true !!! 
and then the operation crach ...


Fixed by a workaround  solution..

BR

Le mercredi 4 novembre 2015 17:07:14 UTC, Said Ramli a écrit :
>
> Hello ,
>
> I'm running into a new issue with HA jasig Cas configuration :
>
> CAS 4.0.6
>
> cas-server-integration-memcached   4.0.6
> memecached : 1.4.13
> repcached : 2.3.1
>
> I have 2 memcached instances with repcached installation , when I test the 
> replication using telnet command line it looks like good in 2 directions , 
> but when I try to make everything up by connecting me to my CAS server , it 
> creates and add TGT ticket into one server succesfully , BUT the 
> replication to the other server is not performed !!!
>
> I still retrieve my TGT ticket in one server and I can't in the other one.
>
> Any help pleaze , I m blocked !
>
> Thx for advance.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MemCacheTicketRegistry getTicket Failed fetching => java.util.concurrent.CancellationException: Cancelled

2015-11-09 Thread Said Ramli
Hello , 

I'm testing a HA configuration of CAS SSO , using two master replicated 
memcached servers , but I'm running into a systematic Exception !!


here is my use cas : 

- I open an SSO session by logging me into a secured application 

- A TGT session ticket is created , stored and replicated into my memcached 
servers - I disable the memcached server in which one the TGT ticket was 
stocked at the beginning . 

- Now at this level , when my SSO server try to retrieve the TGT ticket , 
the bellow exception is thrown :




java.util.concurrent.CancellationException: Cancelled

at 
net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:177)

at net.spy.memcached.internal.GetFuture.get(GetFuture.java:69)

at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1230)

at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1257)



Any help please ? 

What is wrong in my configuration / steps ?

any proposal will be welcome :) 


thanks in advance.



CAS 4.0.6

memecached : 1.4.13
repcached : 2.3.1

cas-server-integration-memcached   4.0.6


memcached.hashAlgorithm=KETAMA_HASH

memcached.protocol=TEXT

memcached.locatorType=CONSISTENT

memcached.failureMode=Redistribute

memcached.opTimeout=2000

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CAS-SSO , Memcached-Repcached TGT replication issue

2015-11-04 Thread Said Ramli


Hello ,

I'm running into a new issue with HA jasig Cas configuration :

CAS 4.0.6

cas-server-integration-memcached   4.0.6
memecached : 1.4.13
repcached : 2.3.1

I have 2 memcached instances with repcached installation , when I test the 
replication using telnet command line it looks like good in 2 directions , 
but when I try to make everything up by connecting me to my CAS server , it 
creates and add TGT ticket into one server succesfully , BUT the 
replication to the other server is not performed !!!

I still retrieve my TGT ticket in one server and I can't in the other one.

Any help pleaze , I m blocked !

Thx for advance.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.