Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 5787 invoked from network); 20 Aug 2008 16:07:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 16:07:04 -0000 Received: (qmail 11880 invoked by uid 500); 20 Aug 2008 16:06:54 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 11865 invoked by uid 500); 20 Aug 2008 16:06:54 -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 11849 invoked by uid 99); 20 Aug 2008 16:06:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 09:06:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.e.harris@gmail.com designates 209.85.134.188 as permitted sender) Received: from [209.85.134.188] (HELO mu-out-0910.google.com) (209.85.134.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 16:05:58 +0000 Received: by mu-out-0910.google.com with SMTP id w8so695196mue.1 for ; Wed, 20 Aug 2008 09:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=SUyDDrVYEm4TVJDyvTLPfgRYrWTDN9Opr5VHKgzH8ho=; b=P0RKXwxp3RDbYdPE93IHpC5AcMgraPmcEtWPooFRD/H88eXmWAY2ww/T0eJkMKEWKC bt1N27uKOmu9x8pgJL6uFm+Sp93WotNyy/0XNMVnhZ1Sq9UqcrhpdZFkD9yqwAsTNelr SgyDLt89+JPG2O0y/90K8Id885zfP1xfoJSM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kODJNtwfGR/qwnFwmV4BKv5zDDGkqz2XRIhDClQ6QddmE8YSzCl4W3+Yys5nvVu3db 7DjuYedsuWwKQumLWFBzjrZ3csxw/ay41dskRN9yMHufqNMmZn5mQWZSednw2jC64jB6 +cNAd10K06eXAAFdWtRqQyWnS743Om3jY+QWU= Received: by 10.103.217.7 with SMTP id u7mr208341muq.102.1219248369582; Wed, 20 Aug 2008 09:06:09 -0700 (PDT) Received: by 10.103.223.16 with HTTP; Wed, 20 Aug 2008 09:06:09 -0700 (PDT) Message-ID: <82670ba40808200906v61f18b4bpe8209266f9558417@mail.gmail.com> Date: Wed, 20 Aug 2008 12:06:09 -0400 From: "Michael Harris" To: users@jackrabbit.apache.org Subject: registering a namespace MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41556_15343296.1219248369596" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_41556_15343296.1219248369596 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline if the project is called proj I have a proj.cnd file [ns:file] > nt:file - lockHolder (STRING) - lockToken (STRING) In my spring config for the jcrsessionfactory config http://whereIwork.org/proj I get a NoSuchNodeTypeException I see in my test output registering namespace [http://whereIwork.org/proj] under [proj] In my test I try Node fileNode = parentFolder.addNode(name, "proj:file"); what am i missing? Do I change the "ns" to "proj" in my .cnd file? thanx in advance -- --------------------- Michael Harris ------=_Part_41556_15343296.1219248369596--