db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@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("!")
Date Wed, 16 Jun 2010 15:54:23 GMT

    [ https://issues.apache.org/jira/browse/DERBY-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879370#action_12879370
] 

Rick Hillegas commented on DERBY-456:
-------------------------------------

+1 to Knut's suggestion.

> 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.<init>(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.<clinit>(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.


Mime
View raw message