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
说明:本文将告诉你,如何在Liferay 4.2.1(Windows/Tomcat)环境下,安装Alfresco Portlet
步骤:
          1.下载 Alfresco war包:http://downloads.sourceforge.net/lportal/liferay-portal-alfresco-4.2.1.war?download
          2.修改war包的文件为alfresco.war
          3.增加内存的最大值,否则将会报PermGen的内存错误
          4.编辑tomcat/bin/catalina.bat,你会看到类似下面的说明:
             SET JAVA_OPTS="-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.conf
             (如果是在Linux/Unix环境下面,则编辑catalina.sh )
             将上面的说明,改成:
             SET JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=$CATAL
             这样就可以增加分配给tomcat的内存
          5.启动tomcat
          6.布署alfresco.war
             1)使用Admin portlet ->Auto Deploy tool,点击浏览,找到本地的alfresco.war
             2)在tomcat后台,你可以看到布署portlet的信息。
7.alfresco portlet被载入后,你可以在你的页面添加alfresco的客户端和alfresco内容
疑难解答:
如果你直接把alfresco.war放到/tomcat/webapps下面,只有看到alfresco content而看不到客户端,请用Admin portlet去布署。