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

60 秒待った後の依存関係マネージャーの同期タイムアウト

written-by

Mariano Alvaro

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

問題

  • 起動時に次の WARN が表示される場合があります。
    WARN [http-nio-8080-exec-1][DependencyManagerSyncImpl:85] Dependency manager sync timeout after waiting 60s

Environment

  • ライフレイDXP 7.2、7.3

解決策

  • DependencyManagerSyncImpl クラスが 7.2 で導入されました (LPS-102056) ComponentExecutorFactory を DM に適用して、同時アクティブ化を有効にします。
    • DependencyManagerSyncImpl 、デフォルトで、初期化タスクが完了するまで 60 秒間待機します。
    • それ以降に完了していない場合は、前述の警告が表示されます。
  • 次のアプローチに従うことができます (メッセージが常に表示され、起動時に他の時間のかかる問題が検出されない場合のみ)。
    • デフォルト時間を増やすために、次のプロパティを portal-ext.properties ファイルで構成できます: module.framework.properties.dependency.manager.sync.timeout=60
    • コンポーネント アクティベーション スレッド プールは、 portal-ext.propertiesで次のプロパティを使用して直接無効にすることができます: module.framework.properties.dependency.manager.thread.pool.enabled=false この最後のオプションは、 WARN メッセージは表示されませんが、アクティベーションは連続して行われるため、最適化されていない起動につながる可能性があります。 タイムアウトの適切な値が見つかるまで、回避策としてのみ使用してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base