Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9341

No class found exception in OSGi for org.osgi.service.jdbc.DataSourceFactory

    XMLWordPrintable

    Details

      Description

      java.lang.IllegalArgumentException: Unable to load DataSourceFactory. Will ignore DataSourceFactory registration. If you need one, ensure org.osgi.enterprise is on the classpath
      at org.postgresql.osgi.PGBundleActivator.start(PGBundleActivator.java:38)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/osgi/service/jdbc/DataSourceFactory
      at org.postgresql.osgi.PGBundleActivator.start(PGBundleActivator.java:33)
      ... 6 more
      Caused by: java.lang.ClassNotFoundException: org.osgi.service.jdbc.DataSourceFactory not found by org.postgresql.jdbc42 [65]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 7 more

      This was an exception in output.log after upgradung from 1.12.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rssntn67 Antonio Russo
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: