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


1. Download the Alfresco war file:

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$CATALINA_HOME/conf/jaas.config"

Note: In Linux/UNIX edit 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$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
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Threaded Replies Author Date
Installation Guide link ... absar Mehmood November 11, 2008 1:00 AM

Installation Guide link­de/multipage/ch05s06.html is dead
Posted on 11/11/08 1:00 AM.