Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Liferay Beginner's Guide

You're reading from   Liferay Beginner's Guide Quick and easy techniques to build, deploy, and maintain your own Liferay portal with this book and ebook

Arrow left icon
Product type Paperback
Published in Dec 2011
Publisher
ISBN-13 9781849517003
Length 396 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Planning Your Portal FREE CHAPTER 2. Installing a Liferay Portal Instance 3. Understanding Portal Basics and Theming 4. Tips and Tricks-Advanced Configuration 5. Building your First Liferay Site 6. Managing Pages, Users, and Permissions 7. Creating and Publishing Content 8. Exploring Communities 9. Setting up an Online Shop 10. Liferay Server Administration PayPal Test Account Configuration
Pop Quiz Answers Index

Time for action – deploying Liferay


Next, follow these steps to configure Liferay with Tomcat:

  1. Create a folder called Liferay, which we will refer to as LIFERAY_HOME from now on.

  2. Extract the Tomcat zip file you have downloaded earlier to LIFERAY_HOME. You should see a folder named apache-tomcat-6.0.33 inside LIFERAY_HOME. From now on this folder will be referred to as TOMCAT_HOME.

  3. Create a folder called ext inside TOMCAT_HOME/lib. Extract the Portal Dependencies jars zip that you downloaded earlier to this ext folder.

  4. Copy the jars like mysql.jar, jta.jar, and mail.jar inside the TOMCAT_HOME/lib folder, which has been provided to you in the code folder of this chapter.

  5. Create a file called ROOT.xml inside TOMCAT_HOME/conf/Catalina/localhost. Add the following content inside ROOT.xml:

    <Context path=””>
    </Context>
    
  6. Open the file TOMCAT_HOME/conf/catalina.properties and find a property called common.loader. Append ${catalina.home}/lib/ext/*.jar at the end as follows:

    common.loader=${catalina...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image