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

New changes are not getting reflected If Switchyard Quickstart are modified and deployed to Fuse 6.2.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • SwitchYard
    • None
    • % %
    • Hide

      1) Build switchyard-camel-quartz-binding example.
      2) As documented in README.md file within example. Perform below steps to deploy example in Fuse 6.2.0

      features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features
      features:install switchyard-quickstart-camel-quartz-binding
      

      3) In logs, you will see

      3:33:05,001 | INFO  | camel-2_Worker-9 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 1. Service executed.
      13:33:06,001 | INFO  | camel-2_Worker-1 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 2. Service executed.
      13:33:07,002 | INFO  | camel-2_Worker-2 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 3. Service executed.
      

      4) Now modify class 'org.switchyard.quickstarts.camel.quartz.binding.GreetingServiceBean' with

      @Override
          public final void greet() {
              LOGGER.info((times++) + ". Modified Service executed.");
          }
      

      5) Build project again.
      6) Perform Deployment again. Better if we undeploy first.

      features:uninstall switchyard-quickstart-camel-quartz-binding
      features:removeurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features
      features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features
      features:install switchyard-quickstart-camel-quartz-binding
      

      7) Logs are still same, not as we modified.

      3:33:05,001 | INFO  | camel-2_Worker-9 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 1. Service executed.
      13:33:06,001 | INFO  | camel-2_Worker-1 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 2. Service executed.
      13:33:07,002 | INFO  | camel-2_Worker-2 | GreetingServiceBean              | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 3. Service executed.
      

      8) Tried even deleting the data directory but changes still donot reflect.
      9) It seems there is some other place where switchyard bundle cache is kept.

      Show
      1) Build switchyard-camel-quartz-binding example. 2) As documented in README.md file within example. Perform below steps to deploy example in Fuse 6.2.0 features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features features:install switchyard-quickstart-camel-quartz-binding 3) In logs, you will see 3:33:05,001 | INFO | camel-2_Worker-9 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 1. Service executed. 13:33:06,001 | INFO | camel-2_Worker-1 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 2. Service executed. 13:33:07,002 | INFO | camel-2_Worker-2 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 3. Service executed. 4) Now modify class 'org.switchyard.quickstarts.camel.quartz.binding.GreetingServiceBean' with @Override public final void greet() { LOGGER.info((times++) + ". Modified Service executed." ); } 5) Build project again. 6) Perform Deployment again. Better if we undeploy first. features:uninstall switchyard-quickstart-camel-quartz-binding features:removeurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-620133/xml/features features:install switchyard-quickstart-camel-quartz-binding 7) Logs are still same, not as we modified. 3:33:05,001 | INFO | camel-2_Worker-9 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 1. Service executed. 13:33:06,001 | INFO | camel-2_Worker-1 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 2. Service executed. 13:33:07,002 | INFO | camel-2_Worker-2 | GreetingServiceBean | 311 - org.switchyard.quickstarts.switchyard.camel.quartz.binding - 2.0.0.SNAPSHOT | 3. Service executed. 8) Tried even deleting the data directory but changes still donot reflect. 9) It seems there is some other place where switchyard bundle cache is kept.

    Description

      Switchyard Quickstarts provided within jboss-fuse-6.2.0.redhat-133/quickstarts/switchyard when modified and deployed to Fuse 6.2, than new/modified changes are not getting reflected.

      It displays same text as in original example.

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: