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

Avoid OO daemon crashing the application: investigations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.2 GA
    • Fix Version/s: 5.3 RC
    • Component/s: None

      Description

      Ok, it is easily reproducible. I decommented the oooffice-config.xml line
      <!-- define OOo installation path : used only if daemon is enabled -->
      <!-- if not defined Nuxeo will try to find the path automatically -->
      <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath>

      started JBoss and went to preview tab.
      Logs:
      17:13:26,356 INFO [OOoDaemonManagerComponent] Waiting for Listener to be available ...
      17:13:27,360 INFO [OOoDaemonManagerComponent] Waiting for Listener to be available ...
      [...]
      17:14:26,606 INFO [OOoDaemonManagerComponent] Waiting for Listener to be available ...
      17:14:26,606 INFO [OOoDaemonManagerComponent] Maximum tries reached, kill Daemon thread
      17:14:48,343 INFO [OOoDaemonManagerComponent] Waiting for Listener to be available ...
      [...]
      17:15:48,517 INFO [OOoDaemonManagerComponent] Maximum tries reached, kill Daemon thread
      17:15:48,583 ERROR [PreviewRestlet] could not build preview for missing blob at files:files/0/file
      org.nuxeo.ecm.platform.preview.api.PreviewException: Converter office2html is not available
      at org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:164)
      at org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter.getFilePreviewBlobs(AbstractHtmlPreviewAdapter.java:134)
      at org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.initCachedBlob(PreviewRestlet.java:143)
      at org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.handle(PreviewRestlet.java:90)
      [...]
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.convert.api.ConverterNotAvailable. message: Converter office2html is not available
      at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:153)
      at org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:161)
      ... 41 more
      17:16:26,821 ERROR [OOoDaemonService] time-out for process attempting to connect
      17:16:26,821 ERROR [OOoDaemonService] process not ready : Worker-0(0 uses)
      17:17:48,663 ERROR [OOoDaemonService] time-out for process attempting to connect
      17:17:48,663 ERROR [OOoDaemonService] process not ready : Worker-0(0 uses)
      17:17:48,725 ERROR [OOoDaemonService] #ADMIN# com.sun.star.connection.ConnectionSetupException: java.net.BindException: Address already in use
      17:17:48,726 ERROR [OOoDaemonService] #ADMIN# com.sun.star.connection.ConnectionSetupException: java.net.BindException: Address already in use
      17:17:48,726 ERROR [OOoDaemonService] #ADMIN# com.sun.star.connection.ConnectionSetupException: java.net.BindException: Address already in use
      17:17:48,726 ERROR [OOoDaemonService] #ADMIN# com.sun.star.connection.ConnectionSetupException: java.net.BindException: Address already in use

      and the server is unstoppable to log this message.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 1 hour Original Estimate - 1 day, 1 hour
                1d 1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours
                2d 2h