File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Regarding jackrabbit versionable node creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Regarding jackrabbit versionable node creation" Watch "Regarding jackrabbit versionable node creation" New topic

Regarding jackrabbit versionable node creation

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 118

I am new to jackrabbit. I successfully created a node nt:folder and to that I uploaded a document. But now when I am trying to create a versionable node in the repository, I am failing to do so. Basing on the examples I wrote the below mentioned program but it is giving me the following error I tried a lot but failed. Please help me where I am going wrong. What I have to do to create a versionable node and can post documents with versions.

Thanking you.
raaja. g

[NK: Added code tags. Please UseCodeTags]
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

I feel you will get better responses in Other Open Source forums. Moving ...

apigee, a better way to API!
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

I don't know JakRabbit at all, but you are building a tree like structure in your code. I suggest you grab a piece of paper and draw out the tree as you follow your code along, are you adding nodes in the right place? Are the children properly attached to their parents? You might be able to simulate the drawing by using some ASCII art with System.out as you navigate the nodes in your code.

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: Regarding jackrabbit versionable node creation
It's not a secret anymore!