CAS 5.2.3 running on tomcat 9 and openjdk11

48 views
Skip to first unread message

Mr Rao

unread,
Dec 9, 2019, 9:14:59 PM12/9/19
to CAS Community
Hi,
I have deployed CAS 5.2.3 on tomcat 9 and running under open jdk 11 ( after recompiling my project  in java11) .

I started seeing performance issues with logout, ticket validation etc, this is happening occasionally. Is CAS 52.3 compatible with open jdk11?

I suspect the all async calls are running synchronously and blocking threads causing slowness..  Any ideas?


Thanks
Rao

Andy Ng

unread,
Dec 9, 2019, 9:42:38 PM12/9/19
to CAS Community
CAS 5.2.x don't really work well with Java 11.

To upgrade to Java 11, you will also need to upgrade CAS version to CAS 6.

- Andy

Chava

unread,
Dec 9, 2019, 11:16:46 PM12/9/19
to cas-...@apereo.org
Thanks,Andy for quick reply. Whats the dependency on java version? 

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0594563c-76ec-431d-a4ed-85a6b5d0adb7%40apereo.org.

Chava

unread,
Dec 9, 2019, 11:18:23 PM12/9/19
to cas-...@apereo.org
Also I see lot of changes in CAS 6.x which takes lot of time migrate. In QA environment we didnt see any issues so we moved to prod already and now we see issues.

Andy Ng

unread,
Dec 10, 2019, 12:38:43 AM12/10/19
to CAS Community
Hi Rao,

When we use our CAS 5.3.x and load with Java 11, it didn't even manage to startup... That why we stick to Java 8 for the moment.

Don't know why your CAS 5.2.x version work with Java 11 initially, perhaps you didn't use the module that have problem I assumed.

In any case, seems like going back to Java 8 is a safe option for you, see if other in this group agree.

Cheers!
- Andy

 


Chava

unread,
Dec 10, 2019, 1:14:32 AM12/10/19
to cas-...@apereo.org
Hi Andy,

I see  thread block time on org.thymeleaf.spring4.SpringTemplateEngine@22a4a47’  . It looks like CAS creates only one instance of it during initialization so I'm not sure why this one has thread contention.

Thanks


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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+u...@apereo.org.

Chava

unread,
Dec 11, 2019, 1:12:02 PM12/11/19
to cas-...@apereo.org
I just wanted every one know that’s Its a JDK 11.02 bug which is fixed in 11.05 .   All looks good after updating to 11.05.

 No responses from CAS main leaders which is a disappointment. I hope they can respond it as it’s related to compatibility question. 

Thank you Andy for your reply.  If you want I can send you changes I did to compile in java 11. 

Thanks
Rao

On Monday, December 9, 2019, Chava <chav...@gmail.com> wrote:
Hi Andy,

I see  thread block time on org.thymeleaf.spring4.SpringTemplateEngine@22a4a47’  . It looks like CAS creates only one instance of it during initialization so I'm not sure why this one has thread contention.

Thanks


On Mon, Dec 9, 2019 at 9:38 PM Andy Ng <lon...@gmail.com> wrote:
Hi Rao,

When we use our CAS 5.3.x and load with Java 11, it didn't even manage to startup... That why we stick to Java 8 for the moment.

Don't know why your CAS 5.2.x version work with Java 11 initially, perhaps you didn't use the module that have problem I assumed.

In any case, seems like going back to Java 8 is a safe option for you, see if other in this group agree.

Cheers!
- Andy

 


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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+unsubscribe@apereo.org.
Reply all
Reply to author
Forward
0 new messages