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

camel-jpa component misses OpenJPA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.2
    • Camel
    • None
    • % %
    • Hide

      1. build the quickstart (mvn clean install)
      2. features:install camel-jpa jpa transaction jndi
      3. osgi:install -s mvn:org.apache.derby/derby/10.10.1.1
      4. osgi:install -s mvn:org.jboss.fuse.qa/jpa-example/1.0-SNAPSHOT
      5. the quickstart worked with fuse versions with 2.14.0, but since the 2.15.0 was added, it causes above mentioned issue and stays on "GracePeriod"

      Show
      1. build the quickstart (mvn clean install) 2. features:install camel-jpa jpa transaction jndi 3. osgi:install -s mvn:org.apache.derby/derby/10.10.1.1 4. osgi:install -s mvn:org.jboss.fuse.qa/jpa-example/1.0-SNAPSHOT 5. the quickstart worked with fuse versions with 2.14.0, but since the 2.15.0 was added, it causes above mentioned issue and stays on "GracePeriod"

      The new camel-jpa 2.15.0 feature is not working OOTB, it misses the openjpa bundle, which was present in previous versions.

      The features:info camel-jpa command writes:

      JBossFuse:karaf@root> features:info camel-jpa
      Description of camel-jpa 2.15.0.redhat-620100 feature
      ----------------------------------------------------------------
      Feature has no configuration
      Feature has no configuration files
      Feature depends on:
        spring-tx [3.2,4)
        spring-jdbc [3.2,4)
        spring-orm [3.2,4)
        camel-core 2.15.0.redhat-620100
      Feature contains followed bundles:
       mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 start-level=50
       mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1 start-level=50
       mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0 start-level=50
       mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1 start-level=50
       mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 start-level=50
       mvn:commons-lang/commons-lang/2.6 start-level=50
       mvn:commons-collections/commons-collections/3.2.1 start-level=50
       mvn:commons-pool/commons-pool/1.6 start-level=50
       mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3 start-level=50
       mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_6 start-level=50
       mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1 start-level=50
       mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 start-level=50
       mvn:org.apache.xbean/xbean-asm4-shaded/3.14 start-level=50
       mvn:org.apache.camel/camel-jpa/2.15.0.redhat-620100 start-level=50
      Feature has no conditionals.
      

      In the previous builds of fuse, with camel-jpa 2.14.0. the features:info camel-jpa contained also the :

       mvn:org.apache.openjpa/openjpa/2.3.0 start-level=50
      

      Now, the quickstart I'm using writes:

      2015-04-01 10:35:44,924 | WARN  | l Console Thread | container                        | ?                                   ? | 274 - org.apache.aries.jpa.container - 1.0.2 | There are no providers available.
      2015-04-01 10:35:44,925 | WARN  | l Console Thread | container                        | ?                                   ? | 274 - org.apache.aries.jpa.container - 1.0.2 | There are no providers available.
      2015-04-01 10:35:45,749 | INFO  | l Console Thread | BlueprintContainerImpl           | ?                                   ? | 21 - org.apache.aries.blueprint.core - 1.4.2 | Bundle camel-jpa-example is waiting for dependencies [(&(&(!(org.apache.aries.jpa.proxy.factory=*))(osgi.unit.name=camel))(objectClass=javax.persistence.EntityManagerFactory))]
      2015-04-01 10:35:45,750 | WARN  | l Console Thread | container                        | ?                                   ? | 274 - org.apache.aries.jpa.container - 1.0.2 | There are no providers available.
       

            dbokde Dhiraj Bokde
            tplevko@redhat.com Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: