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

コントロール パネルで Groovy スクリプトとスクリプト コンソールを無効にする方法

written-by

Brian Suh

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

問題

  • コントロール パネルの [サーバー管理] パネルで実行される Groovy スクリプトを無効にしたい

Environment

  • Liferay DXP

解決策

1. コントロール パネル > 構成 > システム設定
2 に移動します。 プラットフォーム セクションで、「モジュール コンテナー」
3 を見つけます。 バンドル ブラックリストのモジュール コンテナ設定で、ブラックリストに登録されたコンポーネントごとに 1 つのエントリを作成します (つまり、1 行に 1 つのバンドルを追加します)。 この場合、Groovy スクリプトのエントリをブラックリストに登録する必要があるため、次を追加できます:

  • com.liferay.portal.scripting.executor
  • com.liferay.portal.scripting.groovy

4. 保存
5. Liferay コンソールを確認し、Groovy および Scripting Executor バンドルが STOPPED ステータスになっていることを確認します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base