Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 51140 invoked from network); 10 Apr 2006 12:33:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Apr 2006 12:33:04 -0000 Received: (qmail 80549 invoked by uid 500); 10 Apr 2006 12:33:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 80302 invoked by uid 500); 10 Apr 2006 12:33:02 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 80290 invoked by uid 99); 10 Apr 2006 12:33:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 05:33:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stefan.guggisberg@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wproxy.gmail.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 05:33:01 -0700 Received: by wproxy.gmail.com with SMTP id 58so741061wri for ; Mon, 10 Apr 2006 05:32:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E1tdDvacldboKLNWVhInADQrn18Z3ochpcZljuaiFqgXUgMV/7kS0lTHXio7WNVMmtREpa9xlCgx5Js4/vY0bu00mkBfGlxSY9hIcd+xwaKBE8jNE/QNjmedP1ARabreC4fwVGszWtqILs3Dh1pt+5FOfmQo1YgMIVYnzu168Bk= Received: by 10.64.96.6 with SMTP id t6mr1199041qbb; Mon, 10 Apr 2006 05:32:40 -0700 (PDT) Received: by 10.64.47.5 with HTTP; Mon, 10 Apr 2006 05:32:40 -0700 (PDT) Message-ID: <90a8d1c00604100532o78bc31aeibb92e6296bf03d41@mail.gmail.com> Date: Mon, 10 Apr 2006 14:32:40 +0200 From: "Stefan Guggisberg" To: dev@jackrabbit.apache.org Subject: Re: JCR-305 & Disposing of Idle Workspaces In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi miro, On 4/8/06, Miro Walker wrote: > Hi, > > > > In JCR-305, Stephan committed a change that allows workspaces to be > disposed of when idle for a preset length of time. We've been trying to > use this (as we're getting out of memory errors after publishing a few > times and ending up with 100's of workspaces), and it appears that once > a workspace is "disposed of" it cannot then be accessed again > (java.lang.IllegalStateException for the persistence manager). Is this > as intended? definitely not ;-) i quickly tested this feature using DerbyPersistenceMana= ger and everything worked as expected, i.e. idle workspaces were shut down and re-initialized on next access. the information you provided is a bit too vague. what persistence manager a= re you using? if you can reproduce this issue with a current jackrabbit build please provide a simple testcase and include your exact configuration and a full stack trace. i'll then take care of it. cheers stefan > If so, then what's the recommended way to "recreate" the > workspace if it is needed again? We're using workspaces to model > "releases" of content, so all the content that was in the workspace was > labelled with an ID, so I'm guessing it should be possible to restore > all the nodes into a new workspace by the version label - does that > sound correct? > > > > Cheers, > > > > Miro > > --- > > Miro Walker - Director - Cognifide > > tel uk: +44 20 7993 8317 > > mob uk: +44 7875 503 702 > > tel pl: +48 61 669 0004 > > fax pl: +48 61 669 0003 > > mob pl: +48 661 869 781 > > skype: miro_walker > > web: http://www.cognifide.com > > > > >