Fórumok

changing /tmp/liferay directory location.

Nagaraju Satya Bandaru, módosítva 14 év-val korábban

changing /tmp/liferay directory location.

New Member Bejegyzések: 12 Csatlakozás dátuma: 2009.02.04. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: changing /tmp/liferay directory location.

Liferay Legend Bejegyzések: 6403 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: changing /tmp/liferay directory location.

Liferay Legend Bejegyzések: 2034 Csatlakozás dátuma: 2009.03.05. Legújabb bejegyzések
Try checking the JBOSS docs
thumbnail
Marco Ferretti, módosítva 12 év-val korábban

RE: changing /tmp/liferay directory location.

Regular Member Bejegyzések: 100 Csatlakozás dátuma: 2010.10.04. Legújabb bejegyzések
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, módosítva 12 év-val korábban

RE: changing /tmp/liferay directory location.

Liferay Legend Bejegyzések: 1519 Csatlakozás dátuma: 2006.08.07. Legújabb bejegyzések
Try adding -Djava.io.tmpdir=/mycustom/path to JVM arguments.