-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Liferay Beginner's Guide

Next, follow these steps to configure Liferay with Tomcat:
Create a folder called Liferay
, which we will refer to as LIFERAY_HOME
from now on.
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
.
Create a folder called ext
inside TOMCAT_HOME/lib
. Extract the Portal Dependencies jars zip that you downloaded earlier to this ext
folder.
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.
Create a file called ROOT.xml
inside TOMCAT_HOME/conf/Catalina/localhost
. Add the following content inside ROOT.xml
:
<Context path=””> </Context>
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...
Change the font size
Change margin width
Change background colour