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

ORA-01450の解決

written-by

Neil Cuzon

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

問題

  • Oracle Databaseに接続されたLiferayインスタンスを起動すると、次のエラーが発生し、Liferayが起動しません:

    Caused by: com.liferay.portal.kernel.log.LogSanitizerException: Error : 1450, Positi

    on : 28, Sql = create index IX_8DE7A0B5 on CPAttachmentFileEntry (classNameId, class

    PK, cdnURL, ctCollectionId), OriginalSql = create index IX_8DE7A0B5 on CPAttachmentF

    ileEntry (classNameId, classPK, cdnURL, ctCollectionId), Error Msg = ORA-01450: maxi

    mum key length (3117) exceeded_ [Sanitized]

  • Caused by: com.liferay.portal.kernel.log.LogSanitizerException: (...) Error Msg = ORA-01450: maxi

    mum key length (3117) exceeded_ [Sanitized]

環境

  • DXP 7.4

解像度

  • portal-ext.propertiesファイルに以下の値を設定します:
    database.string.index.max.length[oracle]=1000 

追加情報

:Liferayサポートは特定のサードパーティ製品を推奨するものではありません。 Liferayが作成したものではない製品について提供された情報は、あくまで参考のためのものであり、これらの原則を実行するかどうかは、あなたのチームの裁量に委ねられます。

did-this-article-resolve-your-issue

legacy-knowledge-base