Legacy Knowledge Base
Published Sep. 10, 2025

Resolving 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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When starting a Liferay instance connected to an Oracle Database, the following error is encountered and Liferay does not start :

    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]

Environment

  • DXP 7.4

Resolution

  • Set the following value in your portal-ext.properties file: 
    database.string.index.max.length[oracle]=1000 

Additional Information

NOTE: Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these principles will be at your team's discretion.

Did this article resolve your issue ?

Legacy Knowledge Base