1 Jul 2011 21:47
Error in WebDav clients using clustered WebDav server.
mmjose26 <mmjose26 <at> yahoo.com.mx>
2011-07-01 19:47:43 GMT
2011-07-01 19:47:43 GMT
Hi ! I'm trying to configure jackrabbit in a clustered environment. (following the clustered configuration guide wiki) each node has the following in a single ear: Jackrabbit deployed in OC4J as JCA, this expose the repository by JNDI and works with JTA transactions. JackRabbit WebApp, this enable the repository by WebDav to remote clients. Business App, consuming the repository by JNDI and enabling JTA transactions. I'm using spring modules for integrate jcr with Business App and with remote clients. All works fine in single node, but, in cluster, ONLY for the remote clients, I have some exceptions when I try to saving and versioning a node: it happen when I try to get the identifier of a new saved node: Node content = saveFile(resource,session);//set the properties and add node to repo String path = content.getPath(); session.save(); String id = content.getIdentifier();// this throws javax.jcr.InvalidItemStateException //'org.apache.jackrabbit.jcr2spi.NodeImpl <at> 2bace2' doesn't exist anymore. (Status = REMOVED) session.getWorkspace().getVersionManager().checkin(path); return id; if I try to obtain the saved node again, the exception change: Node content = saveFile(resource,session);//set the properties and add node to repo(Continue reading)
RSS Feed