jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Santos" <katiasan...@gmail.com>
Subject Re: checkin problem
Date Wed, 02 Apr 2008 09:52:37 GMT
Hello,

I still have checkin problems, even with jackrabbit 1.4.2.

I´m doing the example in the wiki page:

//create versionable node
          Node n = parentNode.addNode("childNode", "nt:unstructured");
          n.addMixin("mix:versionable");
          n.setProperty("anyProperty", "Blah");
          session.save();
          Version firstVersion = n.checkin();

In the last line, when it does the checkin it sends an exception:
 javax.jcr.RepositoryException: /Outros/Documento[13]: unable to
update item.: 068f02ca-c562-4c31-b8ff-2e091a985932:
068f02ca-c562-4c31-b8ff-2e091a985932

This is the example on the jackrabbit wiki. Is it wrong?? Can someone
explain to me why it doesnt work? I really tried everything...always sends
an exception. Helppp pleeesee :)


Katia

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message