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

エラーの修正方法: ストアは利用できません。 呼び出し元サービスは、「dl.store.impl.enabled=true」でストア ファクトリを待機する必要があります。

written-by

Jorge Diaz

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

問題

1 つの Liferay ノードを起動すると、次のエラーがログ ファイルに書き込まれます。

  • Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true".

Liferay サーバーは「高度なファイル システム ストア」を使用しており、このプロパティを portal-ext.property に追加しています。

dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore

完全なスタック トレースは次のとおりです。

2022-12-21 11:04:49.938 ERROR [ajp-nio-0.0.0.0-8009-exec-53][PDFProcessorImpl:172] java.lang.IllegalStateException: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true".
java.lang.IllegalStateException: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true".
at com.liferay.portlet.documentlibrary.store.StoreFactory.getStore(StoreFactory.java:118)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.hasFile(DLStoreImpl.java:338)
at com.liferay.document.library.kernel.store.DLStoreUtil.hasFile(DLStoreUtil.java:379)
at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl.hasPreview(PDFProcessorImpl.java:346)
at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl.hasPreview(PDFProcessorImpl.java:339)
at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl._hasImages(PDFProcessorImpl.java:1039)
at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl.hasImages(PDFProcessorImpl.java:165)
at com.liferay.document.library.kernel.util.PDFProcessorUtil.hasImages(PDFProcessorUtil.java:111)

ドキュメント ライブラリにアクセスしようとする Liferay コンポーネントは、このエラーが原因で失敗します。

このエラーを修正するにはどうすればよいですか?

Environment

  • DXP 7.3
  • DXP 7.4

解決策

このエラーは、「高度なファイル システム ストア」のシステム設定構成がない場合に発生します。

構成がないと、高度なファイル システム ストアの osgi モジュールが読み込まれず、 ストアが使用できなくなります。 エラー。

これを解決するには、 LIFERAY_HOME/osgi/configscom.liferay.portal.store.file.system.configuration.AdvancedFileSystemStoreConfiguration.configというファイルを作成する必要があります。

このファイルの内容は、ストアが作成される document_library フォルダーを指しています。

デフォルト値は次のとおりです。

rootDir="data/document_library"

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base