Foros de discusión

changing /tmp/liferay directory location.

Nagaraju Satya Bandaru, modificado hace 14 años.

changing /tmp/liferay directory location.

New Member Mensajes: 12 Fecha de incorporación: 4/02/09 Mensajes recientes
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 hace 14 años.

RE: changing /tmp/liferay directory location.

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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 hace 14 años.

RE: changing /tmp/liferay directory location.

Liferay Legend Mensajes: 2034 Fecha de incorporación: 5/03/09 Mensajes recientes
Try checking the JBOSS docs
thumbnail
Marco Ferretti, modificado hace 12 años.

RE: changing /tmp/liferay directory location.

Regular Member Mensajes: 100 Fecha de incorporación: 4/10/10 Mensajes recientes
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 hace 12 años.

RE: changing /tmp/liferay directory location.

Liferay Legend Mensajes: 1519 Fecha de incorporación: 7/08/06 Mensajes recientes
Try adding -Djava.io.tmpdir=/mycustom/path to JVM arguments.