Fórum

changing /tmp/liferay directory location.

Nagaraju Satya Bandaru, modificado 14 Anos atrás.

changing /tmp/liferay directory location.

New Member Postagens: 12 Data de Entrada: 04/02/09 Postagens Recentes
Hi,

Each liferay 5.2.3 + jboss creates a directory /tmp/liferay on a linux machine. I would like to run two instances of Liferay 5.2.3 portal server. So i want to change the location of above directory for each of my liferay instances. I would appreciate if anybody can suggest me how to do that by configuring it in liferay bundle.

Regards,
Nagaraju Bandaru.
thumbnail
Olaf Kock, modificado 14 Anos atrás.

RE: changing /tmp/liferay directory location.

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
This seems to be a JBoss issue. I run the tomcat bundle and have no such directory in /tmp. (Therefor I can't really help other than suggesting to also look for help in the JBoss community. Sorry)
thumbnail
Lisa Simpson, modificado 14 Anos atrás.

RE: changing /tmp/liferay directory location.

Liferay Legend Postagens: 2034 Data de Entrada: 05/03/09 Postagens Recentes
Try checking the JBOSS docs
thumbnail
Marco Ferretti, modificado 12 Anos atrás.

RE: changing /tmp/liferay directory location.

Regular Member Postagens: 100 Data de Entrada: 04/10/10 Postagens Recentes
Lisa Simpson:
Try checking the JBOSS docs



Definitely not a JBOSS issue : I have the same wth Glassfish and Tomcat on Linux ( tested in Ubuntu and CentOS ) running Liferay 5.2.3 .

The problem comes in when you try to run multiple instances of Liferay's (+servlet container ) on different users.

AFAIK http://issues.liferay.com/browse/LPS-2039?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel looks like the issue was resolved in Liferay 5.2.1 ( by creating a random name rather than /tmp/liferay ) but either the patch was not released for the community or got lost in 5.2.3
thumbnail
Mika Koivisto, modificado 12 Anos atrás.

RE: changing /tmp/liferay directory location.

Liferay Legend Postagens: 1519 Data de Entrada: 07/08/06 Postagens Recentes
Try adding -Djava.io.tmpdir=/mycustom/path to JVM arguments.