cancel
Showing results for 
Search instead for 
Did you mean: 

3.4.b integrate with Liferay Portlets

dblessing
Champ in-the-making
Champ in-the-making
I cannot seem to get the Alfresco portlets to work in Liferay.  I am using Alfresco Community version 3.4.b and Liferay 6 (I have also tried Liferay 5.x with exact same results)

I have followed all kinds of instructions, but the latest one I was trying was here: http://wiki.alfresco.com/wiki/Doclib_Portlet
I am attempting this all on the same server running in one instance of Tomcat.

I says to add the endpoint configurations to share-config-custom.xml (I did exactly as shown in the wiki) and to add the authentication elements to alfresco-global.properties (the auth elements shown in that wiki page are slightly wrong, but I didn't type them like that).  I used:

authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external
external.authentication.proxyUserName=

Liferay and Alfresco all start up fine, with no errors in the logs.  The portlets deploy successfully and are available to be added to Liferay pages.  I also know it's communicating with my Alfresco server, because if you add the portlets to the front page of Liferay and aren't logged in, it displays a splash page that says Please login to your portal, or something like that.  The error occurs when I login to Liferay.  The portlets all display "Porlet is unavailable at this time" and the logs show:
04:16:49,670 ERROR [jsp:154] org.springframework.extensions.surf.exception.UserFactoryException: Unable to retrieve user from repository

I'm guessing that either my endpoints are correct, or I'm missing some little configuration.  My endpoints all reference localhost:8080 as that is where my Alfresco is deployed.

Can anyone offer me some help?  If you need more information or more from logs, please let me know.  It would be amazing to finally figure out what I'm doing wrong.
21 REPLIES 21

excitedbynoise
Champ in-the-making
Champ in-the-making
Thanks for the help on this thread. I've been looking at the page source to try and get rid of the little white bars that outline the selected page in the navigation bar(classic theme, LR 6.0.5). I'm not a CSS guru, so I'm not exactly sure what firebug is telling me. I can't determine if it the problem is with the Liferay theme style sheet or the Alfresco CSS file.

excitedbynoise
Champ in-the-making
Champ in-the-making
Just wanted to bump this. I assume the formatting change with this portlet is a side effect of YUI resets. I just don't know enough CSS to fix it. The above change corrected the centering issue, but the fonts in navigation bar are still changing sizes.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.