Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 98572 invoked from network); 31 Dec 2009 18:23:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Dec 2009 18:23:07 -0000 Received: (qmail 83798 invoked by uid 500); 31 Dec 2009 18:23:07 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 83724 invoked by uid 500); 31 Dec 2009 18:23:07 -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 83713 invoked by uid 99); 31 Dec 2009 18:23:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 18:23:07 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robin.batra@gmail.com designates 209.85.222.201 as permitted sender) Received: from [209.85.222.201] (HELO mail-pz0-f201.google.com) (209.85.222.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 18:23:00 +0000 Received: by pzk39 with SMTP id 39so7188998pzk.15 for ; Thu, 31 Dec 2009 10:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=EVDQURMoRTftqmPmEyFQEOYGyvWy2c3k4+i7KqywAcY=; b=JVtvJ3xdK9Vrq4Bt6mSVGU039EajpFOOoj+hUkCt9jR8cy9d8jqhIIkMyIxNRmrAoN 9MEXRhoaodMHn89zuABT4ssG1ZhPkjiEfP23k53Rx/QMLY1smdVrmSuGJEYYJSsm5A7E XzPISVRiLNNtTTv8Z+PyMh2rRDQiXPQ8vmiqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZbaQOFuQGjnz1WgH+6zIAFi6cnIeJ58XqO1e222tJaXMFZxdj9mqypBFDU+SA6f90A 47o20ZRlgzng0P9IAnDFFgtq1L5EwmAwHqImAPSL15gsQZo9QrGux3IZf29G7Ntm3aTW P56QqXjBccO6cjaUQsL8RgzvCmflHfg8d73cg= MIME-Version: 1.0 Received: by 10.115.134.25 with SMTP id l25mr12957481wan.196.1262283759995; Thu, 31 Dec 2009 10:22:39 -0800 (PST) In-Reply-To: References: <36ecc5b10912310246g6a82e374mc9c0911bfdf60679@mail.gmail.com> Date: Thu, 31 Dec 2009 23:52:39 +0530 Message-ID: <36ecc5b10912311022o4b2ad91bm9b5ca4b0efa56eb7@mail.gmail.com> Subject: Re: Branching and workspace creation From: Robin Batra To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=0016e64be8e81ec9d3047c0a5730 --0016e64be8e81ec9d3047c0a5730 Content-Type: text/plain; charset=ISO-8859-1 I am working on Windows XP and xp does support creation of folders starting with numbers. Moreover when i try to create the workspace through my code the folder is created but when the persistent manager tries to create the database table corresponding to it an exception is thrown on the server. The error code returned by DB2 corresponds to "Invalid numeric literal" (i am using DB2 as the back-end). I think this is the problem of DDL used by the persistent manager but i am not at all sure. On Thu, Dec 31, 2009 at 9:03 PM, Alexander Klimetschek wrote: > On Thu, Dec 31, 2009 at 11:46, Robin Batra wrote: > > I was trying to create a new workspace from my code. When the workspace > name > > starts with an alphabet everything works fine but if the workspace name > > starts with a digit (say 2,3 etc) i get a NoSuchWorkspaceException. Any > > comments are welcome.... > > What does the rest of the stacktrace say? I guess your operating > system doesn't support file/folder names starting with numbers, and > since there will be a folder named after the workspace under > "workspaces/" in your repository home directory (in the default > configuration), this won't work. > > Regards, > Alex > > -- > Alexander Klimetschek > alexander.klimetschek@day.com > -- Regards Robin Batra --0016e64be8e81ec9d3047c0a5730--