Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-415

sysinfo with -cp client option should not print error saying DB2 jar file and driver class are missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.1.0
    • 10.3.1.4
    • Tools
    • None
    • Release Note Needed

    Description

      If you run
      java org.apache.derby.tools.sysinfo -cp client SimpleApp.class

      you get

      FOUND IN CLASS PATH:

      Derby Client libraries (derbyclient.jar)

      user-specified class (SimpleApp)

      NOT FOUND IN CLASS PATH:

      Derby Client libraries (db2jcc.jar)
      (com.ibm.db2.jcc.DB2Driver not found.)

      The "NOT FOUND IN CLASSPATH" output is confusing and invalid because we're testing the network client, not the DB2 JCC client.

      Attachments

        1. derby-415.diff
          3 kB
          Bryan Pendleton
        2. derby-415-cp-db2driver.diff
          3 kB
          Bryan Pendleton
        3. releaseNote.html
          2 kB
          Richard N. Hillegas

        Activity

          People

            bryanpendleton Bryan Pendleton
            davidvc David Van Couvering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: