Foren

Alfresco 3.0.0 (Stable 1526) with Liferay 5.2.1

thumbnail
Snig Bhaumik, geändert vor 15 Jahren.

Alfresco 3.0.0 (Stable 1526) with Liferay 5.2.1

New Member Beiträge: 3 Beitrittsdatum: 17.07.08 Neueste Beiträge
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.
Duc Luu, geändert vor 14 Jahren.

RE: Alfresco 3.0.0 (Stable 1526) with Liferay 5.2.1

New Member Beitrag: 1 Beitrittsdatum: 31.07.09 Neueste Beiträge
Hello,

I have a similar problem. It occurs when I modify portlet.xml and add a portlet-settings element and deploy this portlet. Maybe it's also your portlet.xml file which contains a description element?

I guess this is a Liferay bug, since my modifications on portlet.xml should be correct with respect to the DTD and portlet specification.

Maybe someone from the Liferay development team has an idea?