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

Getting ClassNotFoundException after camel route restart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: fuse-6.x-GA, fuse-7.3
    • Component/s: Camel
    • Labels:
    • Environment:

      JBoss Fuse 6.3 r9 - 6.3.0.redhat-356

    • Sprint:
      Fuse 7.3 Sprint 40 - Dev #1
    • Steps to Reproduce:
      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

      Description

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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                grgrzybek Grzegorz Grzybek
                Reporter:
                emunoz Elkin Munoz
                Tester:
                Jan Bouska
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: