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

At server shutdown, cleanly close the Office connection before it is interrupted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.4.2
    • Fix Version/s: 9.1
    • Component/s: Preview

      Description

      At server shutdown, org.nuxeo.ecm.platform.convert.ooomanager.OOoManagerComponent.deactivate(ComponentContext) is called after the connection is interrupted.
      Because of that, the org.artofsolving.jodconverter.office.PooledOfficeManager.connectionEventListener.new OfficeConnectionEventListener()

      {...}

      .disconnected(OfficeConnectionEvent) detects the interruption and tries to reopen it:
      19:10:35,234 WARN [PooledOfficeManager] connection lost unexpectedly; attempting restart

      org.artofsolving.jodconverter.office.PooledOfficeManager.stop() should be called by OOoManagerComponent.deactivate() before the connection is lost; in order to properly close the connection, avoid the warning message and the attempt to restart.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: