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 14B83CA7A for ; Thu, 11 Jul 2013 10:30:12 +0000 (UTC) Received: (qmail 11183 invoked by uid 500); 11 Jul 2013 10:30:11 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 10968 invoked by uid 500); 11 Jul 2013 10:30:11 -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 10956 invoked by uid 99); 11 Jul 2013 10:30:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 10:30:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [109.169.27.190] (HELO mail.inversebit.com) (109.169.27.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 10:30:05 +0000 Received: from mx.hq.smershnet.com (host20-47-98-79.static.ehiweb.it [79.98.47.20]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.inversebit.com (Postfix) with ESMTPS id 111C912452E for ; Thu, 11 Jul 2013 11:29:44 +0100 (BST) Received: from [192.168.200.18] (unknown [192.168.200.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.hq.smershnet.com (Postfix) with ESMTPS id 6D67E61762F for ; Thu, 11 Jul 2013 12:11:57 +0200 (CEST) From: "Phill Ashworth" To: users@jackrabbit.apache.org Subject: Re: MemoryFileSystem configuration for testing Date: Thu, 11 Jul 2013 12:11:55 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: MailMate (1.6r3549) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Marek, that's what I initially assumed the message meant but = empty tags give me the same error. = (2013-07-11 12:08:47,457 [Test worker]) INFO o.a.j.core.RepositoryImpl = - initializing workspace 'default'... (2013-07-11 12:08:47,466 [Test worker]) ERROR o.a.j.core.RepositoryImpl = - Failed to initialize workspace 'default' org.apache.jackrabbit.core.config.ConfigurationException: Configured = class org.apache.jackrabbit.core.fs.mem.MemoryFileSystem does not = contain a property named path at = org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:= 208) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFile= System(RepositoryConfigurationParser.java:1164) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.config.WorkspaceConfig.getFileSystem(Workspace= Config.java:220) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Repo= sitoryImpl.java:2017) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Reposi= toryImpl.java:2002) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Repositor= yImpl.java:517) = [jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:324)= = [jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)= = [jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientR= epository.java:232) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.TransientRepository.startRepository(TransientR= epository.java:280) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.= java:376) = ~[jackrabbit-core-2.6.2.jar:2.6.2] at = org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository= =2Ejava:111) = ~[jackrabbit-jcr-commons-2.6.2.jar:na] On 11 Jul 2013, at 10:07, Marek Slama wrote: > It is exactly what error message says: MemoryFileSystem has no path > attribute. Just leave it empty like this: > class=3D"org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"> > > > Marek > > "I'm trying to set up a TransientRepository for testing with a > MemoryFileSystem but Jackrabbit keeps complaining that = > "MemoryFileSystem > does not contain a property named path". My repository.xml and full > exception are below. > I do have the path property configured so I really can't see what the > problem is, any suggestions appreciated. > > Repository repository =3D new TransientRepository(repoConfig, tempDir);= > > > Jackrabbit 1.5//EN" > "http://jackrabbit.apache.org/dtd/repository-1.5.dtd"> > > class=3D"org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"> > > > > > class=3D"org.apache.jackrabbit.core.security.simple.SimpleSecurityManag= er" > workspaceName=3D"security"> > > > class=3D"org.apache.jackrabbit.core.security.simple.SimpleAccessManager= "> > > > > class=3D"org.apache.jackrabbit.core.security.simple.SimpleLoginModule">= > > > > > > defaultWorkspace=3D"default"/> > > > class=3D"org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"> > > > class=3D"org.apache.jackrabbit.core.persistence.mem. > InMemBundlePersistenceManager"> > > > > > > class=3D"org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"> > > > class=3D"org.apache.jackrabbit.core.persistence.mem. > InMemBundlePersistenceManager"> > > > > > > > (2013-07-11 09:47:07,219 [http-listener(4)]) ERROR > o.a.j.core.RepositoryImpl - failed to start Repository: Configured = > class > org.apache.jackrabbit.core.fs.mem.MemoryFileSystem does not contain a > property named path > org.apache.jackrabbit.core.config.ConfigurationException: Configured > class org.apache.jackrabbit.core.fs.mem.MemoryFileSystem does not > contain a property named path > at > org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.jav= a: > 208) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6. > getFileSystem(RepositoryConfigurationParser.java:1164) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.config.RepositoryConfig.getFileSystem > (RepositoryConfig.java:916) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:26= 2) > [jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:58= 9) > [jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.TransientRepository$2.getRepository > (TransientRepository.java:232) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.TransientRepository.startRepository > (TransientRepository.java:280) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepositor= y. > java:376) > ~[jackrabbit-core-2.6.2.jar:2.6.2] > at > org.apache.jackrabbit.commons.AbstractRepository.login(AbstractReposito= ry. > java:111) > ~[jackrabbit-jcr-commons-2.6.2.jar:na]"