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

リモートステージングの有効化で「アクセスが拒否されました」エラー

written-by

Javier Moral

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

問題

com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.exception.SystemException: Access denied to com.liferay.portal.kernel.service.GroupService#checkRemoteStagingGroup

環境

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

解像度

この問題は、トンネリングサーブレットが使用する サーバーアクセスポリシー の設定が正しくないために発生するものです。 トンネリングサーバーで使用されているポリシーを確認するには、次の手順を実行します:

  • コントロールパネル → システム設定 → API認証 → トンネル認証に移動します。
  • URLs Includes" フィールドで "/api/liferay/do" をクリックします。
  • 使用するサーバーアクセスポリシーは、フィールド "サービスアクセスポリシー名" で設定します。

トンネリングサーブレットが使用するサービスアクセスポリシーを確認したら、以下の手順で行います:

  • コントロールパネル → システム設定 → サービスアクセスポリシーに移動します。
  • トンネリングサーブレットの設定で使用した名前に対応するアクセスポリシーでクリックする
  • ポリシーが有効になっていることを確認する
  • 許可されたサービスの署名に、以下の値があることを確認してください:
    • "サービスクラス" → "*"
    • "メソッド名"→空欄

Selecci_n_006.png

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base