legacy-knowledge-base
公開されました Jul. 2, 2025

ステージング環境でのコンテンツ公開やLARのインポート時に、SQL Serverデータベースがロックされることがある。

written-by

Liferay Support

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

LARのインポートやステージングへのパブリッシュ時に、Liferayポータルがハングアップしたり、応答しなくなったりすることがある。 お客様の環境で使用されているデータベースが、デフォルトのトランザクション分離設定のSQL Serverである場合に発生し、 、コンテンツのサイズに関係なく発生します。

解像度

1. portal-ext.propertiesで設定します:

jdbc.default.liferay.pool.provider=dbcp
jdbc.default.defaultTransactionIsolation=READ_COMMITTED

2. クエリーを実行します:

ALTER DATABASE lportal SET ALLOW_SNAPSHOT_ISOLATION ON;
ALTER DATABASE lportal SET READ_COMMITTED_SNAPSHOT ON;
did-this-article-resolve-your-issue

legacy-knowledge-base