Liferay Portal 4.3 provides a portlet that allows the publication of Alfresco contents through the portal. Liferay's download page provides an Alfresco package prepared for deployment.
Download the Alfresco war file: http://downloads.sourceforge.net/lportal/liferay-portal-alfresco-4.3.0.war?download.
Rename the file to alfresco.war
.
Increase the maximum memory. If you do not do this you will get a PermGen memory error.
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 | |
---|---|
In Linux/UNIX, edit catalina.sh instead. The line should be the same but without the SET command at the beginning. |
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"
Startup Tomcat.
Log in as the administrator.
In the Plugin Installer Portlet, click on the Upload tab.
Click Browse and locate
the alfresco.war
file.
Click Deploy.
You can now add the Alfresco Client and Alfresco Content portlet to your page.