Kill blocking OpenOffice tasks

Description

Ocassionally, OpenOffice print and document generation tasks can fail to respond.
OpenOffice only supports a single operation at a time, so if one task doesn't complete, all other tasks block waiting for it.
At the moment, the only workaround is to:

  1. kill OpenOffice

  2. restart Tomcat

A better approach would be to start tasks asynchronously and terminate them and OpenOffice if they take too long to complete.
Terminated tasks could then be retried.
The maximum time a task is allowed to run before it is determined that it is dead would need to be configurable in the application context.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Affects versions

Priority

Major
Configure