Dear Mr. Hakim, On Wed, Aug 25, 2010 at 10:42 AM, Parvez Hakim <[email protected]> wrote: > It clearly mentions that to make a node shareable we need to write > W.clone(“W”, “/A/B/C”, “/X/Y/Z”, false) > > But I get below error :- > javax.jcr.RepositoryException: default: illegal workspace (same as > current) , caused in org.apache.jackrabbit.jcr2spi.WorkspaceImpl
The SPI layer in Jackrabbit, that's used for example by the WebDAV remoting code, does not yet fully support all JCR 2.0 features like shareable nodes. See JCR-2099 [1] for the related open issue. Shareable nodes are supported when you use a local Jackrabbit instance (i.e. jackrabbit-core) or access the repository remotely through the JCR-RMI layer. [1] https://issues.apache.org/jira/browse/JCR-2099 Best regards, Jukka Zitting
