hi jim, On Mon, Feb 1, 2010 at 2:33 PM, Jim McCollom <[email protected]> wrote: > > Stefan, > > Thank you very much for you help; I would have never found that. Do you know > if there is a workaround or is all versioning disabled in v2.
all JCR 2.0 features are AFAIK implemented in jackrabbit-core 2.0. issue JCR-2104 is about incomplete support for new JCR 2.0 versioning features in jackrabbit-jcr2spi 2.0 (the remote jcr client). your code should work fine on the server-side (i.e. with a local repository). i assume the missing features will be supported by the remote jcr client in the next jackrabbit 2.x release. cheers stefan > > Thanks again. > > Jim McCollom > > On Feb 1, 2010 4:27 AM, "Stefan Guggisberg [via Jackrabbit]" < > [email protected]<ml-node%[email protected]>> > wrote: > > hi jim > > On Sun, Jan 31, 2010 at 12:33 AM, Jim McCollom <[hidden > email]<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1458580&i=0>> > wrote: >> >> I am trying to checkout a versioned node in a remote repository (v2.0.0) >> using both the VesionManager and the checkout() method on the node, but > keep >> getting the following exception: >> >> Exception in thread "main" java.lang.UnsupportedOperationException: >> JCR-2104: JSR 283 Versioning. Implementation missing > > you've hit an open issue, for more details please refer to: > https://issues.apache.org/jira/browse/JCR-2104 > > cheers > stefan > >> at >> > org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.checkout(RepositoryServiceImpl.java:1479) > >> at >> > org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.visit(WorkspaceManager.java:978) > >> at >> org.apache.jackrabbit.jcr2spi.operation.Checkout.accept(Checkout.java:67) >> at >> > org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.execute(WorkspaceManager.java:852) > >> at >> > org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.access$400(WorkspaceManager.java:797) > >> at >> > org.apache.jackrabbit.jcr2spi.WorkspaceManager.execute(WorkspaceManager.java:573) > >> at >> > org.apache.jackrabbit.jcr2spi.version.VersionManagerImpl.checkout(VersionManagerImpl.java:80) > >> at > org.apache.jackrabbit.jcr2spi.NodeImpl.checkout(NodeImpl.java:884) >> at >> > org.apache.jackrabbit.jcr2spi.JcrVersionManager.checkout(JcrVersionManager.java:96) > >> at > com.msmc.vgn.cron.JCRConnection.versionNode(JCRConnection.java:136) >> >> I am guessing it may be a JAR problem. I have the following jars in my >> classpath: >> >> jackrabbit-jcr-commons-2.0.0.jar >> commons-codec-1.2.jar >> commons-collections-3.2.1.jar >> commons-httpclient-3.0.jar >> commons-io-1.4.jar >> jackrabbit-api-2.0.0.jar >> jackrabbit-jcr-server-2.0.0.jar >> jackrabbit-jcr2dav-2.0.0.jar >> jackrabbit-jcr2spi-2.0.0.jar >> jackrabbit-spi-2.0.0.jar >> jackrabbit-spi-commons-2.0.0.jar >> jackrabbit-spi2dav-2.0.0.jar >> jackrabbit-webdav-2.0.0.jar >> jcl-over-slf4j-1.5.8.jar >> slf4j-api-1.5.8.jar >> slf4j-simple-1.5.8.jar >> junit-3.8.1.jar >> >> >> Thanks for your help. >> >> Jim McCollom >> -- >> View this message in context: > http://n4.nabble.com/Problem-checking-out-remote-node-tp1457735p1457735.html >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >> > > > ------------------------------ > View message @ > http://n4.nabble.com/Problem-checking-out-remote-node-tp1457735p1458580.html > To unsubscribe from Problem checking out remote node, click > here< (link removed) ==>. > > -- > View this message in context: > http://n4.nabble.com/Problem-checking-out-remote-node-tp1457735p1458792.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >
