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 archivos adjuntos
44805 Accesos
Promedio (0 Votos)
La valoración media es de 0.0 estrellas de 5.
Comentarios
Respuestas anidadas Autor Fecha
Installation Guide link ... absar Mehmood 11 de noviembre de 2008 1:00

Installation Guide link
http://content.liferay.com/4.3/doc/installation/liferay%204%20installation%20gui­de/multipage/ch05s06.html is dead
Publicado el día 11/11/08 1:00.