Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4143525

JDK1.2Beta4-G: Unable to load third party JDBC Driver *URGENT*

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2beta4
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description


      gordon.jackson@east 1998-05-28

      This seems to be a continuation of an earlier reported problem:

      4140992 -ClassFormatError when loading the Connect JDBC driver for SQL Server

      However, this is a bit more perplexing. For starters, when I execute

      public class Reg {
      public static void main(String[] argv) throws Exception {
      Class.forName("oracle.jdbc.driver.OracleDriver");
      }
      }

      -- beta4-G works

      /js/files/JDK1.2Beta4-G/solaris/bin/java -cp .:$CLASSPATH Reg
      Warning: JIT compiler "none" not found. Will use interpreter.

      -- beta3 works

      /js/files/JDK1.2Beta3/solaris/bin/java -cp .:$CLASSPATH Reg
      Warning: JIT compiler "none" not found. Will use interpreter.

      -- beta3/verify works

      /js/files/JDK1.2Beta3/solaris/bin/java -verify -cp .:$CLASSPATH Reg
      Warning: JIT compiler "none" not found. Will use interpreter.

      (notice that the JIT is disabled - just in case...)

      However, when I run the JDBC tests/harness I get the following:

      -- beta4-G does not work
      [...snip...]
      DriverManager.getConnection("jdbc:oracle:oci7:@JDBCTEST")
      DriverManager.initialize: jdbc.drivers = oracle.jdbc.driver.OracleDriver
      DriverManager.Initialize: loading oracle.jdbc.driver.OracleDriver
      DriverManager.Initialize:
      load failed: java.lang.ClassNotFoundException: oracle/jdbc/driver/OracleDriver
      [...snip...]

      -- beta3 works

      (again, the JIT has been turned off to protect the innocent)

      The JDBC Driver in question here can be found in

      /net/jst2705.east/oracle/7.3.4/product/jdbc/lib/classes111.zip
      (oracle/jdbc/driver/OracleDriver.class)

      Alas, I do not have a simple test case, and it takes a little work to get the JDBC tests/harness running. However, if you need to run the JDBC Tests in order to reproduce this, then by all means let me know and I will be glad to assist.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                never Tom Rodriguez
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: