Make publishing work using jetty distribution
---------------------------------------------

                 Key: NXP-5079
                 URL: https://jira.nuxeo.org/browse/NXP-5079
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.3.1
            Reporter: Anahide Tchertchian
             Fix For: 5.3.2


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to