Uploaded image for project: 'Pax JDBC'
  1. PAXJDBC-141

No setter in class com.ibm.db2.jcc.DB2SimpleDataSource for property url

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 1.3.5
    • Fix versions: None
    • Labels:
      None
    • Sprint:

      Description

      Using pax-jdbc-db2 data source factory to create data source in Karaf fails on this error:

      Caused by: java.lang.IllegalArgumentException: Error setting property url:No setter in class com.ibm.db2.jcc.DB2SimpleDataSource for property url
      at org.ops4j.pax.jdbc.common.BeanConfig.trySetProperty(BeanConfig.java:107) ~[?:?]
      at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:80) ~[?:?]
      at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:66) ~[?:?]
      at org.ops4j.pax.jdbc.db2.impl.DB2DataSourceFactory.create(DB2DataSourceFactory.java:72) ~[?:?]
      ... 28 more

        Attachments

          Activity

            People

            • Assignee:
              hwellmann Harald Wellmann
              Reporter:
              ondrusek.jiri Jiří Ondrušek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: