Specified key was too long; max key length is 1000 bytes

Solution Unverified - Updated -

Issue

For a config of JCR with MySQL , We get this error :

    ERROR [exo.jcr.component.core.JDBCWorkspaceDataContainer] (main) Error of init db org.exoplatform.services.jcr.impl.util.jdbc.DBInitializerException: Could not create db schema of DataSource: 'pc-system'. Reason: Specified key was too long; max key length is 1000 bytes; . Last command: CREATE INDEX JCR_IDX_SVALUE_STORAGE_DESC ON JCR_SVALUE(PROPERTY_ID, STORAGE_DESC)
    org.exoplatform.services.jcr.impl.util.jdbc.DBInitializerException: Could not create db schema of DataSource: 'pc-system'. Reason: Specified key was too long; max key length is 1000 bytes; . Last command: CREATE INDEX JCR_IDX_SVALUE_STORAGE_DESC ON JCR_SVALUE(PROPERTY_ID, STORAGE_DESC)

Environment

  • JBoss Enterprise Portal Platform (EPP) 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content