Nuxeo 5.3 - Publication tree is not currently available

View: New views
7 Messages — Rating Filter:   Alert me  

Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am testing some plugins that we have working in the 5.2 version, with the new 5.3 version. I am experiencing a few issues one of which is that it is not possible to publish documents.

The content tree has a SectionRoot with an inner Section and then some Folders and the personal workspaces. The Publish tab shows always an empty combobox of local sections and a message below: "Publication tree is not currently available". There are no exceptions in the server log.

Any clue about what might be happening?


Cheers.
--
Posted by "jiyarza" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8632>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you change the default content template contribution? Is your SectionRoot still named 'sections'?
Something like:
/your-domain/sections/your-section

If it's not the case, you need to redefine the default Publication Tree through the following contribution:

<extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="treeInstance">

    <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree"
                           factory="CoreProxyWithWorkflow" localSectionTree="true"
                           title="label.publication.tree.local.sections">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/your-sections-root</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>
--
Posted by "troger" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8633>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have got different results in different environments:

In my development environment (Ubuntu + Nuxeo 5.3.0-RC1 with derby) it worked.

In our integration environment (CENT-OS + Nuxeo 5.3.0-RC1 with PostgreSQL it does not work.


Here is the full contrib:


<?xml version="1.0"?>
<component name="org.orange.crdpp.content.template">

        <require>org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib</require>
        <require>org.nuxeo.ecm.platform.publisher.contrib</require>

        <extension target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService" point="factoryBinding">

            <factoryBinding name="RootFactory" factoryName="SimpleTemplateFactory" targetType="Root">
              <acl>
                <ace principal="Administrator" permission="Everything" granted="true"/>
                <ace principal="administrators" permission="Everything" granted="true"/>
                <ace principal="members" permission="Read" granted="true"/>        
              </acl>
              <template>
                <templateItem typeName="Domain" id="default-domain" title="CRDPP" description="CRDPP Domain"/>
              </template>
            </factoryBinding>
       
                <factoryBinding name="DomainFactory" factoryName="SimpleTemplateFactory" targetType="Domain">
                        <template>
                                <templateItem typeName="SectionRoot" id="library" title="Library" description="Library" />
                            <templateItem typeName="DeviceRoot" id="devices" title="Devices" description="Devices"/>
                        </template>
                </factoryBinding>


                <factoryBinding name="LibraryFactory" factoryName="SimpleTemplateFactory" targetType="SectionRoot">
                  <acl>
            <ace principal="members" permission="Read" granted="true"/>
        <ace principal="members" permission="Version" granted="true"/>
          </acl>
                </factoryBinding>
               
                <factoryBinding name="DevicesFactory" factoryName="SimpleTemplateFactory" targetType="DeviceRoot">
                  <acl>
            <ace principal="members" permission="Read" granted="false"/>
        <ace principal="members" permission="Version" granted="false"/>
          </acl>
                </factoryBinding>
               
        </extension>
       
        <extension target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl" point="treeInstance">
                <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree" factory="CoreProxyWithWorkflow" localSectionTree="true"
                        title="label.publication.tree.local.sections">
                        <parameters>
                            <!--<parameter name="RootPath">/default-domain/library</parameter> -->
                                <parameter name="RelativeRootPath">/library</parameter>
                                <parameter name="enableSnapshot">true</parameter>
                                <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
                                <parameter name="iconCollapsed">/icons/folder.gif</parameter>
                        </parameters>
                </publicationTreeConfig>
        </extension>

</component>



Thanks  for the help.
--
Posted by "jiyarza" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8640>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have any error in your integration environment?
--
Posted by "troger" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8641>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is not any error starting nuxeo neither when creating the domain or the documents.

In server.log, the only thing that catches my attention is the component deployment order (my 3 plugins are named orange-*), maybe some of my contribs are being overriden (such as the default theme or the publish part in the content template?:

     nxsqldirectory-ds.xml
     nxwebwidgets-ds.xml
     nxuidsequencer-ds.xml
     nxaudit-logs-ds.xml
     jboss-service.xml
     nuxeo-runtime-osgi-1.6.0-RC1.jar
     core-events-service.xml
     nxplaceful-ds.xml
     core-events-ds.xml
     nxtags-ds.xml
     default-repository-ds.xml
     unified-nuxeo-ds.xml
     nxworkflow-jbpm-ds.xml
     nxrelations-default-jena-ds.xml
     nxcomment-jena-ds.xml
     nuxeo-platform-lang-5.3.0-RC1.jar
     nuxeo-runtime-1.6.0-RC1.jar
     nuxeo-opensocial-container-space-config-5.3.0-RC1.jar
     nuxeo-platform-relations-api-5.3.0-RC1.jar
     nuxeo-core-persistence-1.6.0-RC1.jar
     nuxeo-platform-relations-core-5.3.0-RC1.jar
     nuxeo-platform-annotations-core-contrib-5.3.0-RC1.jar
     nuxeo-opensocial-features-5.3.0-RC1.jar
     nuxeo-theme-core-5.3.0-RC1.jar
     nuxeo-theme-fragments-5.3.0-RC1.jar
     nuxeo-platform-userworkspace-types-5.3.0-RC1.jar
     nuxeo-platform-webapp-5.3.0-RC1.jar
     nuxeo-runtime-jboss-adapter-1.6.0-RC1.sar
     nuxeo-theme-html-5.3.0-RC1.jar
     nuxeo-platform-forum-api-5.3.0-RC1.jar
     nuxeo-core-schema-1.6.0-RC1.jar
     nuxeo-platform-comment-core-5.3.0-RC1.jar
     nuxeo-platform-forms-layout-api-5.3.0-RC1.jar
     nuxeo-platform-relations-jena-plugin-5.3.0-RC1.jar
     nuxeo-platform-login-oauth-5.3.0-RC1.jar
     nuxeo-platform-commandline-executor-5.3.0-RC1.jar
     nuxeo-runtime-management-1.6.0-RC1.jar
     nuxeo-opensocial-gadgets-core-5.3.0-RC1.jar
     nuxeo-opensocial-gadgets-5.3.0-RC1.jar
     nuxeo-core-api-1.6.0-RC1.jar
     nuxeo-platform-versioning-api-5.3.0-RC1.jar
     nuxeo-platform-jbpm-api-5.3.0-RC1.jar
     nuxeo-platform-jbpm-web-5.3.0-RC1.jar
     nuxeo-platform-relations-facade-5.3.0-RC1.jar
     nuxeo-platform-usermanager-api-5.3.0-RC1.jar
     nuxeo-opensocial-server-5.3.0-RC1.jar
     nuxeo-platform-directory-api-5.3.0-RC1.jar
     nuxeo-platform-directory-web-5.3.0-RC1.jar
     nuxeo-platform-imaging-api-5.3.0-RC1.jar
     nuxeo-platform-actions-core-5.3.0-RC1.jar
     nuxeo-core-event-1.6.0-RC1.jar
     nuxeo-platform-usermanager-core-5.3.0-RC1.jar
     nuxeo-platform-usermanager-facade-5.3.0-RC1.jar
     nuxeo-platform-jbpm-core-5.3.0-RC1.jar
     nuxeo-platform-default-config-5.3.0-RC1.jar
     nuxeo-platform-userworkspace-api-5.3.0-RC1.jar
     nuxeo-platform-directory-types-contrib-5.3.0-RC1.jar
     nuxeo-platform-directory-core-5.3.0-RC1.jar
     nuxeo-platform-directory-facade-5.3.0-RC1.jar
     nuxeo-platform-directory-ldap-5.3.0-RC1.jar
     nuxeo-platform-directory-sql-5.3.0-RC1.jar
     nuxeo-platform-relations-default-config-5.3.0-RC1.jar
     nuxeo-platform-userworkspace-core-5.3.0-RC1.jar
     nuxeo-platform-userworkspace-facade-5.3.0-RC1.jar
     nuxeo-platform-mimetype-api-5.3.0-RC1.jar
     nuxeo-platform-el-5.3.0-RC1.jar
     nuxeo-platform-versioning-core-5.3.0-RC1.jar
     nuxeo-core-convert-api-1.6.0-RC1.jar
     nuxeo-core-convert-1.6.0-RC1.jar
     nuxeo-platform-imaging-convert-5.3.0-RC1.jar
     nuxeo-platform-convert-5.3.0-RC1.jar
     nuxeo-core-convert-plugins-1.6.0-RC1.jar
     nuxeo-platform-api-5.3.0-RC1.jar
     nuxeo-platform-ws-5.3.0-RC1.jar
     nuxeo-platform-mimetype-core-5.3.0-RC1.jar
     nuxeo-platform-mimetype-facade-5.3.0-RC1.jar
     nuxeo-platform-5.3.0-RC1.jar
     nuxeo-platform-login-5.3.0-RC1.jar
     nuxeo-platform-login-jboss-5.3.0-RC1.jar
     nuxeo-platform-annotations-api-5.3.0-RC1.jar
     nuxeo-platform-annotations-core-5.3.0-RC1.jar
     nuxeo-platform-annotations-repository-plugin-5.3.0-RC1.jar
     nuxeo-platform-annotations-http-5.3.0-RC1.jar
     nuxeo-webengine-blogs-api-5.3.0-RC1.jar
     nuxeo-core-io-1.6.0-RC1.jar
     nuxeo-platform-forum-workflow-5.3.0-RC1.jar
     nuxeo-platform-tag-api-5.3.0-RC1.jar
     nuxeo-platform-tag-web-5.3.0-RC1.jar
     nuxeo-platform-notification-api-5.3.0-RC1.jar
     nuxeo-platform-types-api-5.3.0-RC1.jar
     nuxeo-platform-types-facade-5.3.0-RC1.jar
     nuxeo-platform-types-core-5.3.0-RC1.jar
     nuxeo-platform-lang-ext-5.3.0.jar
     nuxeo-platform-annotations-facade-5.3.0-RC1.jar
     nuxeo-platform-rendering-5.3.0-RC1.jar
     nuxeo-webengine-core-5.3.0-RC1.jar
     nuxeo-webengine-gadgets-5.3.0-RC1.jar
     nuxeo-webengine-admin-5.3.0-RC1.jar
     nuxeo-theme-webengine-5.3.0-RC1.jar
     nuxeo-theme-webwidgets-5.3.0-RC1.jar
     nuxeo-theme-webwidgets-ui-5.3.0-RC1.jar
     nuxeo-webengine-ui-5.3.0-RC1.jar
     nuxeo-webengine-resteasy-adapter-5.3.0-RC1.jar
     nuxeo-webengine-base-5.3.0-RC1.jar
     nuxeo-platform-jbpm-facade-5.3.0-RC1.jar
     nuxeo-platform-forms-layout-client-5.3.0-RC1.jar
     nuxeo-platform-placeful-api-5.3.0-RC1.jar
     nuxeo-platform-placeful-core-5.3.0-RC1.jar
     nuxeo-webengine-sites-api-5.3.0-RC1.jar
     nuxeo-platform-directory-multi-5.3.0-RC1.jar
     nuxeo-platform-publisher-api-5.3.0-RC1.jar
     nuxeo-platform-url-api-5.3.0-RC1.jar
     nuxeo-platform-url-core-5.3.0-RC1.jar
     nuxeo-platform-url-facade-5.3.0-RC1.jar
     nuxeo-platform-notification-core-5.3.0-RC1.jar
     nuxeo-platform-ui-api-5.3.0-RC1.jar
     nuxeo-platform-web-common-5.3.0-RC1.jar
     nuxeo-platform-wss-backend-5.3.0-RC1.jar
     nuxeo-platform-auth-web-jboss-5.3.0-RC1.jar
     nuxeo-platform-ui-web-5.3.0-RC1.jar
     nuxeo-platform-webapp-base-5.3.0-RC1.jar
     nuxeo-platform-imaging-tiling-5.3.0-RC1.jar
     nuxeo-platform-ui-web-compat-5.3.0-RC1.jar
     nuxeo-platform-preview-5.3.0-RC1.jar
     nuxeo-platform-comment-api-5.3.0-RC1.jar
     nuxeo-platform-comment-5.3.0-RC1.jar
     nuxeo-platform-comment-workflow-5.3.0-RC1.jar
     nuxeo-theme-editor-5.3.0-RC1.jar
     nuxeo-theme-jsf-5.3.0-RC1.jar
     nuxeo-platform-annotations-web-5.3.0-RC1.jar
     nuxeo-platform-io-api-5.3.0-RC1.jar
     nuxeo-platform-relations-io-5.3.0-RC1.jar
     nuxeo-platform-io-core-5.3.0-RC1.jar
     nuxeo-platform-io-facade-5.3.0-RC1.jar
     nuxeo-platform-mail-core-5.3.0-RC1.jar
     nuxeo-core-query-1.6.0-RC1.jar
     nuxeo-platform-search-api-5.3.0-RC1.jar
     nuxeo-platform-search-backend-core-5.3.0-RC1.jar
     nuxeo-platform-filemanager-api-5.3.0-RC1.jar
     nuxeo-platform-filemanager-facade-5.3.0-RC1.jar
     nuxeo-platform-filemanager-core-5.3.0-RC1.jar
     nuxeo-platform-imaging-core-5.3.0-RC1.jar
     nuxeo-platform-imaging-facade-5.3.0-RC1.jar
     nuxeo-platform-search-core-5.3.0-RC1.jar
     nuxeo-platform-search-facade-5.3.0-RC1.jar
     nuxeo-core-1.6.0-RC1.jar
     nuxeo-platform-scheduler-core-5.3.0-RC1.jar
     nuxeo-platform-content-template-manager-5.3.0-RC1.jar
     nuxeo-spaces-api-5.3.0-RC1.jar
     nuxeo-opensocial-container-5.3.0-RC1.jar
     nuxeo-platform-virtualnavigation-core-contrib-5.3.0-RC1.jar
     nuxeo-webengine-blogs-core-5.3.0-RC1.jar
     nuxeo-core-facade-1.6.0-RC1.jar
     nuxeo-platform-tag-core-5.3.0-RC1.jar
     nuxeo-platform-tag-facade-5.3.0-RC1.jar
     nuxeo-webengine-sites-core-contrib-5.3.0-RC1.jar
     nuxeo-platform-forum-core-5.3.0-RC1.jar
     nuxeo-platform-filemanager-core-listener-5.3.0-RC1.jar
     nuxeo-platform-dublincore-5.3.0-RC1.jar
     nuxeo-platform-relations-core-listener-5.3.0-RC1.jar
     nuxeo-platform-mail-types-5.3.0-RC1.jar
     nuxeo-platform-webapp-types-5.3.0-RC1.jar
     nuxeo-platform-uidgen-core-5.3.0-RC1.jar
     nuxeo-core-storage-sql-1.6.0-RC1.jar
     nuxeo-core-storage-sql-ra-1.6.0-RC1.rar
     nuxeo-spaces-core-5.3.0-RC1.jar
     nuxeo-platform-webapp-core-5.3.0-RC1.jar
     nuxeo-platform-syndication-5.3.0-RC1.jar
     *orange-theme-0.0.1.jar* +<------------ This one contains a theme that should be set as default, but isn't (another thread I posted)+
     nuxeo-platform-placeful-theme-5.3.0-RC1.jar
     nuxeo-platform-placeful-facade-5.3.0-RC1.jar
     nuxeo-platform-virtualnavigation-web-5.3.0-RC1.jar
     nuxeo-platform-comment-web-5.3.0-RC1.jar
     nuxeo-platform-forum-5.3.0-RC1.jar
     nuxeo-webengine-sites-5.3.0-RC1.jar
     nuxeo-webengine-blogs-5.3.0-RC1.jar
     nuxeo-spaces-web-5.3.0-RC1.jar
     nuxeo-platform-imaging-web-5.3.0-RC1.jar
     *orange-crdpp-0.0.1.jar* +<-------------- This one contains the content template contrib+
     nuxeo-platform-imaging-preview-5.3.0-RC1.jar
     nuxeo-platform-imaging-tiling-preview-5.3.0-RC1.jar
     *orange-crdpp-sync-service-0.0.1.jar* +<---- This is a restlet contrib and works ok+
     nuxeo-platform-userworkspace-web-5.3.0-RC1.jar
     nuxeo-platform-publisher-web-5.3.0-RC1.jar
     nuxeo-platform-relations-web-5.3.0-RC1.jar
     nuxeo-platform-notification-web-5.3.0-RC1.jar
     nuxeo-platform-mail-web-5.3.0-RC1.jar
     nuxeo-platform-io-client-5.3.0-RC1.jar
     nuxeo-platform-audit-api-5.3.0-RC1.jar
     nuxeo-platform-audit-client-5.3.0-RC1.jar
     nuxeo-platform-notification-facade-5.3.0-RC1.jar
     nuxeo-platform-audit-core-5.3.0-RC1.jar
     nuxeo-platform-audit-io-5.3.0-RC1.jar
     +nuxeo-platform-publisher-core-contrib-5.3.0-RC1.jar+ <--- Do I need to require these for the content template contrib?
     +nuxeo-platform-publisher-core-5.3.0-RC1.jar+
     +nuxeo-platform-publisher-jbpm-5.3.0-RC1.jar+
     nuxeo-platform-audit-facade-5.3.0-RC1.jar
     nuxeo-opensocial-dashboard-5.3.0-RC1.jar
     nuxeo.war
     default-repository-config.xml
     default-sql-directories-bundle.xml
     platform-config.xml
     nxrelations-default-jena-bundle.xml
     ooo-config.xml
     nxmail-scheduler-config.xml
     commentService-config-bundle.xml
     notification-config.xml
     fileManagerService-config-bundle.xml
     login-config.xml
     management-config.xml

Any clue about where to look would help, thanks a lot,
Jose

Edited by: jiyarza on Oct 26, 2009 1:32 PM
--
Posted by "jiyarza" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8643>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In your bundle defining your Publication Tree, you need to require nuxeo-platform-publisher-jbpm to override its contribution. In your case, the tree contributed in nuxeo-platform-publisher-jbpm overrides your own contribution.

Add the following line to the Require-Bundle section of the MANIFEST.MF file:

org.nuxeo.ecm.platform.publisher.jbpm
--
Posted by "troger" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8644>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo 5.3 - Publication tree is not currently available

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It worked finally. For it to work I also had to delete the line

<require>org.nuxeo.ecm.platform.publisher.contrib</require>

from the contrib.xml, seems I invented that one myself.

Thank you very much.
--
Posted by "jiyarza" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2943#8647>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm