jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil K. Kotha" <An...@2xprime.com>
Subject RE: node.checkin()
Date Fri, 16 May 2008 00:59:28 GMT
I changed it but no use. it is struck at node.checkin() itself.
 
Thanks,
Anilk.

________________________________

From: Dave Brosius [mailto:dbrosius@mebigfatguy.com]
Sent: Fri 5/16/2008 4:00 AM
To: users@jackrabbit.apache.org
Cc: Anil K. Kotha
Subject: RE: node.checkin()




Not sure, but does moving session.save() down below node.checkin() change anything?



-----Original Message-----
From: "Anil K. Kotha" <Anilk@2xprime.com>
Sent: Thursday, May 15, 2008 3:04pm
To: users@jackrabbit.apache.org
Subject: node.checkin()

Hi All,
         I am using jackrabbit on Jboss server.

        I have a method which can be accessed by multiple users. In the method i have following
three statements.

          Node node  = rootNode.getNode("document");
          node.checkout();
          node.setProperty("fileName",fileINputStream);
          node.save();
          session.save();
          node.checkin();

      for a single user it is working properly. but when multiple threads are accessing the
method it struck at node.checkin() statement. It is executing all the above statements.

    how to overcome this issue?

   any suggestions welcome.

   THanks in advance.


Thanks,
Anilk.






Mime
View raw message