In brief, I did the following steps (based on the guide from video).
1) Edited catalina.properties in LIferay tomcat for shared.loader property to point to shared classes and library in which alfresco web-extension libraries locates. 2) Copied web-extension library to shared folder of Liferay tomcat. 3) Configured share-config-custom.xml in web-extension directory. 4) Copied share.war from Alfresco tomcat to depoly folder in Liferay tomcat. 5) Started Alfresco and Liferay tomcats.
I set up and add Share portlets successfully to Liferay. However, when I create a new account, log in to the portal and go to the Share portlet, I get the error message in Liferay logs like: "Unable to retrieve License information from Alfresco: 401". The portlet shows the message that I should log in via the portal.
What should I do to solve this?
Alfresco version is 4.0d community edition and Liferay is 6.1.0 community edition.