Hi all,

A trying to create custom content app. I have copied files from app-tutorial 
and I chage some names. When I created workbench/contentViews node with all 
subnodes my App is hanging forever and eclipse console show this exception

2015-02-05 15:40:37,014 ERROR 
n.integration.contentconnector.JcrContentConnector: Failed to retrieve default 
id: rooms
javax.jcr.NoSuchWorkspaceException: rooms

Yes 'rooms' is name for my workspace.

My module descriptor contain:

<repositories>
    <repository>
      <name>magnolia</name>
      <workspaces>
        <workspace>rooms</workspace>
      </workspaces>
      <nodeTypeFile>/mgnl-nodetypes/magnolia-rooms-nodetypes.xml</nodeTypeFile>
    </repository>
  </repositories>

and magnolia-rooms-nodetypes.xml contain:

<nodeTypes
        xmlns:rep="internal"
        xmlns:nt="http://www.jcp.org/jcr/nt/1.0";
        xmlns:mix="http://www.jcp.org/jcr/mix/1.0";
        xmlns:mgnl="http://www.magnolia.info/jcr/mgnl";
        xmlns:jcr="http://www.jcp.org/jcr/1.0";>
    <!-- custom node types -->
    <nodeType name="mgnl:room" isMixin="false" hasOrderableChildNodes="true" 
primaryItemName="">
        <supertypes>
            <supertype>mgnl:content</supertype>
        </supertypes>
    </nodeType>
</nodeTypes>

I have folowed this 
http://documentation.magnolia-cms.com/display/DOCS/Workspaces.

There i can see the line  3. Register your workspace.

What does that mean, how to register my workspace?

Thanks

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=593a179a-704f-4e48-b3b9-c41c415e80e9


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to