AnsweredAssumed Answered

Share Portlet In Liferay

Question asked by yellowpoint on Jul 22, 2010
Latest reply on Nov 26, 2010 by ricvieira
Im trying to get the example Share portlet to work in Liferay but its not happening. I've followed this blog post on how to do it. I am using Alfresco CE 3.3G and Liferay 6.0.3 (in separate tomcat instances running at different ports).

I followed all the steps outlined in that post exactly except for the one about remote authenticator(step 6). For some reason, Share doesn't pick up webscript-framework-config-custom.xml so instead I put the remote authenticator definition in share-config-custom.xml:

<config evaluator="string-compare" condition="Remote">

            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>

            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication</description>

            <name>Alfresco Connector</name>
            <description>Connects to an Alfresco instance using cookie-based authentication</description>

            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>

When I add the portlet in liferay, I get this in the log and there are no exceptions:
DEBUG [web.portlet.ProxyPortlet] Processing portal render request http://localhost:9090//share (scriptUrl=/share/service/sample/cmis/repo)

However, there's nothing displayed in the portlet except for:
The requested resource (/share/service/sample/cmis/repo) is not available

Has anybody got this to work with Liferay 6.0.3? Thanks.