At server shutdown, cleanly close the Office connection before it is interrupted
--------------------------------------------------------------------------------
Key: NXP-7285
URL: https://jira.nuxeo.com/browse/NXP-7285
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Transforms / Preview
Affects Versions: 5.4.2
Reporter: Julien Carsique
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets