Interesting, I ran into a similar problem but I was using Day's CRX demo
and tomcat so I assumed either the demo had restrictions or tomcat was
having trouble handling the multi-threads.  But how do you have the
connection set up and are you certain you're closing all connections
once their finished?

-----Original Message-----
From: Anil K. Kotha [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 15, 2008 3:05 PM
To: [email protected]
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.
 

Reply via email to