Hi,
Thanks for your response. All of that part of the architecture makes sense.
What does not make sense to me is when I query a high volume of documents from the TN database, I see erratic behavior. For example, if there is a high volume of documents, I query TN documents, try to page through the results, and then after a small number of pages, no more results are returned when there are millions of documents in the TN database. I am assuming this has to do with some memory or caching issue. From the built-in services, I do not receive any error when this happens, but from MWS, I receive this error:
9999:wm.tn.portal.queries:getQueryResults encountered execution error. Error encountered while fetching search results, page 3 requested is not found for queryId=xxxx. Contact your administrator to optimize the configuration of the TNQueryResults cache.
I have altered page size to match the tn.query.threshold value of 50, and that actually seems to be the worst page size value as it does not return any results after a small number of pages of data. If I were to set tn.query.maxrows to a finite number, I don’t believe there would be a way for me to return all the results I need without looking at timestamps and executing multiple queries.
How can I ensure that when I have large volume, I can page over the data without the cache expiring or returning no results for some reason? Also, shouldn’t there be a backup where it reaches out directly to the database if something like this occurs?
Thanks,
Aaron
#webMethods#B2B-Integration#Integration-Server-and-ESB