Monday, April 6, 2009

Liferay 5.2.2 : How to setup username and password with 'test'.

Why did you failed to sign in as usual (
In Liferay 5.1.2 you can login as and the default password also 'test'.

For the newest version that is Liferay 5.2.2, the current username is and password is 'bruno'. However, we can still manipulate this data to login as and its password as 'test'. How?

First, we must edit file (C:\liferay\tomcat\webapps\ROOT\WEB-INF\classes). If the file not exist, just create it by using write editor (example: notepad), and save it as ''. Inside this file, you must put these values.

locales=en_US, ms_MY
# the term of language can be set as your own.

#this id also can be renamed or just keep it as In my case, I will use the domain name as, but the username and passwoord remain as 'test'.

#after /localhost, you can use any database name. And all data will be populated in your database.

#this is the username and pasword to access your mysql database.

How to customise your page? That means we dislike to see previous works from 7cogs.
Ok, just remove folder sevencogs-hook in the webapss. (C:\liferay\tomcat\webapps).
Restart your liferay server. (statrup.bat / – depend on your system platform.)

Then your page will be like this. See figure below.

Still have problem with Sevencog Theme?