Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6014

Improve jdbc:* commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • None
    • None

    Description

      jdbc:* commands do not work well when there are multiple instances of:

      • org.osgi.service.jdbc.DataSourceFactory
      • javax.sql.DataSource

      This is caused partially by pax-jdbc itself, where:

      • pax-jdbc bundle registers DataSourceFactory for each driver class specified in /META-INF/services/java.sql.Driver of jdbc driver bundle
      • e.g., pax-jdbc-mariadb registers the same DataSourceFactory instance with different names: mariadb and mysql

      Attachments

        1. jdbc-jmx.png
          78 kB
          Grzegorz Grzybek

        Activity

          People

            ggrzybek Grzegorz Grzybek
            ggrzybek Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: