Message Boards

change liferay home

Selva kumar, modified 7 Years ago.

change liferay home

Junior Member Posts: 39 Join Date: 7/23/15 Recent Posts
Hi

Am trying to install liferay in weblogic. Is it possible to change the liferay.home before liferay installation. I want the liferay.home to be separate folder not wrapping the domain folder
thumbnail
David H Nebinger, modified 7 Years ago.

RE: change liferay home

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Yes, set it as an environment variable for WL.
Selva kumar, modified 7 Years ago.

RE: change liferay home

Junior Member Posts: 39 Join Date: 7/23/15 Recent Posts
Great .. Thanks for the fast reply. let me try it.
Selva kumar, modified 7 Years ago.

RE: change liferay home

Junior Member Posts: 39 Join Date: 7/23/15 Recent Posts
Hi David

I have given the ENV property as -Dliferay.home=/opt/home/liferay_home. but it didnt worked, after installing the liferay home is referred to the folder one above the folder contains WAR.

any clue where i went wrong ?
thumbnail
David H Nebinger, modified 7 Years ago.

RE: change liferay home

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
That would point to your tomcat folder, definitely not standard (default Liferay is the parent folder, the one that contains the tomcat directory).

This indicates that you are specifying the LIFERAY_HOME somewhere else, possibly in your portal-ext.properties file of perhaps in the setenv.sh script for tomcat or the like.