Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5079

Make publishing work using jetty distribution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.4
    • Component/s: Publishing

      Description

      Selenium tests show that some of the publishing selenium tests throw errors on a jetty distribution (see attached results and logs).

      Excerpt of error stack trace :

      Caused by: org.nuxeo.ecm.platform.publisher.rules.PublishingValidatorException: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.ClientException. message: Failed to get acp
      at org.nuxeo.ecm.platform.publisher.rules.DefaultValidatorsRule.computesValidatorsFor(DefaultValidatorsRule.java:56)
      at org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory.getValidatorsFor(AbstractBasePublishedDocumentFactory.java:116)
      at org.nuxeo.ecm.platform.publisher.jbpm.CoreProxyWithWorkflowFactory.restrictPermission(CoreProxyWithWorkflowFactory.java:130)
      at org.nuxeo.ecm.platform.publisher.jbpm.CoreProxyWithWorkflowFactory$DocumentPublisherUnrestricted.run(CoreProxyWithWorkflowFactory.java:551)
      at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:117)
      at org.nuxeo.ecm.platform.publisher.jbpm.CoreProxyWithWorkflowFactory.publishDocument(CoreProxyWithWorkflowFactory.java:103)
      at org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree.publish(AbstractBasePublicationTree.java:126)
      at org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree.publish(SectionPublicationTree.java:110)
      at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.publish(PublisherServiceImpl.java:375)
      at org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.publish(AbstractRemotableTree.java:77)
      at org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.publish(AbstractRemotableTree.java:71)
      at org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.doPublish(PublishActionsBean.java:169)
      at org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.doPublish(PublishActionsBean.java:159)
      at sun.reflect.GeneratedMethodAccessor1825.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
      at org.nuxeo.ecm.platform.publisher.web.PublishActionsBean_$$javassist_76.doPublish(PublishActionsBean$$_javassist_76.java)
      at sun.reflect.GeneratedMethodAccessor1824.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
      at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
      at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
      at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
      at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
      ... 59 more
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.ClientException. message: Failed to get acp
      at org.nuxeo.ecm.core.api.AbstractSession.getACP(AbstractSession.java:677)
      at org.nuxeo.ecm.platform.publisher.rules.DefaultValidatorsRule.computesValidatorsFor(DefaultValidatorsRule.java:54)
      ... 98 more
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: c403eb3e-aba0-4b63-8b78-ace50f14b52e
      at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:197)
      at org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:69)
      at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:465)
      at org.nuxeo.ecm.core.api.AbstractSession.getACP(AbstractSession.java:673)
      ... 99 more

        Attachments

        1. console.log
          172 kB
          Anahide Tchertchian
        2. result-suite2.html
          775 kB
          Anahide Tchertchian

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: