Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22654

Fix Studio hotreload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 9.2-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Runtime

      Description

      When I hot-reload my Studio customization on my nuxeo-server-9.2-I20170629_0126-tomcat, it uninstalls my studio project instead of updating. I have to update again to get my latest customizations.

      Logs say:

      15:28:30,442 ERROR [LocalDownloadingPackage] Package tests-solen-nx-0.0.0-SNAPSHOT is already installed
      15:28:41,008 INFO  [ReloadComponent] Before undeploy bundle with name 'studio.extensions.tests-solen-nx'.
      ======================================================================
      = Component Loading Warnings:
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
      ======================================================================
      = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 752
      ======================================================================
      15:28:41,012 INFO  [ReloadComponent] Undeploy done.
      ======================================================================
      = Component Loading Warnings:
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
      ======================================================================
      = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 752
      ======================================================================
      15:28:43,869 INFO  [ReloadComponent] Flush caches
      15:28:43,874 INFO  [DBSCachingRepository] DBS cache deactivated on 'default' repository
      15:28:43,961 INFO  [ReloadComponent] Flush the JAAS cache
      15:28:48,354 INFO  [ReloadComponent] Before deploy bundle for file at '/Users/solen/Downloads/nuxeo-server-9.2-I20170629_0126-tomcat/nxserver/bundles/tests-solen-nx-master-SNAPSHOT.jar'
      ======================================================================
      = Component Loading Warnings:
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
      ======================================================================
      = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 752
      ======================================================================
      15:28:48,360 ERROR [ComponentManagerImpl] Duplicate component name: service:studio.extensions.tests-solen-nx
      15:28:48,360 INFO  [ReloadComponent] Refresh components. Strategy: unstash
      15:28:48,362 INFO  [ReloadComponent] Deploy done for bundle with name 'studio.extensions.tests-solen-nx'.
      ======================================================================
      = Component Loading Warnings:
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
        * Duplicate component name: service:studio.extensions.tests-solen-nx
      ======================================================================
      = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 751
      ======================================================================
      15:28:50,682 INFO  [ReloadComponent] Flush caches
      15:28:50,691 INFO  [ReloadComponent] Flush the JAAS cache
      15:28:50,692 INFO  [ReloadComponent] Reload runtime properties
      15:28:50,693 INFO  [ReloadComponent] about to reload for reload
      15:28:51,800 INFO  [ReloadComponent] returning from reload
      15:28:51,938 INFO  [DBSCachingRepository] DBS cache activated on 'default' repository
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sguitter Solen Guitter
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: