Hi, Based on the logs you sent me privately, I see a lot of ClassNotFoundException. I would recommend cleaning the whole cache (restart memcached) before upgrading the CAS server: old TGT may not be deserializable by the CAS server v4.1.
Thanks. Best regards, Jérôme 2015-10-23 11:04 GMT+02:00 Vincent Bonamy <[email protected]>: > I'm using kryo-3.0.2.jar and kryo-serializers-0.35.jar > > Actuallay this version comes with cas-server-integration-memcached 4.1.1 > (see dependency hierarchy in attachment). > > Thanks, > Vincent. > > > > On 23/10/2015 10:53, Jérôme LELEU wrote: > > Hi, > > > > Seeing this error: > > > "com.esotericsoftware.kryo.serializers.ObjectField.write(Lcom/esotericsoftware > > /kryo/io/Output;Ljava/lang/Object;)V", I would say that there is a > > version issue somewhere. What's the version of the Kryo library in your > > CAS server? > > > > Thanks. > > Best regards, > > Jérôme > > > > > > > > 2015-10-23 9:16 GMT+02:00 Vincent Bonamy <[email protected] > > <mailto:[email protected]>>: > > > > Using jmeter (I modified > > > https://github.com/Jasig/cas/blob/v4.1.1/etc/jmeter/tests/simpleCasLoginTest.jmx > > to add execution parameter so that it works), it seems I can now > > reproduce easily the issue with KryoTranscoder on my dev workstation > > CAS. > > > > I added a log line to have the stack trace (cf > > MemCacheTicketRegistry.java-error.diff). > > > > Please see attached the catalina.out. > > > > The same jmeter test without KryoTranscoder works well (without any > > errors). > > > > Thank you, > > Vincent. > > > > > > On 22/10/2015 18:29, Misagh Moayyed wrote: > > > OK. Do provide the logs please when you get the chance. > > > > > >> -----Original Message----- > > >> From: Vincent Bonamy [mailto:[email protected] > > <mailto:[email protected]>] > > >> Sent: Thursday, October 22, 2015 9:22 AM > > >> To: [email protected] <mailto:[email protected]> > > >> Subject: [cas-user] RE: [cas-user] CAS 4.1.1 and KryoTranscoder ? > > >> > > >> Actually , I logged in to a non proxied and a proxied app > > successfully > > >> just > > >> after the cas started. > > >> But because of the cpu charge (we switched on this new CAS for > > all our > > >> users > > >> at 13 o'clock today...), next the cas server couldn't answer > anymore > > >> quickly > > >> ... and it crashed. > > >> > > >> I didn't have time to check that I could log in all our proxied > > apps ... > > >> > > >> > > >> Le Jeudi 22 Octobre 2015 18:01 CEST, Misagh Moayyed > > <[email protected] <mailto:[email protected]>> > > >> a > > >> écrit: > > >> > > >>> It's probably an issue with PGTs. Can you log into a > > non-proxied app? > > >>> > > >>>> -----Original Message----- > > >>>> From: Vincent Bonamy [mailto:[email protected] > > <mailto:[email protected]>] > > >>>> Sent: Thursday, October 22, 2015 7:04 AM > > >>>> To: [email protected] <mailto:[email protected]> > > >>>> Subject: [cas-user] CAS 4.1.1 and KryoTranscoder ? > > >>>> > > >>>> Hi All, > > >>>> > > >>>> Today we tried to update our production CAS server on 4.1.1 > > version. > > >>>> But we failed and we went back to our 3.5.2.1 > > >>>> > > >>>> After starting, the CAS answered correctly and I logged in to > my > > >>>> webmail (proxy cas) successfully for example. > > >>>> > > >>>> But the CPU charge was 100% and we had errors like this (we > don't > > >>>> have the stack trace, I don't know why ...) : > > >>>> org.jasig.cas.ticket.registry.MemCacheTicketRegistry] - <Failed > > >>>> fetching > > >>>> > > [PGT-************************************************cEQOZjuIUV-cas. > > >>>> univ- > > >>>> rouen.fr <http://rouen.fr>, > > >>>> java.lang.RuntimeException: Exception waiting for v alue] > > > >>>> > > >>>> We also got a crash of the JVM (!) : > > >>>> """ > > >>>> # Problematic frame: > > >>>> # J > > >>>> > > com.esotericsoftware.kryo.serializers.ObjectField.write(Lcom/esoteri > > >>>> csoftware /kryo/io/Output;Ljava/lang/Object;)V > > >>>> """" > > >>>> > > >>>> We enabled some features on this CAS 4.1.1 - we set up > memcached > > >>>> like described on the doc - so we used kryoTranscoder : > > >>>> > http://jasig.github.io/cas/4.1.x/installation/Memcached-Ticket- > > >>>> Registry.html#object-serialization > > >>>> > > >>>> So I think we will retry to update our CAS on 4.1.1 in > production > > >>>> but without using this kryoTranscoder (on our 3.5.2.1 we're > using > > >>>> memcached without > > >>>> kryoTranscoder) > > >>>> > > >>>> Thanks for any ideas/advices about that. > > >>>> -- > > >>>> Vincent Bonamy > > >>>> Pôle SI > > >>>> Direction de l'informatique & > > >>>> des systèmes d'information > > >>>> Université de ROUEN > > >>>> > > >>>> -- > > >>>> You are currently subscribed to [email protected] > > <mailto:[email protected]> as: > > >>>> [email protected] <mailto:[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] > > <mailto:[email protected]> as: > > >>> [email protected] > > <mailto:[email protected]> To unsubscribe, change > > settings or access > > >>> archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user > > >> > > >> > > >> > > >> > > >> -- > > >> You are currently subscribed [email protected] <mailto: > [email protected]> as: > > >>[email protected] <mailto:[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] > > <mailto:[email protected]> as: [email protected] > > <mailto:[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 > -- 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
