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

Liferay Experience Cloud で JNDI データベース接続を実装するにはどうすればよいですか?

written-by

Alfonso Crisci

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

問題

  • ポータル管理者は、従来の portal-ext.properties ファイルによる JDBC プロパティの代わりに、 Java Naming and Directory Interface (以下: JNDI) によるデータベースへの接続を必要とする場合があります。 Liferay Experience Cloud のような Docker 化された環境でこれをどのように構成できますか?

Environment

  • Liferay Experience Cloud - 自己管理型

解決策

  • Liferay Experience Cloud には、JNDI 接続を実現するための標準的なすぐに使える方法はありませんが、この技術的要件を解決する最善の方法は、 スクリプトを使用することです (V4 固有の変更 こちらも参照してください)。
  • 必要な Tomcat ファイルを編集またはオーバーライドするために、変更を実行するスクリプトを作成できます。
  • これは、Liferay サポートが限られた支援しか提供できないカスタマイズ トピックと見なされることに注意してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base