Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 6847 invoked from network); 4 Dec 2009 18:52:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 18:52:23 -0000 Received: (qmail 27880 invoked by uid 500); 4 Dec 2009 18:52:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 27826 invoked by uid 500); 4 Dec 2009 18:52: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 27815 invoked by uid 99); 4 Dec 2009 18:52:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:52:21 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ianboston@googlemail.com designates 74.125.78.25 as permitted sender) Received: from [74.125.78.25] (HELO ey-out-2122.google.com) (74.125.78.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:52:19 +0000 Received: by ey-out-2122.google.com with SMTP id 22so583572eye.1 for ; Fri, 04 Dec 2009 10:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=vzAimpDYEBir+VEOgeHysjcV7lDO2kD/BTo2KKtoFAw=; b=MT6/vhJq8jTYyh89HZ0TEzAq1S7RqaRDvE5Wr4St7uLkMLVjzSG3TKbuGiUKl1k7gS jlsuVdNJ3ANEjvlGdFmMK0Yr7B/js7bXsww+LZkV46a5D9WqdN2EOJ7SGgynVRAL2wX1 kzCtdJRyapwgnVgRFLQY6un4VJsw6Vv81H5JA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=CkdAM4P6FHDdPjDz9Q4K0RS2KXCDbNJM/VpH+n1ukXvHVmQ0y63qkujiBGooIiFbA/ PLZ3B+YCOLkMDNdvZ14JDbiDQos/IFsDOo4KwSPZQei2Y27tvzyaQPNIcraSBvCqDtLh AWMC3N6+3Qb3nZt8bpHzR0TubXw4Mk8DGMxDg= Received: by 10.213.102.66 with SMTP id f2mr3575477ebo.12.1259952718002; Fri, 04 Dec 2009 10:51:58 -0800 (PST) Received: from ?192.168.1.68? (78-105-202-108.zone3.bethere.co.uk [78.105.202.108]) by mx.google.com with ESMTPS id 10sm5693748eyd.29.2009.12.04.10.51.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Dec 2009 10:51:57 -0800 (PST) Sender: Ian Boston Message-Id: <9EEAC60A-AAB9-4044-8AC2-D8DF5479E5CD@tfd.co.uk> From: Ian Boston To: users@jackrabbit.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Problem with node type defs in JR1.6 Date: Fri, 4 Dec 2009 18:51:55 +0000 X-Mailer: Apple Mail (2.936) Hi, I have a modified DefaultSecurityManager (and related classes) and I am certain I have made a mistake somewhere, but on initialization I get 04.12.2009 18:40:09.020 *ERROR* [SCR Component Actor] org .apache.sling.jcr.jackrabbit.server.impl.security.standard.ACLProvider Failed to set-up minimal access control for root node of workspace default javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {internal}privileges at org .apache .jackrabbit .core .nodetype .EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:768) at org .apache .jackrabbit .core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:905) at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java: 412) at org.apache.jackrabbit.core.NodeImpl.internalSetProperty(NodeImpl.java: 1444) at org.apache.jackrabbit.core.NodeImpl.internalSetProperty(NodeImpl.java: 1423) at org .apache .jackrabbit .core .DynamicProtectedItemModifier .setProperty(DynamicProtectedItemModifier.java:118) at org .apache .sling .jcr .jackrabbit .server.impl.security.standard.ACLEditor.setPolicy(ACLEditor.java:189) at org .apache .sling .jcr .jackrabbit .server .impl.security.standard.ACLProvider.initRootACL(ACLProvider.java:356) at org .apache .sling .jcr .jackrabbit .server.impl.security.standard.ACLProvider.init(ACLProvider.java:182) at org .apache .sling .jcr .jackrabbit .server .impl.security.dynamic.DynamicACLProvider.init(DynamicACLProvider.java: 42) at org .apache .sling .jcr .jackrabbit .server .impl .security .dynamic .DynamicAccessControlProviderFactoryImpl .createProvider(DynamicAccessControlProviderFactoryImpl.java:103) at org .apache .jackrabbit .core .DynamicSecurityManager .getAccessControlProvider(DynamicSecurityManager.java:425) at org .apache .jackrabbit .core .DynamicSecurityManager.getAccessManager(DynamicSecurityManager.java: 280) at org .apache .jackrabbit.core.SessionImpl.createAccessManager(SessionImpl.java:384) at org.apache.jackrabbit.core.SessionImpl.(SessionImpl.java:302) at org.apache.jackrabbit.core.SessionImpl.(SessionImpl.java:271) at org.apache.jackrabbit.core.XASessionImpl.(XASessionImpl.java:105) Any ideas why or where I can look to debug. ? I think the main difference up to this point is a change in package name for the ACLProvider other than that its standard. My extensions only relate to the construction of permissions bitmaps. The I believe the default node types have been registered since I see the log line 04.12.2009 18:40:01.843 *INFO* [SCR Component Actor] org.apache.jackrabbit.core.nodetype.NodeTypeRegistry no custom node type definitions found Ian