Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11067

CONNECT engine table_type=JDBC with ApacheInterface error

    XMLWordPrintable

    Details

      Description

      I have installed Apache DBCP 2 and the pooled library it requires.

      When I try to retrieve table names or column info with Wrapper=ApacheInterface everything works as it should. I can CREATE a connect table with Wrapper=ApacheInterface
      but when I try to SELECT * FROM table that was created like that I get the following error:

      Error Code: 1296. Got error 174 'Connecting: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.dbcp2.BasicDataSource rc=0' from CONNECT
      

      It is on the class path because its in the java ext folder. ApacheInterface.class is in a jar file in the ext folder also.

      Not sure if I'm doing something wrong or if its a bug of some sort?

        Attachments

          Activity

            People

            Assignee:
            bertrandop Olivier Bertrand
            Reporter:
            rdyas Robert Dyas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: