jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dragisa Krsmanovic" <dkrsmano...@plos.org>
Subject How to register node type from client in JR 2.0
Date Fri, 19 Mar 2010 22:08:54 GMT
I tried both jcr2dav and jcr-rmi and both trow exceptions.

With jcr2dav i get:

Exception in thread "main" java.lang.UnsupportedOperationException:
JCR-2003. Implementation missing
	at
org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.registerNodeTypes(RepositoryServiceImpl.java:2165)
	at org.apache.jackrabbit.jcr2spi.WorkspaceManager
$1.registerNodeTypes(WorkspaceManager.java:487)
	at
org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeCache.registerNodeTypes(NodeTypeCache.java:150)
	at org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeCache
$1.registerNodeTypes(NodeTypeCache.java:178)
	at
org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeRegistryImpl.registerNodeTypes(NodeTypeRegistryImpl.java:180)
	at
org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:388)
	at
org.apache.jackrabbit.spi.commons.nodetype.AbstractNodeTypeManager.registerNodeType(AbstractNodeTypeManager.java:117)

With jcr-rmi i get:

Exception in thread "main"
javax.jcr.UnsupportedRepositoryOperationException: TODO: JCRRMI-26
	at
org.apache.jackrabbit.rmi.client.ClientNodeTypeManager.createNodeTypeTemplate(ClientNodeTypeManager.java:104)


How do I register new node type ? 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is confidential to the intended recipient. If you have received it in error, please
notify the sender and delete it from your
system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions
presented are solely those of the sender and do
not necessarily represent those of Public Library of Science unless otherwise specifically
stated. Please note that neither Public Library
of Science nor any of its agents accept any responsibility for any viruses that may be contained
in this e-mail or its attachments and it
is your responsibility to scan the e-mail and attachments (if any).

Mime
View raw message