• New Ext Lib and Derby db

    By Howard Greenberg 10 years ago

    Previous Ext. Libraries had the Derby driver built in. Does this version do that? I just installed the release from today and got an error on one of my XPages that uses Derby.

    Exception

    Error while reading the relational data

    Error while loading connection derby1

    Error loading JDBC driver class
    org.apache.derby.jdbc.EmbeddedDriver. If running the server, check that
    an OSGi plugin wrapper for the corresponding JDBC driver is available on
    the server, or that the corresponding package is available in the
    WEB-INF/lib directory. If running the studio, check that the
    corresponding package is available in your client library.

    java.sql.SQLException: Cannot create JDBC driver org.apache.derby.jdbc.EmbeddedDriver

    Cannot create JDBC driver org.apache.derby.jdbc.EmbeddedDriver

    java.lang.ClassNotFoundException: Cannot find class org.apache.derby.jdbc.EmbeddedDriver in NSF

    Cannot find class org.apache.derby.jdbc.EmbeddedDriver in NSF

    thanks,

    Howard

    • By B Gleeson 10 years ago

      It was decided that we would move the Derby driver plugin into a separate OpenNTF project, coupled with the XPagesJDBC.nsf demo application. Unfortunately, we couldn't quite sync up the release of that side-project with release 7 of the ExtLib, but we hope to have the new project released on Monday 30th June. I can post a link to it once it is up.

      However, you can grab an early copy of the release before it hits OpenNTF, by going to the github repository: https://github.com/OpenNTF/XPagesRelationalSample
      The zip file is here: https://github.com/OpenNTF/XPagesRelationalSample/raw/master/XPagesRelationalSample_1.0.0_201406271423.zip

      Let us know if you have any issues

      • By Howard Greenberg 10 years ago

        Thanks, that just kind of broke something we were working on (a lesson on the relational data sources). Now we have to have students using the new Ext. Lib. go off and install the driver separately so that requires two sets of instructions…. We'll figure it out…

    • By B Gleeson 10 years ago

      The XPages RDBMS Enablement project is now live on OpenNTF, containing the derby plugin and an updated XPagesJDBC.nsf to work with the changes made in ExtLib-9.0.1_v00_07