Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why

Enable/Disable auto-deploy #

In Administration console, click 'Domain' and select 'Applications Configuration' tab. There is 'Auto Deploy' checkbox.

Enable debugging in GlassFish #

Edit: glassfish-3.1.2\domains\domain1\config\domain.xml and add following lines:


certutil issue #

Problem in Glassfish 2.1.1 using certutil (instead of keytool): after installing it and startup, when trying to sign in Liferay throws this exception and can't get logged in:

com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: update() failed
    at Method)

it's a bug in JDK > 1.6.0_13:

Solution: change the's section on providers to be as follows:


(so: commented out SunPKCS, and put SunJCE at first, renumbered to match this sequence). Has succeeded with JDK 1.6.27 and 1.6.10.

Glassfish throws 'Class invariant violation' #

Following exception may happens:

Class invariant violation    at org.apache.log4j.LogManager.getLoggerRepository(

In any case, check if your "bundles\glassfish-3.1.1\domains\domain1\config\domain.xml" contains the following:       


Web console not working? #

If web console is not working after portal is deployed, with the following message in the log:

File "D:\liferay@git\bundles\glassfish-\lib\install\applications\__admingui\common\index.jsp" not found

Then just use the following url:

It will open the web console.

Keep generated JSP pages #

modify the file located in directory $Glassfish_Home/domains/domain1/config/default-web.xml 


Generated files are located here: glassfish-\domains\domain1\generated\jsp\liferay-portal\org ...

0 Attachments
Average (0 Votes)
The average rating is 0.0 stars out of 5.