Payara 5.185 and kubernetes

36 views
Skip to first unread message

Carlos Salgado

unread,
Apr 19, 2018, 10:32:08 AM4/19/18
to Payara Forum
Hi,

Is there any tutorial on how to deploy a "Hello World" with Payara Server 5.185 and Kubernetes sharing session with Hazelcast?

I managed to make them see each other:


But the session is not shared and the options don't appear:


Do I have to activate anything to tell Payara to use the shared sessions?

Every time the service is balancing over the nodes, a new session is created

Ondro Mihályi

unread,
Apr 20, 2018, 2:47:33 PM4/20/18
to Carlos Salgado, Payara Forum
There's no tutorial for Payara 5 yet. There's a great guide for session replication on Payara 4 and Hazelcast, which should still be applicable: https://mjremijan.blogspot.cz/2017/04/high-availability-ha-session-replicated.html?m=1


You should turn on high availability in Payara Server.

You also need to access Payara Server via a load balancer which forwards session id in a cookie.



Dňa št 19. 4. 2018, 16:32 Carlos Salgado <carlos....@general-internet.org> napísal(a):
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/b952f450-8737-4d29-9f10-1460c10adb95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages