OAM11gR2 : ORA-01461 Error Happens When Adding 8th or 9th User from OAM Administrative Console

(Doc ID 1952609.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

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

Symptoms

A user having administrator role are not able to be registered in OAM admin console with OAMSSA-06252, JPS-10000, EclipseLink-4002, ORA-01461 error.

In diagnostic log, the following is shown.

--snip--
[2014-09-08T18:56:18.733+09:00] [AdminServer] [ERROR] [] [oracle.oam.admin.console.generic] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 98e4c7bcaaa98eab:-53b3b260:14852a2fbd8:-8000-00000000000004da,0] [APP: oam_admin#11.1.2.0.0] [DSID: 0000KXKbdyW13jopsSCCyX1K3FQ600000M] The policy store is not available; please see the log file for more details.[[
oracle.security.am.common.policy.admin.store.PolicyStoreException: OAMSSA-06252: The policy store is not available; please see the log file for more details.
    at oracle.security.am.common.policy.util.OESUtils.checkAndThrowException(OESUtils.java:672)
    at oracle.security.am.common.policy.admin.provider.oes.OESAdminStore.modifyAdminRole(OESAdminStore.java:233)
    at oracle.security.am.common.policy.admin.impl.AdminManagerImpl.grantAdminRole(AdminManagerImpl.java:310)
    at oracle.security.am.common.policy.admin.impl.AdminManagerImpl.grantAdminRole(AdminManagerImpl.java:446)
    at oracle.security.am.view.delegate.DelegateAdminMB.addSelectedDialoglistener(DelegateAdminMB.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)

...

Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: There was an internal error in the policy store.
    at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handleDatabaseException(JpsDBDataManager.java:1731)
    at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.processJPAException(JpsDBDataManager.java:2203)
    at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectBaseQueryInDoAs(JpsDBDataManager.java:3759)
    at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectBaseQuery(JpsDBDataManager.java:3684)
    at oracle.security.jps.internal.policystore.PolicyUtil.getApplicationVersion(PolicyUtil.java:2790)
    at oracle.security.jps.internal.policystore.PolicyUtil.getApplicationVersion(PolicyUtil.java:2749)
    at oracle.security.jps.internal.policystore.entitymanager.impl.ResourceManagerImpl.getAppVersion(ResourceManagerImpl.java:3106)
    at oracle.security.jps.internal.policystore.entitymanager.impl.ResourceManagerImpl.modifyResourceEntry(ResourceManagerImpl.java:1658)
    at oracle.security.jps.internal.policystore.entitymanager.impl.ResourceManagerImpl.modifyResource(ResourceManagerImpl.java:2814)
    at oracle.security.jps.internal.policystore.entityauditmanager.ResourceAuditManager.modifyResource(ResourceAuditManager.java:231)
    at oracle.security.am.common.policy.admin.provider.oes.OESAdminStore.modifyAdminRole(OESAdminStore.java:230)
... 75 more
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-01461: can bind a LONG value only for insert into a LONG column
--End of snip--

The issue happens after already adding around eight or nine users.

Step by step for reproduction.
1.Create 9 users in LDAP server of OAM ID store.
2.Log into OAM Admin console.
3.Navigate Launch Pad > Configuration > Administration.
4.Add 9 users as System Administration.
  When you try adding 9th user, the error will happen.
  (Or you may get the error when adding 8th user)

Changes

Adding more than eight or nine users via OAM Admin console.

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