yuuvis® RAD Q&A

+1 vote
by (1.9k 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

2 Answers

0 votes
by (19.6k 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

0 votes
by (5.4k points)

Hi Mathias,

with yRAD 10.0 we will introduce the new feature: HTTP-Request timeout can be configured for each request.
As before, the complete documentation can be found in server-documentation pages.

The parameter is optional and if nothing is configured, the server-timeout will be used for the request.

best regards,
Bratislav

Related questions

...