Dynamic ViewObject Attributes Throw Error "oracle.jbo.NoDefException: JBO-25058: Definition <name> Of Type Attribute Not Found In <ViewObject>" during Load Test (Doc ID 1323181.1)

Last updated on MARCH 21, 2016

Applies to:

Oracle JDeveloper - Version 10.1.3.5.0 and later
Information in this document applies to any platform.
***Checked for relevance on 22-May-2013***

Symptoms

In an application developed in JDeveloper 10.1.2.4.0, when a load test is performed, several errors regarding dynamic View Object attributes being lost are found.

Error stack is:

oracle.jbo.NoDefException: JBO-25058: Definition SITE of type Attribute not found in ViewDefImpl_12332_12333
   at oracle.jbo.server.RowImpl.findAttrAndGetIndex(RowImpl.java:100)
   at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:756)
   ...


For further test this situation in the application, you may try to force ADF to reuse the AM between different sessions, following these steps:

  1. Set the following values in your AM configuration:
    jbo.recyclethreshold = 0
    jbo.ampool.maxpoolsize = 1
    jbo.ampool.minavailablesize = 1
    jbo.ampool.maxavailablesize = 1
  2. Deploy the application
  3. Execute it from two different browsers (Say Firefox and IE, or two different computers)
  4. Test the application by performing the same steps in both browsers to ensure the reuse of the AM



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