This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Alfresco Portlet
Table of Contents [-]
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.