legacy-knowledge-base
公開されました Sep. 10, 2025

SocketOpenOfficeConnection:114] trying to (re)connect" の警告メッセージのため、ドキュメントプレビューが生成されません。

written-by

Prarthana Jadhav

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ドキュメントとメディア]ポートレットのドキュメントに対して、プレビューが生成されない。 ログに以下のような警告メッセージが表示されます、
    INFO [liferay/document_library_pdf_processor-1][SocketOpenOfficeConnection:114] trying to (re)connect
    WARN [liferay/document_library_pdf_processor-1][BaseProcessorMessageListener:40] Unable to process file version 4409510

Environment

  • Liferay DXP 7.0、7.1、7.2

解決策

  • 警告メッセージは、LiferayがOpenOfficeとの接続を試みているが、OpenOfficeが接続を拒否していることを示します。 LibreOfficeまたはOpenOfficeを再起動すると問題が解決し、プレビューが生成されます
    • LibreOfficeまたはOpenOfficeをサーバーモードで起動するには、以下のコマンドを実行します。

      soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
      --nofirststartwizard

追加情報

  • Liferay DXPには、PDFタイプのドキュメントの自動プレビューを生成するためのPDFBoxがあらかじめバンドルされています。 より高品質なプレビューと文書変換機能を提供する3つのツールを追加インストールする必要があります: OpenOfficeまたはLibreOffice、ImageMagick、およびXugglerです。
  • Liferayでのプレビューの生成については、以下の記事をご覧ください、
did-this-article-resolve-your-issue

legacy-knowledge-base