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

ClassNotFoundException when invoking a table function stored in a jar file in the database which extends or implements one of the classes/interfaces in org.apache.derby.vti

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.8.2.2
    • None
    • SQL
    • None
    • Normal
    • Repro attached
    • Seen in production

    Description

      The class loader created by setting the derby.database.classpath does not see the Derby classes. This means that you can't use table functions which implement VTITemplate if you store those functions in a jar file in the database and then wire that jar file into the database-specific classpath. I will attach a repro. This problem was reported by Brett Berqquist in an email thread titled "Problem in trying to get a Restricted Table Function loaded".

      Attachments

        1. DummyVTI.java
          0.7 kB
          Richard N. Hillegas
        2. derby-5366.sql
          0.4 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: