开发者

how documentum method timeout performed?

I have documentum dm_method

create dm_method object
set object_name = 'xxxxxxxxxxx',
set method_verb = 'xxx.yyy.Foo',
set method_type = 'java',
set launch_asy开发者_运维问答nc = false,
set use_method_server = true,
set run_as_server = true,
set timeout_min = 60,
set timeout_max = 600,
set timeout_default = 500

It invoked via dm_job with period 600 second. But my method can work more than 600 second (depend on size of input data, produced by users)

Whats happens whan max_timeout exceeded on dm_method implemented in java?

DFC job manager send Thread.interrupt()? DFC waits for finishing job and only log warning? I didn't find detailed description in Documentum documentation.


See Discussion on https://forums.opentext.com/forums/discussion/153860/how-documentum-method-timeout-performed

Actually, it's possible that the Java method will continue running in the JMS after timeout. However, the Content Server will already have closed the OutputStream where the method can write the response. So you will most likely see errors in the log, and also in the job object if the method was called by a job. Depending on what the method does, it might actually be able to complete whatever it needs to do.

However, you should try to set the default timeout to a value that will give your job enough time to complete cleanly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜