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 3D010D228 for ; Fri, 12 Oct 2012 09:22:49 +0000 (UTC) Received: (qmail 2817 invoked by uid 500); 12 Oct 2012 09:22:48 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 2275 invoked by uid 500); 12 Oct 2012 09:22:40 -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 2206 invoked by uid 99); 12 Oct 2012 09:22:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 09:22:37 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of bagate.nutan@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 09:22:31 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TMbRZ-0006sr-VA for users@jackrabbit.apache.org; Fri, 12 Oct 2012 02:22:10 -0700 Date: Fri, 12 Oct 2012 02:22:09 -0700 (PDT) From: nutan To: users@jackrabbit.apache.org Message-ID: <1350033729584-4656779.post@n4.nabble.com> In-Reply-To: <1349946535138-4656758.post@n4.nabble.com> References: <1349946535138-4656758.post@n4.nabble.com> Subject: Re: Exception whie working with jackrabbit repository MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for reply.I have created repository by the following code,when I executed the following code repository folder and repository.xml file created in the project itself. Repository r = new TransientRepository(); Session session = r.login(new SimpleCredentials("userid", "".toCharArray())); RemoteAdapterFactory factory = new ServerAdapterFactory(); RemoteRepository remote = factory.getRemoteRepository(r); Workspace ws = session.getWorkspace(); Node rn = session.getRootNode(); ws.getNamespaceRegistry().registerNamespace ("FH-admin", "http://www.barik.net/FH-admin/1.0"); Can u ple tell me what is the meaning of this line ("FH-admin", "http://www.barik.net/FH-admin/1.0"). As u suggest, i tried to create new repository with new database but it doesn't work.I think it still it using the old one repository.Please tell me the solution for this issue. -- View this message in context: http://jackrabbit.510166.n4.nabble.com/Exception-whie-working-with-jackrabbit-repository-tp4656751p4656779.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.