You are viewing limited content. For full access, please sign in.

Question

Question

Too many existing operations running when searching with JRA

asked on July 15, 2020

I'm attempting to update documents utilizing JRA. I'm currently getting the following message:

 com.laserfiche.repositoryaccess.LaserficheRepositoryException: The current request could not be performed because there are too many existing operations running.

 

I'm looping through and updating document's metadata by conducting a search for the document based on field. I don't have the the ID for the documents otherwise I would find the document based on its ID and bypass the need to search. Is there a limitation on how many searches that can be completed within a given time frame? I attempted to put in a sleep thread of 3 seconds and I still have the persisting message. The message is repeated twice and then I receive the following message:

 java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key ERR0

 

0 0

Replies

replied on July 15, 2020

Are you closing your searches when you are done with them? That's usually the type of thing the server means by "existing operations".

2 0
replied on July 16, 2020

After reviewing I was only closing my result listings and was not disposing of the operation object by closing it. After I did this it worked with no issues. Thanks for the hint.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.