From users-return-3237-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri May 11 08:58:17 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 62718 invoked from network); 11 May 2007 08:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2007 08:58:16 -0000 Received: (qmail 22046 invoked by uid 500); 11 May 2007 08:58:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 22024 invoked by uid 500); 11 May 2007 08:58:22 -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 Received: (qmail 22014 invoked by uid 99); 11 May 2007 08:58:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 01:58:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dominique.pfister@gmail.com designates 64.233.162.231 as permitted sender) Received: from [64.233.162.231] (HELO nz-out-0506.google.com) (64.233.162.231) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 01:58:13 -0700 Received: by nz-out-0506.google.com with SMTP id s18so1149407nze for ; Fri, 11 May 2007 01:57:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=cWFea6Z48/lY17BsNcGpBqQwRkKnFaeseqV/L99cITg9OaTMg1tM3iaGyKcD1LjSlHvsm0vOP3VLxT/MCSiqw8gFsUBXgHewd0a3vN5tNNseAOypyJvVgStmUOzGcZyNHRma+Zjk7zsLHsgf3p+NDDEItgvhYBFMyX44ZxnsZCs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qdrnGjr5my/1kIkY29/synN7VOsFyfnR/teSWmuIEWjIf9oIcLrzz0yFO07+Yyp2yacd6Hcn/8wX5vMdIC8dQm8Udzx/vFnIGlOZnq9JB3xRXmwOYZvL/Pqk8MXvIvUGBW+3/5zcCTXLSP2G//mVMo3BsE1U+TvcLG2ajEiFVfw= Received: by 10.114.93.17 with SMTP id q17mr925315wab.1178873871678; Fri, 11 May 2007 01:57:51 -0700 (PDT) Received: by 10.114.61.17 with HTTP; Fri, 11 May 2007 01:57:51 -0700 (PDT) Message-ID: <66c10f230705110157s647353e0ud46f6b3b68d4fcf5@mail.gmail.com> Date: Fri, 11 May 2007 10:57:51 +0200 From: "Dominique Pfister" Sender: dominique.pfister@gmail.com To: users@jackrabbit.apache.org Subject: Re: cluster only picking up changes on application restart In-Reply-To: <10428041.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10411053.post@talk.nabble.com> <66c10f230705100447j79191b4cme100958d7049c192@mail.gmail.com> <10412854.post@talk.nabble.com> <66c10f230705100652j483673c7j1f9b1a84c7a566@mail.gmail.com> <10414902.post@talk.nabble.com> <10428041.post@talk.nabble.com> X-Google-Sender-Auth: 385d1f3fe29eb32f X-Virus-Checked: Checked by ClamAV on apache.org Hi Dieter, this may be a wild guess, but maybe your version of jackrabbit does not contain clustering support. What version are you using? Kind regards Dominique On 5/11/07, dieter wrote: > > HI Dominique, > > I have set my logging to INFO, but to not see any of the messages you > mentioned. My application is clearly not picking up the clustering so i will > have to delve a little deeper. > > Thanks, > > Dieter > > > dieter wrote: > > > > Hi Dominique, > > > > I don't see the log files growing at all.. in fact they have not even been > > created. I am not sure why this is happening. I guess i should start here. > > I will set the logging to INFO to see if i get any further info. > > > > Dieter > > > > > > > > Dominique Pfister wrote: > >> > >> Hi Dieter, > >> > >> your configuration looks fine to me, with > >> ${jackrabbit.journal.location} being the same physical path for every > >> instance, isn't it? > >> > >> When making a change in one instance, you should see that the journal > >> file (located at ${jackrabbit.journal.location}/journal.log in your > >> setup) is growing. Can you verify that? > >> > >> In every instance that is clustered, there is a file containing the > >> latest revision number, namely ${rep.home}/revision.log. Can you > >> verify, that, after having made some change in one instance and waited > >> for some delay (at most 5 seconds), the other instance has updated its > >> revision number file (check its last modified date)? > >> > >> If that still doesn't help, I'd set the logging level to INFO. You > >> should then see some log message like the following: > >> > >> *INFO * [...] AbstractJournal: Synchronized to revision: > >> > >> in your other, passive instance after it has synchronized to the latest > >> change. > >> > >> Hope this helps > >> Dominique > >> > >> On 5/10/07, dieter wrote: > >>> > >>> Hi Dominique, > >>> > >>> Yes, i am pretty sure i have declared it properly, i basically just > >>> followed > >>> the guidelines in your wiki entry. I have it setup with a mysql database > >>> and > >>> each cluster id is unique. > >>> > >>> > >>> >>> class="org.apache.jackrabbit.core.journal.FileJournal"> > >>> > >>> >>> value="${jackrabbit.journal.location}" /> > >>> > >>> > >>> > >>> Does it mean that the clustering is not working at all, or just working > >>> partially..? > >>> > >>> Dieter > >>> > >>> > >>> Dominique Pfister wrote: > >>> > > >>> > Hi Dieter, > >>> > > >>> > what does your repository.xml configuration file look like? Did you > >>> > properly declare the element? > >>> > > >>> > Kind regards > >>> > Dominique > >>> > > >>> > On 5/10/07, dieter wrote: > >>> >> > >>> >> Hi, > >>> >> > >>> >> I have the same application running on two different web servers. > >>> When i > >>> >> add > >>> >> data to the one instance, it is not being picked up by the other > >>> instance > >>> >> until i restart the there application. > >>> >> > >>> >> Does anyone know where i have done wrong? > >>> >> -- > >>> >> View this message in context: > >>> >> > >>> http://www.nabble.com/cluster-only-picking-up-changes-on-application-restart-tf3720933.html#a10411053 > >>> >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >>> >> > >>> >> > >>> > > >>> > > >>> > >>> -- > >>> View this message in context: > >>> http://www.nabble.com/cluster-only-picking-up-changes-on-application-restart-tf3720933.html#a10412854 > >>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >>> > >>> > >> > >> > > > > > > -- > View this message in context: http://www.nabble.com/cluster-only-picking-up-changes-on-application-restart-tf3720933.html#a10428041 > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >