6. Alfresco

Liferay Portal 4.2 provides a portlet that allows the publication of Alfresco contents through the portal. Liferay's download page provides an Alfresco package prepared for deployment.

  1. Download the Alfresco war file: http://downloads.sourceforge.net/lportal/liferay-portal-alfresco-4.2.1.war?download.

  2. Rename the file to alfresco.war.

  3. Increase the maximum memory. If you do not do this you will get a PermGen memory error.

  4. Go to tomcat/bin/catalina.bat. Look for a line that looks similar to the following:

    SET JAVA_OPTS="-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config"
    
    [Note]Note

    In Linux/UNIX, edit catalina.sh instead. The line should be the same but without the SET command at the beginning.

  5. Edit to increase the memory size:

    SET JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.config"
    
  6. Startup Tomcat.

  7. Log in as the administrator.

  8. In the Admin Portlet, click on the Auto Deploy tab.

  9. Click Browse and locate the alfresco.war file.

  10. Click Deploy.

  11. You can now add the Alfresco Client and Alfresco Content portlet to your page.