jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashok121 <ashok...@gmail.com>
Subject Re: Help regarding Jackrabbit clustering:
Date Thu, 09 Jun 2011 12:19:44 GMT
Thanks Thomas for your reply.

We are not using shared filesystem for workspace and repository. We are
having repository folder which has workspace and versioning search indexes
in each servers locally. Only the content goes to the one database, which we
believe is the right configuration. 

Also below is a snippet of the code we are using for reading and writing the


		// getting session reference
		repository = new TransientRepository();
		Session session = repository.login(new SimpleCredentials("username",


		// for writing the config
		Node node = null;
	    	String xpQuery = "/ConfigRoot"

		node = session.getRootNode().addNode(xpQuery);
		System.out.println("Adding xml:" + xml);
		session.importXML("/" + xpQuery, new ByteArrayInputStream(


		// for reading the config
		node = session.getRootNode().getNode(
		ByteArrayOutputStream baos = new ByteArrayOutputStream();
		session.exportDocumentView("/" + xpQuery, baos, true, false);



View this message in context: http://jackrabbit.510166.n4.nabble.com/Help-regarding-Jackrabbit-clustering-tp3568295p3585354.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message