How to create a payara-micro and culterdeployment with different IP

23 views
Skip to first unread message

taymindis

unread,
Mar 4, 2017, 11:42:07 PM3/4/17
to Payara Forum
Our company planning to use payara-micro to develop a program for News Boards from every department with a structure shown as below:-


10.10.44.100:5900 - war:- cdi-sender - department Announcement
10.10.44.100:5901 - war:- cdi-sender - department Announcement

10.10.44.35:5900 -  war:- cdi-receiver -department A
10.10.44.35:5901 -  war:- cdi-receiver -department A
10.10.44.36:5900 -  war:- cdi-receiver -department B
10.10.44.36:5901 -  war:- cdi-receiver -department B
10.10.44.37:5900 -  war:- cdi-receiver -department C
10.10.44.37:5901 -  war:- cdi-receiver -department C
10.10.44.38:5900 -  war:- cdi-receiver -department D
10.10.44.38:5901 -  war:- cdi-receiver -department D
10.10.44.39:5900 -  war:- cdi-receiver -department E
10.10.44.39:5901 -  war:- cdi-receiver -department E


I wonder whether can achive in payaraserver ? or payaramicro

Harry Chan

unread,
Mar 5, 2017, 11:21:06 AM3/5/17
to Payara Forum
Is this article helpful to you? Beware that you still need a load balancer and you may have to check Hazelcast too.

Hope I don't get your question wrongly. Thank you.

Harry Chan

unread,
Mar 5, 2017, 11:23:38 AM3/5/17
to Payara Forum
Just found another article about using nginx as a load balancer of Payara

taymindis

unread,
Mar 5, 2017, 6:45:52 PM3/5/17
to Payara Forum
Hi Harry, thanks for suggestion. Is cdi event work on payara server?

If not, how to configure payara micro cluster with other instance which aside at other ip?

Mike Croft

unread,
Mar 6, 2017, 4:00:35 AM3/6/17
to Payara Forum
Hi taymindis,

From the 171 release of Payara Server, the CDI event bus has been present in the full profile edition of Payara Server. It is not currently available in the web profile edition of Payara Server.

This is because the Java EE web profile which Payara Server has inherited from GlassFish does not include JSR 236 (Concurrency utilities). Work on adding the CDI event bus to the web edition of Payara Server is ongoing, but not yet complete.

taymindis

unread,
Mar 6, 2017, 11:39:41 AM3/6/17
to Payara Forum
Hi Mike,

Noted, I will try full profile in cluster mode at payara full profile. Thanks ! 


Reply all
Reply to author
Forward
0 new messages