Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-765

Error compiling odl-transportpce-inventory feature with karaf-4.4.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • ArgonSR3, PotassiumSR1
    • ArgonSR3
    • inventory
    • None

      TransportPCE Inventory module use JDBC to manage connection to a MariaDB external databse.

      ArgonSR3 brings Karaf-4.4.4 with  an evolution of the API to connect to a MariaDB.

      This evolution makes odl-transportpce-inventory feature fail at the runtime.
      2023-10-12T13:54:25,943 | ERROR | features-3-thread-1 | DbcpPooledDataSourceFactory | 386 - org.ops4j.pax.jdbc.pool.dbcp2 - 1.5.6 | Error creating pooled datasource: Error setting property databaseName:No setter in class org.mariadb.jdbc.MariaDbDataSource for property databaseName
      java.lang.IllegalArgumentException: Error setting property databaseName:No setter in class org.mariadb.jdbc.MariaDbDataSource for property databaseName
      at org.ops4j.pax.jdbc.common.BeanConfig.trySetProperty(BeanConfig.java:104) ~[?:?]
      at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:77) ~[?:?]
      at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:63) ~[?:?]

            Unassigned Unassigned
            gthouenon Gilles Thouenon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: