When using the Content Engine Java or .NET API, a call
to SearchScope.fetchObjects with the continuable parameter returns
an error.
Symptoms
When using the Content Engine Java or .NET API on a Content Platform Engine server
with WebLogic configured as the application server, a call to SearchScope.fetchObjects
with the continuable parameter results in an error. The error is an
E_UNEXPECTED_EXCEPTION wrapping a WebLogic exception.
Causes
When the continuable parameter value for SearchScope.fetchObjects
is Null or False, query results are not paged and every match is returned,
limited only by the value of ServerCacheConfiguration.NonPagedQueryMaxSize.
Neither the pageSize parameter (in SearchScope.fetchObjects) nor the
default page size in ServerCacheConfiguration.QueryPageDefaultSize
are used. Depending on the value of ServerCacheConfiguration.NonPagedQueryMaxSize,
the query results can exceed the WebLogic response setting for the
T3 protocol (E_UNEXPECTED_EXCEPTION wrapping a WebLogic exception).
By
default, WebLogic allows a maximum response size of 10MB.
Resolving the problem
To resolve this problem, do one of the following: