jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Batra <robin.ba...@gmail.com>
Subject Re: Branching and workspace creation
Date Thu, 31 Dec 2009 18:22:39 GMT
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 <aklimets@day.com>wrote:

> On Thu, Dec 31, 2009 at 11:46, Robin Batra <robin.batra@gmail.com> 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


Robin Batra

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message