cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.0.0 (Stable 1526) with Liferay 5.2.1

snig
Champ in-the-making
Champ in-the-making
Hello

We had earlier successfully integrated and worked on Liferay 5.1.1 and Alfresaco 3.0
However, while deploying Alfresco 3.0.0 (Stable 1526) in Liferay 5.2.1 at least a couple of errors are being generated.

Error While deploying Alfresco portlets in Liferay

09:42:44,015 ERROR [PortletLocalServiceImpl:494] com.liferay.portal.kernel.xml.DocumentException: Error on line 27 of document  : cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':display-name, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':portlet-class}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':display-name, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':portlet-class}' is expected.
com.liferay.portal.kernel.xml.DocumentException: Error on line 27 of document  : cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':display-name, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':portlet-class}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.
xsd":display-name, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd':portlet-class}' is expected.
        at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:377)
        at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:388)


Error whole trying top open Alfresco application

09:43:22,844  ERROR [transaction.SpringAwareUserTransaction.trace] Detected first UserTransaction which is being garbage collected without a commit() or rollback()
09:43:22,844  ERROR [transaction.SpringAwareUserTransaction.trace] Logging of transaction call stack is now enabled and will affect performance
09:45:10,361  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback().
   Started at:
      org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:389)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:140)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
      com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:78)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)
      com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:78)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

Any ideas?

Thanks in advance.
14 REPLIES 14

snig
Champ in-the-making
Champ in-the-making
BTW, I have already tried replacing the hibernate jar as in
http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2047242

Doesn't work!!!

amer
Champ in-the-making
Champ in-the-making
This is going to sound very rude and out of place , with that said …

HELP !!! I can't get Alfresco 3.0 Stable to run with liferay 5.1.1 .. I tried everything, please tell me how you got it working and I promise I'll figure out your problem in the recent future and help you out with it !!

I tried everything, went to all the posts, this one was promising : http://www.optaros.com/blogs/running-alfresco-web-scripts-liferay-portlets , it didn't work, I tried this one too : http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3
and the end result is that I couldn't find a Alfresco 2.1 WAR file anywhere even in sourceforge.

I bought the liferay book but there is NOTHING in it about deploying the alfresco.war file, only the alfresco content and the alfresco portlet, not the whole thing.

Please help, of all the posts I read yours was the only one with 'We had earlier successfully integrated and worked on Liferay 5.1.1 and Alfresaco 3.0' in it. PLEASE !!!

mrojas73
Champ in-the-making
Champ in-the-making
I am interested in a good step by step guide also.  I was going to try this but it is for an older version of Alfresco and life ray but it might work.  Here is the link http://content.liferay.com/4.0.0/flash/tutorials/alfresco.swf

mikeh
Star Contributor
Star Contributor
The wiki article was updated recently with new links to Liferay files. Please test with these and feed-back.

Thanks,
Mike

snig
Champ in-the-making
Champ in-the-making
Amer,

Can you post here what exactly the problem you are facing in integrating Alfresco 3.0 with Liferay 5.1.1
Then probably I can try to help you…

Snig.

jcuzcano
Champ in-the-making
Champ in-the-making
hi

I have integrate Alfresco Community 3.0.0 with Liferay 5.2.0, I have an user "test" in liferay and other in alfresco, then when enter to liferay with my user test and add alfresco portlet, alfresco not recognize my user test, and show Login (guest), my log is :

21:21:58,972 User:guest ERROR [[localhost].[/alfresco].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
        at org.alfresco.web.ui.common.Utils.getUserAgent(Utils.java:1024)
        at org.alfresco.web.ui.common.component.data.UIDataPager.encodeBegin(UIDataPager.java:123)
        at org.alfresco.web.ui.common.Utils.encodeRecursive(Utils.java:155)
        at org.alfresco.web.ui.common.renderer.data.RichListRenderer$IconViewRenderer.renderListAfter(RichListRenderer.java:679)
        at org.alfresco.web.ui.common.renderer.data.RichListRenderer.encodeChildren(RichListRenderer.java:133)
        at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:527)
        at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:483)
        at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:364)
        at org.apache.jsp.jsp.browse.browse_jsp._jspx_meth_a_005frichList_005f0(browse_jsp.java:2435)
        at org.apache.jsp.jsp.browse.browse_jsp._jspx_meth_a_005fpanel_005f5(browse_jsp.java:2334)
        at org.apache.jsp.jsp.browse.browse_jsp._jspService(browse_jsp.java:844)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

because in the first line show User : guest ?

by other side, in jira https://issues.alfresco.com/jira/browse/ETHREEOH-1170 of alfresco I see this issue, is possible download this fix?

thanks a lot

snig
Champ in-the-making
Champ in-the-making
Even I havn't fuly understood your issue, but let me try this…

Create a user in alfresco with username same as the User Id of test user in liferay. Then try to login into liferay with test user and use the alfresco portlets…

snig
Champ in-the-making
Champ in-the-making
Going into my original post… nobody there?

Anybody has done successful integration of these? Or this problem probably not been faced by anybody?

lakshya
Champ in-the-making
Champ in-the-making
Can anybody provide the steps to follow for integration Liferay 5.2.1 and Alfresco 3.0

While clicking on Company Home of Alfresco Portlet, I am getting following error :

11:54:24,925 ERROR [[jsp]:711] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: ServletException in '/html/common/themes/portlet.jsp': javax.servlet
.jsp.JspException: Could not open Hibernate Session for transaction; nested exception is java.lang.I
llegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class lo
ader
        at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
        at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2694)
        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:810)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePor
tletUtil.java:170)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePor
tletUtil.java:90)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePor


Please provide the solution for this.

Regards.