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

This article is about a legacy portlet. For Alfresco integration, see Alfresco Integration.

Introduction #

This page describes how to use Alfresco portlet integration with Liferay 4.2.1 in Windows/Tomcat. This does not apply to Liferay 4.3

Steps#

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

2. Rename file to alfresco.war

3. Increase the maximum memory, if you don't do this you will get a PermGen memory error

4. Edit tomcat/bin/catalina.bat You'll see a line that looks something similar this:

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

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

Edit it to be (increases 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"

5. Startup Tomcat

6. Deploy the alfresco.war

  • Using the Admin portlet -> Auto Deploy tool, click Browse and locate alfresco.war
  • You will see the portlet loading in the Tomcat console

7. After the Alfresco portlet has loaded, you could add the Alfresco Client and Alfresco Content to your page

Troubleshooting #

  • If you deploy by putting the war in /tomcat/webapps, only the Alfresco Content portlet will load. Use the Admin portlet to deploy.
0 Attachments
37187 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
Threaded Replies Author Date
Installation Guide link ... absar Mehmood November 11, 2008 1:00 AM

Installation Guide link
http://content.liferay.com/4.3/doc/installation/liferay%204%20installation%20gui­de/multipage/ch05s06.html is dead
Posted on 11/11/08 1:00 AM.