Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5010

Quartz2 component uses bad version of c3p0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Camel
    • None
    • % %
    • 6.3 Sprint 2 (1-Feb - 26-Feb)

      I think that the following commit broke camel-quatyz2 component:
      https://github.com/jboss-fuse/camel/commit/d1c7f65079ef94fd27a735d9c02e38920975dfa6

      It upgraded version of c3p0 from 0.9.1.2 to 0.9.5.1. But with the newer oen version I am getting exception:

      JBossFuse:karaf@root> Exception in thread "SpringOsgiExtenderThread-2" java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector
      	at org.quartz.utils.PoolingConnectionProvider.initialize(PoolingConnectionProvider.java:210)
      	at org.quartz.utils.PoolingConnectionProvider.<init>(PoolingConnectionProvider.java:155)
      	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1014)
      ....
      Caused by: java.lang.ClassNotFoundException: com.mchange.v2.ser.Indirector not found by wrap_mvn_com.mchange_c3p0_0.9.5.1 [294]
      	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:358)
      	... 42 more
      

      Currently we use quartz 2.2.1 and you can check that it uses c3p0 version 0.9.1.1.
      https://fisheye.terracotta.org/browse/Quartz/tags/quartz-2.2.1/pom.xml?r=2388#to70

            acosenti Andrea Cosentino
            mbasovni Martin Basovnik (Inactive)
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: