Community for yuuvis® RAD

+1 vote
by (760 points)

Hi all,

In a PBM Script, I want to call this service: /rest-ws/service/organization/query

The problem is, that the organization has a lot of users and the call takes a while. After 30 seconds, I get a timeout-error. Can this time-limit be increased?

I had a look in this file: <service-manager>\config\application-prod.yml

But I think this is not the correct file as the timeout is set to 60 seconds by default.

Thank you for your help.

Regards, Mathias

1 Answer

0 votes
by (12k points)

Hello Mathias,

the (default) timeout configured for the connection to the dmsidecar-service is used within the bpm scripts. So, to change the timeout for your bpm-script you have to change the timeout for the dmssidecar-service connection. To do this, create the following file:
<dms/core-service>\standalone\configuration\install-LocalPreferences.properties

and write the following line into it (to set the timeout to 60 seconds):
com.os.ecm.messaging.LocalSidecarPreferences.SocketTimeout=60000

You can change the timeout value as you desire. The unit is milliseconds. For the change to take effect you have to restart the dms-/core-service.

Best regards
Nicolai

Related questions

+2 votes
3 answers
asked Feb 5 by Mathias Keller (760 points)
0 votes
2 answers
asked Jul 9, 2019 by dcieplik (820 points)
...