Time for action – deploying in GlassFish
You can get the latest community version Liferay GlassFish bundle from the download page of Liferay (http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.6/liferay-portal-glassfish-6.0.6-20110225.zip/download).
Next follow these steps to deploy Liferay with Glassfish:
Extract the zip file that you downloaded to the
bundles
folder (created earlier).We will call the extracted folder
LIFERAY_HOME
.There will be a
tomcat
folder insideLIFERAY_HOME
, which we will refer to asGLASSFISH_HOME
:By default, when we install GlassFish, a default domain named
domain1
is created. Our Liferay is inside this domain.So to start Liferay, navigate to
GLASSFISH_HOME/bin
from a command prompt.Issue the command
asadmin start-domain domain1
.Wait for the domain to start. After the domain is started, it takes some time to deploy the application for the first time.
You can check the log at
GLASSFISH_HOME/domains/domain1/logs/server.log
.You can also navigate to the...