My Oracle Support Banner

FRM-93330 Error when Working with Forms and Multiple REALMS in OID (Doc ID 2355615.1)

Last updated on MAY 08, 2023

Applies to:

Oracle Forms - Version 12.2.1.0.0 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Forms is configured with OAM and OID as the indentity  store. Resource Access Descriptors are also store in OID.

Multiple REALMs are being used in OID to keep users organized by application.

Example:

REALM#1 --> realmDN='dc=development,dc=us,dc=oracle'

REALM#2 --> realmDN='dc=QA,dc=us,dc=oracle'

REALM#3 --> realmDN='dc=production,dc=us,dc=oracle'

When trying to run a Form application and trying to use a RAD (Resource Access Descriptor), the forms fails with the following error:

FRM-93330: Fatal authentication error: User does not have proper credentials configured.


After enabling OID traces, what is happening is that Oracle Forms is looking for the RAD being requested in the wrong REALM in OID and that is what is causing the FRM error.

 

The following log information is not quite the same issue but has same consequences as in this note:

Forms log error:

[2019-01-02T14:49:27.385-05:00] [WLS_FORMS] [NOTIFICATION] [FRM-93322] [oracle.forms.servlet] [tid: 104] [userId: <anonymous>] [ecid: <ecid string>] [APP: formsapp] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FORMS_SESSION_ID: WLS_FORMS.formsapp.1] [SRC_CLASS: oracle.forms.idstore.OIDIdentityStore] [SRC_METHOD: redirectForNewRad] unable to obtain user credentials; redirecting to Resource Access Descriptor servlet
[2019-01-02T14:50:17.995-05:00] [WLS_FORMS] [ERROR] [FRM-93366] [oracle.forms.servlet] [tid: 132] [userId: <anonymous>] [ecid: <ecid string>] [APP: formsapp] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FORMS_SESSION_ID: WLS_FORMS.formsapp.3] [SRC_CLASS: oracle.forms.idstore.OIDIdentityStore] [SRC_METHOD: createRad] error creating Forms application's Resource Access Descriptor in Oracle Internet Directory.[[
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=Extended Properties,cn=OracleContext,dc=users,dc=mpe,dc=com'

OID debugged log error:

[2019-01-04T11:09:49.199151-05:00] [OID] [TRACE:16] [] [OIDLDAPD] [host: myoidhost] [pid: 1816] [tid: 8] [ecid: <ecid string>] ServerWorker (REG):[[
BEGIN
ConnID:6593 mesgID:4 OpID:3 OpName:search ConnIP:<IP address>:0 ConnDN:orclapplicationcommonname=formsapp<string>,cn=forms,cn=products,cn=oraclecontext
INFO :gslfseADoSearch BASE = orclresourcename=prod+orclresourcetypename=OracleDB,cn=Resource Access Descriptor,orclownerguid=<guid>,cn=Extended Properties,cn=OracleContext,dc=production,dc=us,dc=oracle FILTER = (objectclass=*) #REQDATTR = 0 SCOPE = 0 REQDATTRS =
TIMELIMIT = 3600 SIZELIMIT = 0 DEREF = 3
2019-01-04T11:09:49.199151 * gslsbsSearch * BASE = "orclresourcename=prod+orclresourcetypename=oracledb,cn=resource access descriptor,orclownerguid=<guid>,cn=extended properties,cn=oraclecontext,dc=production,dc=us,dc=oracle" FILTER = "(objectclass=*)" SCOPE = 0
2019-01-04T11:09:49.199151 * INFO:gsleswrASndResult OPtime=2117 micro sec Qtime=20 micro sec DBtime=0 micro sec RESULT=32 tag=101 nentries=0
END
]]



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.