AnsweredAssumed Answered

Unable to run Alfresco portlets

Question asked by shobana on Jul 13, 2009
Latest reply on Jul 14, 2009 by openpj
Hi,

I am trying to run Alfresco portlets in a portal server based on liferay. I followed these steps

1. Checked-out latest Alfresco source code and generated a war file
2. Introduced deployment descriptors for my app server for making Alfresco run on my app server
3. Followed the steps mentioned here - http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3


The Issue -
Whereas I am able to run Alfresco 2.9 as portletets, with the latest version of source code I am getting the following exception

ERROR com.liferay.portal.deploy.hot.PortletHotDeployListener - java.lang.ClassCastException: org.springframework.beans.factory.BeanCreationException cannot be cast to org.springframework.web.context.WebApplicationContext
java.lang.ClassCastException: org.springframework.beans.factory.BeanCreationException cannot be cast to org.springframework.web.context.WebApplicationContext
        at org.alfresco.web.scripts.portlet.WebScriptPortlet.init(WebScriptPortlet.java:85)
        at com.liferay.portlet.InvokerPortletImpl.init(InvokerPortletImpl.java:250)
…. truncated …

Any ideas what I am doing wrong here? I tried changing jdk versions, that did not work.
Just to recheck, I tried deploying version 2.9 and it worked.
Has there been any major change that would invalidate the steps mentioned in the wiki - http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3 ?

Thanks in advance

Outcomes