How to solve "Workspace is not initialized" error when accessing custom portal workspace throught REST service in JPP 6.0

Solution Verified - Updated -

Issue

We have created our custom portal based on gatein-sample-portal quickstart and when trying to access its workspace thought the REST interface in URL http://{host}:{port}/rest/private/jcr/repository/{workspace-name}, we have the following error message:

Workspace '{workspace-name}' not found. Probably is not initialized. If so either Initialize it manually or turn on the RepositoryInitialize

What are we doing wrong?

Environment

  • Red Hat JBoss Portal (JPP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content