Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 98482 invoked from network); 16 Jun 2010 14:19:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 14:19:49 -0000 Received: (qmail 99559 invoked by uid 500); 16 Jun 2010 14:19:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 99455 invoked by uid 500); 16 Jun 2010 14:19:48 -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 99448 invoked by uid 99); 16 Jun 2010 14:19:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 14:19:48 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 14:19:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5GEJO0V024527 for ; Wed, 16 Jun 2010 14:19:24 GMT Message-ID: <32166588.30011276697964109.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 10:19:24 -0400 (EDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-456) Can't load the jdbc driver(org.apache.derby.jdbc.EmbeddedDriver) when the derby.jar is contained in a directory having exclamation mark("!") In-Reply-To: <1431265230.1121244970081.JavaMail.jira@ajax.apache.org> 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-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879347#action_12879347 ] Knut Anders Hatlen commented on DERBY-456: ------------------------------------------ I'm able to reproduce this with Java 1.5, but not with Java 1.6 (although the bugs mentioned by Dan are still open). Since the root cause is believed to be a Java bug, and it appears to work in recent Java versions, perhaps we could close this bug as won't fix? > Can't load the jdbc driver(org.apache.derby.jdbc.EmbeddedDriver) when the derby.jar is contained in a directory having exclamation mark("!") > -------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-456 > URL: https://issues.apache.org/jira/browse/DERBY-456 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.0.2.1 > Environment: created a simple program to load the jdbc driver when "derby.jar" is contained in the directory "test!Derby". Notice the exclamation mark in the directory name. If the exclamation mark is removed from the directory name then it works fine. > I am using WinXP Pro(SP2). > Reporter: aakash agrawal > Priority: Minor > > The test program is as below: > import org.apache.derby.jdbc.EmbeddedDriver; > public class testDerby { > public static void main(String[] args) { > try { > new EmbeddedDriver(); > } catch (Exception e) { > System.out.println(e.getMessage()); > e.printStackTrace(); > } > } > } > The following exception is thrown: > XBM02.D : [0] org.apache.derby.iapi.services.stream.InfoStreams > ERROR XBM02: XBM02.D : [0] org.apache.derby.iapi.services.stream.InfoStreams > at org.apache.derby.iapi.error.StandardException.newException(StandardException.java) > at org.apache.derby.iapi.services.monitor.Monitor.missingImplementation(Monitor.java) > at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java) > at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java) > at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Monitor.java) > at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonitor.java) > at org.apache.derby.impl.services.monitor.FileMonitor.(FileMonitor.java) > at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java) > at org.apache.derby.iapi.jdbc.JDBCBoot.boot(JDBCBoot.java) > at org.apache.derby.jdbc.EmbeddedDriver.boot(EmbeddedDriver.java) > at org.apache.derby.jdbc.EmbeddedDriver.(EmbeddedDriver.java) > at testDerby.main(testDerby.java:6) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.