Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Regarding jackrabbit versionable node creation" Watch "Regarding jackrabbit versionable node creation" New topic
Author

Regarding jackrabbit versionable node creation

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 108
Hi,

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
Bartender

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
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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: http://aspose.com/file-tools
 
subject: Regarding jackrabbit versionable node creation
 
Similar Threads
OracleDS not Bound in JBOSS
The RMI API isn't finding my classes?
Problem with this example
Help regarding how to check the element entered is equal or not in xml file
Overwriting a specific XML section