"Error : SDC default length exceeds column length" : When Creating Attribute with Length Lower Than 4 Bytes (Doc ID 2080237.1)

Last updated on DECEMBER 01, 2015

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

 If you are trying to create custom attribute with length lower than 4 bytes, following error is logged in diagnostic.log

[<date>] [oim_server1] [ERROR] [] [XELLERATE.SERVER] [tid: [STUCK].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 9ce7565d7bb75f71:-67b2f33c:150c72e066e:-8000-000000000000005c,0] [APP: oim#11.1.2.0.0] [DSID: 0000L37DDej6UOu5Kb0Fye1MDlO500000A] Class/Method: tcSDC/validateLength Error : SDC default length exceeds column length
[<date>] [oim_server1] [ERROR] [] [oracle.iam.configservice.impl.handlers] [tid: [STUCK].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 9ce7565d7bb75f71:-67b2f33c:150c72e066e:-8000-000000000000005c,0] [APP: oim#11.1.2.0.0] [DSID: 0000L37DDej6UOu5Kb0Fye1MDlO500000A] An error occurred while modifying attribute CustomAttr1. Please check server logs for more information.[[
oracle.iam.configservice.exception.ConfigManagerException: Default value length cannot exceed column length
        at oracle.iam.configservice.impl.RDBMSDAO.saveSdcAndSdp(RDBMSDAO.java:799)
        at oracle.iam.configservice.impl.RDBMSDAO.updateAttribute(RDBMSDAO.java:241)
        at oracle.iam.configservice.impl.handlers.ModifyAttributeActionHandler.execute(ModifyAttributeActionHandler.java:67)
        at oracle.iam.configservice.impl.handlers.ModifyAttributeActionHandler.execute(ModifyAttributeActionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy$1.process(EventHandlerDynamicProxy.java:30)
        at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
        at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)

* It may not be appears first time but appears when modifying the attribute after creating it.

 

Changes

Create a custom attribute with length less than 4 bytes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms