Derby
  1. Derby
  2. 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("!")

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 10.0.2.1
    • Fix Version/s: None
    • Component/s: JDBC
    • Labels:
      None
    • Environment:
    • Urgency:
      Normal

      Description

      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)

        Activity

        aakash agrawal created issue -
        Mike Matrigali made changes -
        Field Original Value New Value
        Component/s JDBC [ 11407 ]
        Andrew McIntyre made changes -
        Priority Blocker [ 1 ] Critical [ 2 ]
        Daniel John Debrunner made changes -
        Priority Critical [ 2 ] Minor [ 4 ]
        Mike Matrigali made changes -
        Urgency Normal
        Knut Anders Hatlen made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Kathey Marsden made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Kathey Marsden made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Gavin made changes -
        Workflow jira [ 12322194 ] Default workflow, editable Closed status [ 12801318 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            aakash agrawal
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development