File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes MySQL Configuration on Liferay Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "MySQL Configuration on Liferay" Watch "MySQL Configuration on Liferay" New topic

MySQL Configuration on Liferay

Allan Cheong
Ranch Hand

Joined: Nov 12, 2009
Posts: 71

I've downloaded and extracted Liferay bundled with Tomcat 6. Started Tomcat with no issue. However, I decided to use MySQL for the database so I create the database lportal in MySQL and created the file in the root directory of Liferay.

This is the content of

Then I start the webserver again. I can see that tables and data are created in MySQL. But when http://localhost:8080 is opened, nothing is displayed. The page is white.

Tomcat console shows very long exceptions. How can I log this exception to a log file? And anyone knows what is causing this problem?

V N K Srujan Kollisetty

Joined: Jul 19, 2010
Posts: 2
C:\liferay\bundles\liferay-portal-tomcat-6.0-5.2.3\ This is the file need to be modified. Below properties need to be added in that file.


Srujan Kollisetty
I agree. Here's the link:
subject: MySQL Configuration on Liferay
It's not a secret anymore!