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

org.hibernate.proxy.HibernateProxy not found by org.apache.camel.camel-jpa

    Details

    • Steps to Reproduce:
      Hide

      1 - Get a jboss-fuse-6.3.0.redhat-187 server;
      2 - Enable Fabric in Fuse;
      3 - Install dependencies in local Maven reposirory (common-utils, poc-ati-model, poc-ati-nta)

      {mvn install}

      4 - Configure IP and user/password in poc-ati-nta/pom.xml (fabric8-maven-plugim), ex: <jolokiaUrl>http://admin:admin@localhost:8181/jolokia</jolokiaUrl>
      5 - Deploy poc-ati-nta in Fabric using fabric8-maven-plugin

      {mvn fabric8:deploy}

      6 - Create a container in Fabric and assign the ati-naj-nta profile.

      Show
      1 - Get a jboss-fuse-6.3.0.redhat-187 server; 2 - Enable Fabric in Fuse; 3 - Install dependencies in local Maven reposirory (common-utils, poc-ati-model, poc-ati-nta) {mvn install} 4 - Configure IP and user/password in poc-ati-nta/pom.xml (fabric8-maven-plugim), ex: <jolokiaUrl> http://admin:admin@localhost:8181/jolokia </jolokiaUrl> 5 - Deploy poc-ati-nta in Fabric using fabric8-maven-plugin {mvn fabric8:deploy} 6 - Create a container in Fabric and assign the ati-naj-nta profile.
    • Estimated Difficulty:
      High

      Description

      Ending with below exception while using camel-jpa and JPAIdempotentRepository implemetation,
      <class>org.apache.camel.processor.idempotent.jpa.MessageProcessed</class>
      ----------------------------------------------------------------------------------------------------------
      Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy not found by org.apache.camel.camel-jpa [835]
      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)[:1.8.0_111]
      ----------------------------------------------------------------------------------------------------------

      Verified that all the features(camel-jpa,jpa,hibernate,etc) are installed and included the required packages in <Import-Package> of felix plugin(javax.persistence,org.hibernate.proxy, javassist.util.proxy,*)

        Gliffy Diagrams

          Attachments

          1. fuse.log
            511 kB
          2. projects.zip
            58 kB

            Issue Links

              Activity

                People

                • Assignee:
                  grgrzybek Grzegorz Grzybek
                  Reporter:
                  rhn-support-rakulkar Rajani Kulkarni
                  Tester:
                  Tomas Turek
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: