Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Liferay Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)
close
close
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)

Overview of this book

Table of Contents (19 chapters)
close
close
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

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:

  1. Extract the zip file that you downloaded to the bundles folder (created earlier).

  2. We will call the extracted folder LIFERAY_HOME.

  3. There will be a tomcat folder inside LIFERAY_HOME, which we will refer to as GLASSFISH_HOME:

  4. By default, when we install GlassFish, a default domain named domain1 is created. Our Liferay is inside this domain.

  5. So to start Liferay, navigate to GLASSFISH_HOME/bin from a command prompt.

  6. Issue the command asadmin start-domain domain1.

  7. Wait for the domain to start. After the domain is started, it takes some time to deploy the application for the first time.

  8. You can check the log at GLASSFISH_HOME/domains/domain1/logs/server.log.

  9. You can also navigate to the...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY