Liferay Clustering

I am trying to implement clustering in liferay 6.2 using the link below

https://www.liferay.com/en_GB/documentation/liferay-portal/6.2/user-guide/-/ai/liferay-clustering-liferay-portal-6-2-user-guide-20-en

I set the properties below on the liferay server portal-ext.propertiesand pointing both Liferay servers to the same database.

cluster.link.enabled=true

cluster.link.autodetect.address=localhost:3306

lucene.replicate.write=true

Now I added one portlet to the page from the first Liferay instance and accessed the same page from the Second Liferay instance (using the same user ID). I get the error " Invalid authentication Token". There seems to be a problem with session replication in the cluster but are not able to figure out how to solve this.

Seek help to find out what is going wrong.

Thanks at Advance.

+4
2

, ( ).

Liferay. Liferay "" node, Multicast ( ). , / , node, cluster.link.autodetect.address. Liferay , , ( ) , . , www.google.com:80 . localhost, Liferay node (-) , Liferay . .

Liferay Clustering , , (, tomcat - ). 95% , , . : Liferay ( : )

: " ": - - . , . CSRF. , . , , - IMHO.

+7

Application Server, Liferay. AS, .

Tomcat , :

Te , , , , - SimpleTcpCluster tomcat <distributable /> web.xmls -.

+3

Source: https://habr.com/ru/post/1547909/


All Articles