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

If installed Fuse as windows service before, it is unable to upgrade Fuse 6.2.0 to 6.2.1

    XMLWordPrintable

Details

    • % %
    • Hide

      1. unzip "jboss-fuse-pre-patched-6.2.0.redhat-143-p1.zip" to C:\
      2. uncomment "admin=admin,..." line from C:\Fuse_Home\etc\users.properties
      3. unzip "patch-management-for-fuse-620-6.2.1.redhat-107.zip" on top of C:\Fuse_Home\
      4. start fuse with command "fuse"
      5. install it as Windows service: features:install wrapper --> warpper:install, and then shutdown fuse.
      6. add "wrapper.java.additional.10=-Daether.updateCheckManager.sessionState="bypass"" to C:\Fuse_Home\etc\fuse-wrapper.conf due to link[1] reason.
      7. start this service from Dos: C:\Fuse_Home\bin>karaf-service.bat install --> net start karaf
      8. enter into Fuse: client -h localhost
      9. create fabric root, child containers then upgrade them as below:
      fabric:create --new-user admin --new-user-password admin --new-user-role Administrator --resolver manualip --manual-ip 127.0.0.1 --zookeeper-password admin --wait-for-provisioning
      (after this step executed, client will be quit, I then login again.)
      fabric:container-create-child root kei
      fabric:container-create-child root emi
      fabric:container-create-child root emp3
      fabric:container-add-profile root gateway-http
      fabric:container-stop emi emp3 kei
      fabric:version-create 1.0.1
      fabric:profile-edit --repository mvn:io.fabric8.patch/patch-features/1.2.0.redhat-621107/xml/features default 1.0.1
      fabric:profile-edit --feature patch --feature patch-core default 1.0.1
      fabric:container-upgrade 1.0.1 root
      patch:add file:///C:/jboss-fuse-full-6.2.1.redhat-107.zip
      fabric:version-create 1.1
      patch:fabric-install --username admin --password admin --upload --version 1.1 jboss-fuse-full-6.2.1.redhat-107
      fabric:container-upgrade 1.1 kei
      fabric:container-start kei
      (waite untill kei's [provision status] became "requires full restart")
      fabric:container-stop kei
      fabric:container-start kei
      ("kei"'s [provision status] still showed "stopped", log showed "FAILED SelectChannelConnector@0.0.0.0:8181: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind")
      10. the error log is attached.

      I have tried many times and combination: if I upgrade root container first, the version banner still be "6.2.0.redhat-133" and many error appeard, it seems unstable.
      BUT, everything works if I didn't install Fuse 6.2.0 as Windows service from begining.

      Please kindly let us know if this approach is supported.
      --------------------------
      [1]https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=44161&product=jboss.fuse&version=6.2.1&downloadType=patches

      Show
      1. unzip "jboss-fuse-pre-patched-6.2.0.redhat-143-p1.zip" to C:\ 2. uncomment "admin=admin,..." line from C:\Fuse_Home\etc\users.properties 3. unzip "patch-management-for-fuse-620-6.2.1.redhat-107.zip" on top of C:\Fuse_Home\ 4. start fuse with command "fuse" 5. install it as Windows service: features:install wrapper --> warpper:install, and then shutdown fuse. 6. add "wrapper.java.additional.10=-Daether.updateCheckManager.sessionState="bypass"" to C:\Fuse_Home\etc\fuse-wrapper.conf due to link [1] reason. 7. start this service from Dos: C:\Fuse_Home\bin>karaf-service.bat install --> net start karaf 8. enter into Fuse: client -h localhost 9. create fabric root, child containers then upgrade them as below: fabric:create --new-user admin --new-user-password admin --new-user-role Administrator --resolver manualip --manual-ip 127.0.0.1 --zookeeper-password admin --wait-for-provisioning (after this step executed, client will be quit, I then login again.) fabric:container-create-child root kei fabric:container-create-child root emi fabric:container-create-child root emp3 fabric:container-add-profile root gateway-http fabric:container-stop emi emp3 kei fabric:version-create 1.0.1 fabric:profile-edit --repository mvn:io.fabric8.patch/patch-features/1.2.0.redhat-621107/xml/features default 1.0.1 fabric:profile-edit --feature patch --feature patch-core default 1.0.1 fabric:container-upgrade 1.0.1 root patch:add file:///C:/jboss-fuse-full-6.2.1.redhat-107.zip fabric:version-create 1.1 patch:fabric-install --username admin --password admin --upload --version 1.1 jboss-fuse-full-6.2.1.redhat-107 fabric:container-upgrade 1.1 kei fabric:container-start kei (waite untill kei's [provision status] became "requires full restart") fabric:container-stop kei fabric:container-start kei ("kei"'s [provision status] still showed "stopped", log showed "FAILED SelectChannelConnector@0.0.0.0:8181: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind") 10. the error log is attached. I have tried many times and combination: if I upgrade root container first, the version banner still be "6.2.0.redhat-133" and many error appeard, it seems unstable. BUT, everything works if I didn't install Fuse 6.2.0 as Windows service from begining. Please kindly let us know if this approach is supported. -------------------------- [1] https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=44161&product=jboss.fuse&version=6.2.1&downloadType=patches

    Description

      If installed Fuse 6.2.0 as Windows before, it appears that upgrade to Fuse 6.2.1 is impossible.

      Attachments

        Activity

          People

            pantinor@redhat.com Paolo Antinori
            zhangxu1324_jira xu zhang (Inactive)
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: