Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 56506 invoked from network); 15 Oct 2009 03:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 03:36:55 -0000 Received: (qmail 32677 invoked by uid 500); 15 Oct 2009 03:36:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 32559 invoked by uid 500); 15 Oct 2009 03:36:54 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 32463 invoked by uid 99); 15 Oct 2009 03:36:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 03:36:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 03:36:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F4A9234C045 for ; Wed, 14 Oct 2009 20:36:31 -0700 (PDT) Message-ID: <1026751626.1255577791309.JavaMail.jira@brutus> Date: Wed, 14 Oct 2009 20:36:31 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4381) Connection to Derby doesn't work if the path has round braket in it In-Reply-To: <1743782402.1253321776016.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765891#action_12765891 ] Dag H. Wanvik commented on DERBY-4381: -------------------------------------- Do we have any guarantees that the directory name's use of parentheses will be balanced? I was assuming we could not rely on that. I guess we could start from the end of the URL and move backwards until we hit a ')' . > Connection to Derby doesn't work if the path has round braket in it > -------------------------------------------------------------------- > > Key: DERBY-4381 > URL: https://issues.apache.org/jira/browse/DERBY-4381 > Project: Derby > Issue Type: Bug > Affects Versions: 10.5.3.0 > Environment: Windows Vista > Reporter: Shivaraju Gowda > Original Estimate: 5h > Remaining Estimate: 5h > > In 64 bit windows vista OS, if an executable is 32 bit than it is generally installed under > "C:\Program Files (x86)" folder. The brackets in the path cause problems while connecting > to any database stored in that folder(in jar format) through derby JDBC. > The effective connection string is : > jdbc:derby:jar:(C:/Program Files(86)/ClassicModels.jar)ClassicModels > This fails because the closing brackets is not escaped. > I looked into the documentation and didn't find references to escaping the brackets in the path. > I think this problem should be reproducible on all platforms. > you cannot connect to it, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.