Fórum

<distributable />

Dana Oredson, modificado 12 Anos atrás.

<distributable />

Junior Member Postagens: 70 Data de Entrada: 14/10/08 Postagens Recentes
Why does liferay-portal.war not have <distributable /> in the web.xml?

I was trying to get my liferay installation clustered and have had trouble getting my session replicated between the loadbalanced instances. I created a simple war that just output the session id, and that is working.

However, when I tried to do the same for liferay, it was not replicating the session. Finally, I cracked the war and looked at the web.xml and it does not have <distributable />, therefore it will not get replicated sessions.

Is no one using clustered Liferay instances??
thumbnail
Juan Gonzalez P, modificado 12 Anos atrás.

RE: <distributable />

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Dana Oredson:
Why does liferay-portal.war not have <distributable /> in the web.xml?

I was trying to get my liferay installation clustered and have had trouble getting my session replicated between the loadbalanced instances. I created a simple war that just output the session id, and that is working.

However, when I tried to do the same for liferay, it was not replicating the session. Finally, I cracked the war and looked at the web.xml and it does not have <distributable />, therefore it will not get replicated sessions.

Is no one using clustered Liferay instances??


Dana, that you said is necessary for getting Liferay work for session replication. I had to do that in our production environment too. Don't know the reason why isn't added to web.xml by default.
thumbnail
Sachin Joshi, modificado 11 Anos atrás.

RE: <distributable />

New Member Mensagem: 1 Data de Entrada: 23/03/12 Postagens Recentes
I am also working with the support staff on the same issue. This is going to cause a lot of unwanted issues in future upgrades etc management.

Adding distributable tag in web.xml does not really harm the servers that do not support session replication. I do not see any reason why this war is not bundled with default setting.

We are using 6.1GA LR Enterprise edition on GF3 cluster.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: <distributable />

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
It's written in the wiki to add <distributable /> so I don't think it's really that much of a problem.

http://www.liferay.com/community/wiki/-/wiki/Main/High+Availability+Guide