Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA2E7102A4 for ; Tue, 30 Jul 2013 13:54:55 +0000 (UTC) Received: (qmail 97256 invoked by uid 500); 30 Jul 2013 13:54:55 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 96865 invoked by uid 500); 30 Jul 2013 13:54:51 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Delivered-To: moderator for users@jackrabbit.apache.org Received: (qmail 79315 invoked by uid 99); 30 Jul 2013 12:53:09 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of mdurantejr@gmail.com) Date: Tue, 30 Jul 2013 05:51:42 -0700 (PDT) From: durante To: users@jackrabbit.apache.org Message-ID: <1375188702791-4659204.post@n4.nabble.com> Subject: [clustering] Jackrabbit + JBoss + Postgresql MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, looked for related topics before posting but couldn't find anything to so answer my questions, which follows.. Requirement is to deploy jackrabbit on jboss 7. In addition to that I chose to use postgres as storage, since I can't write such stuff to disk (FileSystem storage). Assuming everything's working fine for a single server, it's now time to set up a cluster environment. This is where I'm stuck. As far as I understood from documentation, each cluster node has to have their own journal database but point at a single document store database. Is it right? On my master, I have set up a postgres server with two databases: - DocumentStoreDB - JournalDB In the repository.xml file, all entries are set to look at DocumentStoreDB, except for the block, which points at JournalDB. On my node01 the repository.xml file is quite the same as the master's one, difference being the cluster block, which points at the node01 postgres instance as well as the node name. Summarising, I have a master DB to hold content generated on any node + journal DB, and each node having their own journal DB but pointing at master's content DB. Did I miss anything so far?? Problem now is that I just can't put node01 (my only node now) to work, as JBoss complains that it cannot find the specified jndi (the master DS jndi). I tried setting database url instead of jndi (connection url would be the appropriate for my case), no success though. How you guys usually implement such architecture? Thanks in advance! -- View this message in context: http://jackrabbit.510166.n4.nabble.com/clustering-Jackrabbit-JBoss-Postgresql-tp4659204.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.