Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 66754 invoked from network); 23 Jul 2007 15:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 15:25:15 -0000 Received: (qmail 20834 invoked by uid 500); 23 Jul 2007 15:25:14 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 20819 invoked by uid 500); 23 Jul 2007 15:25:14 -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 20810 invoked by uid 99); 23 Jul 2007 15:25:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 08:25:14 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.102.234.6] (HELO mailx.softwin.ro) (194.102.234.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 08:25:12 -0700 Received: from xmail.softwin.ro (xmail.softwin.ro [192.168.78.7]) by mailx.softwin.ro (8.14.0/8.13.6) with ESMTP id l6NFOoiE013512 for ; Mon, 23 Jul 2007 18:24:50 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7CD3D.9C7049E7" Subject: save problem Date: Mon, 23 Jul 2007 18:24:49 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: save problem thread-index: AcfNPISfwNjFUUmSRuqu9S02dTMViAAAIghwAAAhZxA= From: "Dumitru CIUBENCO" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7CD3D.9C7049E7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi =20 I'm using Jackrabbit 1.3, I'm trying to do some simple tests using Jackrabbit, before using in production, unfortunately I have strange problem. When I am starting my sample application I have Exception on session.save(), apparently I did exactly as is described in (First Hops with Jackrabbit) =20 Code: Workspace ws =3D session.getWorkspace(); Node root =3D session.getRootNode(); ws.getNamespaceRegistry().registerNamespace ("jwcm", "http://www.x.md/jwcm/1.0"); =20 String user =3D session.getUserID(); String name =3D session.getRepository().getDescriptor( Repository.REP_NAME_DESC); System.out.println("Logged in as " + user + " to a " + name + " repository."); =20 =20 // Store content Node hello =3D root.addNode("jwcm:hello"); = =20 Node world =3D hello.addNode("jwcm:world"); world.setProperty("message", "Hello, World!"); session.save();//EXCEPTION =20 Log: =20 Logged in as kirpi4ik to a Jackrabbit repository. [jwcm] ERROR [http-8080-Processor24] EventStateCollection.getPath(518) | Unable to resolve path for item: 6df796b3-0d72-4fcd-a9bf-2e490913b7db/{}message javax.jcr.RepositoryException: /: unable to update item.: Unable to resolve path for item: 6df796b3-0d72-4fcd-a9bf-2e490913b7db/{}message: Unable to resolve path for item: 6df796b3-0d72-4fcd-a9bf-2e490913b7db/{}message =20 Have any idea?? =20 =20 With best regards, Dumitru =20 =20 =20 =20 =20 ------_=_NextPart_001_01C7CD3D.9C7049E7--