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

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

http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3

Thanks,
Mike

lakshya
Champ in-the-making
Champ in-the-making
Thanks Mike,
I had already gone thru this, but i am facing errors related to Hibernate.
http://forums.alfresco.com/en/viewtopic.php?f=9&t=16879#p56891

Does Integration of Liferay 5.2.1 and Alfresco 3.0 need any change in hibernate files also.

mikeh
Star Contributor
Star Contributor
I believe a check-in was made on HEAD to fix that issue on 23rd Feb. Could you try with that please?

Thanks,
Mike

snig
Champ in-the-making
Champ in-the-making
Thanks Mike.
Anybody tried what Mike suggested here? Any success?

enielsen
Champ in-the-making
Champ in-the-making
Yes, I'm interested if anyone has experienced the same issue with Alfresco 3.0.0 and Liferay 5.2.2 and had success in fixing this issue.  What finally worked?

From Mike's response, it seems a fix was applied in HEAD awhile back - did this find its way into 3.2 preview #1?

Many thanks

Eric