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

Getting ClassNotFoundException after camel route restart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.3, fuse-6.x-GA
    • jboss-fuse-6.3
    • Camel
    • % %
    • Hide

      1. Do a "mvn clean install" of the attach project named "test".
      2. Unzip jboss-fuse-karaf-6.3.0.redhat-356.zip rollup file.
      3. Edit etc/user.properties file and uncomment the last line.
      4. Place the "com.example.test.cfg" file in the etc folder
      5. Run the script bin/fuse.
      6. Install the "camel-http" feature.
      5. Add the following features url:

      > features:addurl mvn:com.example/test-features/1.0.0-SNAPSHOT/xml/features
      

      6. Install the "test" feature, it will start the testTimerRoute camel route fine and Log will show a XSLT transformation.
      8. Execute the following command in the karaf console:

      > camel:route-stop testTimerRoute
      

      9. Now is where the issue comes, execute the following command:

      > camel:route-start testTimerRoute
      

      10. Check logs, should be the following exception:

      java.lang.ClassNotFoundException: com/example/test/XSLUtil
      
      Show
      1. Do a "mvn clean install" of the attach project named "test". 2. Unzip jboss-fuse-karaf-6.3.0.redhat-356.zip rollup file. 3. Edit etc/user.properties file and uncomment the last line. 4. Place the "com.example.test.cfg" file in the etc folder 5. Run the script bin/fuse. 6. Install the "camel-http" feature. 5. Add the following features url: > features:addurl mvn:com.example/test-features/1.0.0-SNAPSHOT/xml/features 6. Install the "test" feature, it will start the testTimerRoute camel route fine and Log will show a XSLT transformation. 8. Execute the following command in the karaf console: > camel:route-stop testTimerRoute 9. Now is where the issue comes, execute the following command: > camel:route-start testTimerRoute 10. Check logs, should be the following exception: java.lang.ClassNotFoundException: com/example/test/XSLUtil
    • Fuse 7.3 Sprint 40 - Dev #1

    Description

      After a camel route restart, log shows a java.lang.ClassNotFoundException. Please follow the steps to reproduce in order to get it.

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            emunoz@redhat.com Elkin Dario Munoz Duarte
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: